Can Anybody help me ?
Thanks!!
/*****************
Target
******************/
f0s4:~ # uname -r
2.6.23
f0s4:~ # modprobe fcoe
f0s4:~ # modprobe openfctgt
f0s4:~ # modprobe scst
f0s4:~ # modprobe scst_disk
f0s4:~ # lsscsi
[2:0:0:0] disk SEAGATE ST973402SS S229 -
[2:0:1:0] disk SEAGATE ST973402SS S229 -
[2:1:0:0] disk LSILOGIC Logical Volume 3000 -
f0s4:~ # echo "assign 2:0:1:0 dev_disk" > /proc/scsi_tgt/scsi_tgt
f0s4:~ # echo "add 2:0:1:0 0" > /proc/scsi_tgt/groups/Default/devices
f0s4:~ # scstadmin -WriteConfig /etc/scst.conf
Collecting current configuration.. done.
Writing current configuration to file '/etc/scst.conf'.. WARNING:
handlerDevices(): Failed to open handler IO
/proc/scsi_tgt/dev_disk/dev_disk, assuming disabled.
WARNING: handlerDevices(): Failed to open handler IO
/proc/scsi_tgt/dev_disk_perf/dev_disk_perf, assuming disabled.
done
All done.
f0s4:~ # ifconfig eth6 192.168.100.189 mtu 2500
f0s4:~ # ethtool -A eth6 autoneg on rx on tx on
autoneg unmodified, ignoring
rx unmodified, ignoring
tx unmodified, ignoring
no pause parameters changed, aborting
f0s4:~ # ethtool -a eth6
Pause parameters for eth6:
Autonegotiate: on
RX: on
TX: on
f0s4:~ # fcconf eth6 enable
fcconf: device file /dev/openfc does not exist- check udev and rules
/************
Initiator
************/
f0s1:~ # uname -r
2.6.26-rc2
f0s1:~ # fcconf eth6 enable
fcconf: fcc_fcoe_config: FCoE create of eth6 failed
fcconf: fcc_fcoe_config: error 1 File exists
fcconf: fcc_fcoe_config: exiting at fcc_fcoe.c:142
dmesg:
openfc_ioctl_init Control device /dev/ofc major number 252
device eth6 entered promiscuous mode
scsi1 : openfc Driver
sysfs: duplicate filename 'state' can not be created
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0x94/0xa0()
Modules linked in: fcoe openfc scsi_transport_fc ipmi_watchdog ipmi_devintf
ipmi_msghandler usbserial parport_pc lp parport speedstep_lib thermal
processor fan thermal_sys button battery ac ipv6 af_packet i2c_i801 i2c_core
rng_core tg3 usbhid e1000 mptctl usb_storage ext3 jbd dm_mod mptsas
scsi_transport_sas reiserfs mptscsih mptbase sd_mod scsi_mod [last unloaded:
microcode]
Pid: 9317, comm: fcconf Not tainted 2.6.26-rc2 #2
[<c012c1ef>] warn_on_slowpath+0x5f/0xa0
[<c0125eb6>] __wake_up_common+0x46/0x80
[<c0125f2e>] __wake_up+0x3e/0x60
[<c012cf7b>] wake_up_klogd+0x3b/0x40
[<c023be14>] idr_get_empty_slot+0x94/0x120
[<c023c57f>] ida_get_new_above+0x3f/0x1a0
[<c01c8c20>] sysfs_ilookup_test+0x0/0x10
[<c01c8c20>] sysfs_ilookup_test+0x0/0x10
[<c0194b21>] ifind+0x31/0xa0
[<c01c8d74>] sysfs_add_one+0x94/0xa0
[<c01c840b>] sysfs_add_file_mode+0x4b/0x80
[<c01c8450>] sysfs_add_file+0x10/0x20
[<c02aa13e>] device_create_file+0xe/0x20
[<f88657b0>] scsi_sysfs_add_host+0x30/0x70 [scsi_mod]
[<f885b51f>] scsi_add_host+0x13f/0x200 [scsi_mod]
[<f8dbca7f>] openfc_register+0x6f/0x2e0 [openfc]
[<c012c9e7>] printk+0x17/0x20
[<f8dbc630>] openfc_remote_port_state_change+0x0/0x1b0 [openfc]
[<f8dbc7e0>] openfc_discovery_done+0x0/0x20 [openfc]
[<c03a93c8>] _spin_lock_bh+0x8/0x20
[<f8d3d8b7>] fcoe_create_interface+0x3a7/0x3d0 [fcoe]
[<c024feff>] pdev_sort_resources+0x4f/0x160
[<f8d3dd57>] fcoe_set_config+0x27/0x30 [fcoe]
[<f8d3dce9>] fcoe_ioctl+0x49/0x60 [fcoe]
[<c018ca0a>] vfs_ioctl+0x6a/0xa0
[<c018ccda>] do_vfs_ioctl+0x5a/0x130
[<c018ce04>] sys_ioctl+0x54/0x80
[<c01043ad>] sysenter_past_esp+0x6a/0x91
=======================
---[ end trace ee7449f79602e90c ]---
openfc_register error on scsi_add_host
------------[ cut here ]------------
WARNING: at /opt/w47572/open-fcoe/kernel/openfc/openfc_if.c:1042
openfc_register+0x24a/0x2e0 [openfc]()
Modules linked in: fcoe openfc scsi_transport_fc ipmi_watchdog ipmi_devintf
ipmi_msghandler usbserial parport_pc lp parport speedstep_lib thermal
processor fan thermal_sys button battery ac ipv6 af_packet i2c_i801 i2c_core
rng_core tg3 usbhid e1000 mptctl usb_storage ext3 jbd dm_mod mptsas
scsi_transport_sas reiserfs mptscsih mptbase sd_mod scsi_mod [last unloaded:
microcode]
Pid: 9317, comm: fcconf Tainted: G W 2.6.26-rc2 #2
[<c012c1ef>] warn_on_slowpath+0x5f/0xa0
[<c0125e00>] __schedule_bug+0x0/0x60
[<c0125f2e>] __wake_up+0x3e/0x60
[<c012cf7b>] wake_up_klogd+0x3b/0x40
[<c01c925e>] __sysfs_remove_dir+0x5e/0x70
[<f885a55d>] scsi_destroy_command_freelist+0x6d/0x90 [scsi_mod]
[<f885a3a3>] scsi_put_host_cmd_pool+0x13/0x60 [scsi_mod]
[<f885b5a9>] scsi_add_host+0x1c9/0x200 [scsi_mod]
[<f8dbcc5a>] openfc_register+0x24a/0x2e0 [openfc]
[<f8dbc630>] openfc_remote_port_state_change+0x0/0x1b0 [openfc]
[<f8dbc7e0>] openfc_discovery_done+0x0/0x20 [openfc]
[<c03a93c8>] _spin_lock_bh+0x8/0x20
[<f8d3d8b7>] fcoe_create_interface+0x3a7/0x3d0 [fcoe]
[<c024feff>] pdev_sort_resources+0x4f/0x160
[<f8d3dd57>] fcoe_set_config+0x27/0x30 [fcoe]
[<f8d3dce9>] fcoe_ioctl+0x49/0x60 [fcoe]
[<c018ca0a>] vfs_ioctl+0x6a/0xa0
[<c018ccda>] do_vfs_ioctl+0x5a/0x130
[<c018ce04>] sys_ioctl+0x54/0x80
[<c01043ad>] sysenter_past_esp+0x6a/0x91
=======================
---[ end trace ee7449f79602e90c ]---
BUG: unable to handle kernel NULL pointer dereference at 00000030
IP: [<f8dbad16>] :openfc:fcs_recv+0x6/0x50
*pdpt = 00000000341fe001 *pde = 0000000000000000
Oops: 0000 [#1] SMP
Modules linked in: fcoe openfc scsi_transport_fc ipmi_watchdog ipmi_devintf
ipmi_msghandler usbserial parport_pc lp parport speedstep_lib thermal
processor fan thermal_sys button battery ac ipv6 af_packet i2c_i801 i2c_core
rng_core tg3 usbhid e1000 mptctl usb_storage ext3 jbd dm_mod mptsas
scsi_transport_sas reiserfs mptscsih mptbase sd_mod scsi_mod [last unloaded:
microcode]
Pid: 9283, comm: fcoethread/0 Tainted: G W (2.6.26-rc2 #2)
EIP: 0060:[<f8dbad16>] EFLAGS: 00010286 CPU: 0
EIP is at fcs_recv+0x6/0x50 [openfc]
EAX: 00000000 EBX: f40c3918 ECX: 00000000 EDX: f40c3918
ESI: f2c47f00 EDI: f69fe5c0 EBP: 0000008c ESP: f682bf74
DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process fcoethread/0 (pid: 9283, ti=f682a000 task=f6c9f380 task.ti=f682a000)
Stack: f2c47f00 f69fe5c0 f40c3918 f8d3cc03 c5418480 f7838be0 c03a7d60
00000001
f7d33f34 f7838a80 f6c9f380 00000000 f7d33f40 f4009a40 f69fede8
00000000
2e000286 f3094cba f2850e00 f40c3900 f40c3900 f8d3c930 fffffffc
00000000
Call Trace:
[<f8d3cc03>] fcoe_percpu_receive_thread+0x2d3/0x4d0 [fcoe]
[<c03a7d60>] schedule+0x240/0x530
[<f8d3c930>] fcoe_percpu_receive_thread+0x0/0x4d0 [fcoe]
[<c013f764>] kthread+0x64/0xa0
[<c013f700>] kthread+0x0/0xa0
[<c0104fdf>] kernel_thread_helper+0x7/0x18
=======================
Code: 0f 3c c7 ba 9c 00 00 00 b8 64 16 dc f8 e8 93 14 37 c7 e9 5f ff ff ff
8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 53 89 c1 83 ec 08 <8b> 40 30 89 d3
85 c0 74 11 8b 41 18 89 02 8b 41 30 83 c4 08 5b
EIP: [<f8dbad16>] fcs_recv+0x6/0x50 [openfc] SS:ESP 0068:f682bf74
---[ end trace ee7449f79602e90c ]---
f0s1:~ #
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel