[Open-FCoE] Dump seen on target when initiater is enabled

Mithlesh mithlesh at linsyssoft.com
Wed Apr 2 12:54:33 UTC 2008


hi all,

When i do fcconf eth<X> enable on initiator i see the following dump on 
console:

fc_local_port_recv_flogi_req: FLOGI from port WWPN 20000007e90acfce
[2835]: scst: scst_parse_cmd:541:***ERROR*** Expected data direction 0 for 
opcode 0x12 (handler dev_disk, target openfct) doesn't match decoded value 2
Failed CDB:
 (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F
   0: 12 00 00 00 24 00   ....$.
[root at oort ~]#

On the initiator side the fcconf shows following output:

[root at hogwarts ~]# fcconf target
eth0 target ports:
FC ID     WWPN                     State      Role
010102    20:00:00:07:e9:0b:48:65  Online     FCP Target
[root at hogwarts ~]# fcconf eth0
Name          WWPN                      FC-ID   FC         Network
eth0          20:00:00:07:e9:0a:cf:ce    10101  Online     UP
[root at hogwarts ~]# 

But inspite of this i cant see the disks which are exported on target on 
initiator.

For reference the full SCST part of my log file is :

[2819]: scst_suspend_activity:433:suspend_count 0
[2819]: scst_suspend_activity:443:Waiting for 0 active commands to complete
[2819]: scst_suspend_activity:445:wait_event() returned
[2819]: scst_suspend_activity:451:Waiting for 0 active commands finally to 
complete
[2819]: scst_suspend_activity:453:wait_event() returned
[2819]: scst_resume_activity:471:suspend_count 0 left
[2819]: scst: scst_register_device:547:Attached SCSI target mid-level at scsi0, 
channel 0, id 0, lun 0, type 0
[2823]: scst: scst_cmd_thread:3256:Processing thread started, PID 2823
[2824]: scst: scst_cmd_thread:3256:Processing thread started, PID 2824
[2825]: scst: scst_init_cmd_thread:3037:Init thread started, PID 2825
[2826]: scst: scst_mgmt_cmd_thread:4513:Task management thread started, PID 
2826
[2827]: scst: scst_mgmt_thread:5034:Management thread started, PID 2827
[2819]: scst: init_scst:1653:SCST version 0.9.6-rc1 loaded successfully (max 
mem for commands 109 Mb)
[2819]: scst: scst_print_config:1473:Enabled features: EXTRACHECKS, DEBUG
[2819]: scst: __scst_register_target_template:240:Target template openfct 
registered successfully
[2838]: scst_suspend_activity:433:suspend_count 0
[2838]: scst_suspend_activity:443:Waiting for 0 active commands to complete
[2838]: scst_suspend_activity:445:wait_event() returned
[2838]: scst_suspend_activity:451:Waiting for 0 active commands finally to 
complete
[2838]: scst_suspend_activity:453:wait_event() returned
[2838]: scst: scst_obtain_device_parameters:2369:Device 0:0:0:0: TST 0, QUEUE 
ALG 0, SWP 0, TAS 0, has_own_order_mgmt 1
[2838]: scst_resume_activity:471:suspend_count 0 left
[2838]: scst: __scst_register_dev_driver:831:Device handler "dev_disk" for type 
0 registered successfully
[2838]: scst_suspend_activity:433:suspend_count 0
[2838]: scst_suspend_activity:443:Waiting for 0 active commands to complete
[2838]: scst_suspend_activity:445:wait_event() returned
[2838]: scst_suspend_activity:451:Waiting for 0 active commands finally to 
complete
[2838]: scst_suspend_activity:453:wait_event() returned
[2838]: scst_resume_activity:471:suspend_count 0 left
[2838]: scst: __scst_register_dev_driver:831:Device handler "dev_disk_perf" for 
type 0 registered successfully
[2818]: scst_suspend_activity:433:suspend_count 0
[2818]: scst_suspend_activity:443:Waiting for 0 active commands to complete
[2818]: scst_suspend_activity:445:wait_event() returned
[2818]: scst_suspend_activity:451:Waiting for 0 active commands finally to 
complete
[2818]: scst_suspend_activity:453:wait_event() returned
[2818]: scst: scst_acg_add_dev:730:Added device 0:0:0:0 to group Default (LUN 
0, rd_only 0)
[2818]: scst_resume_activity:471:suspend_count 0 left
device eth0 entered promiscuous mode
audit(1207137823.230:3): dev=eth0 prom=256 old_prom=0 auid=4294967295
 mtu 1478
fc_local_port_flogi_resp: point-to-point mode
[2834]: scst_suspend_activity:433:suspend_count 0
[2834]: scst_suspend_activity:443:Waiting for 0 active commands to complete
[2834]: scst_suspend_activity:445:wait_event() returned
[2834]: scst_suspend_activity:451:Waiting for 0 active commands finally to 
complete
[2834]: scst_suspend_activity:453:wait_event() returned
[2834]: scst_resume_activity:471:suspend_count 0 left
[2834]: scst: scst_register:350:Target <NULL> (d83ecc40) for template openfct 
registered successfully
[2827]: scst: scst_init_session:4803:Using security group "Default" for 
initiator "20000007e90acfce"
[2827]: scst_init_session:4806:Assigning session d961fda0 to acg Default
[2827]: scst_alloc_add_tgt_dev:456:host=0, channel=0, id=0, lun=0, SCST lun=0
[2827]: scst_alloc_set_UA:2565:Adding new UA to tgt_dev d8296e30
[2834]: scst: scst_parse_cmd:541:***ERROR*** Expected data direction 0 for 
opcode 0x12 (handler dev_disk, target openfct) doesn't match decoded value 2
Failed CDB:
 (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F
   0: 12 00 00 00 24 00   ....$.


Is this some problem with the SCST or the target side code of FCoE ?

Regards,
Mithlesh Thukral



More information about the devel mailing list