[Open-FCoE] 10G network error

zhouwen200609 zhouwen200609 at 163.com
Mon Apr 20 14:43:11 UTC 2009


hi all:
now I wanna build fcoe platform with 10G network ,using point to point mode .
several months ago,I had built this platform with 1G network successful,but now I come accross some problems  using this code with 10G network  .
initiator kernel version 2.6.28-rc5
initiator   /var/log/messages           content:
Apr 20 20:42:59 f306 kernel: Call Trace:
Apr 20 20:42:59 f306 kernel:  [<f7e7d874>] fc_lport_flogi_resp+0x28e/0x2b9 [libfc]
Apr 20 20:42:59 f306 kernel:  [<c062a786>] schedule+0x73e/0x78f
Apr 20 20:42:59 f306 kernel:  [<f7e7d5e6>] fc_lport_flogi_resp+0x0/0x2b9 [libfc]
Apr 20 20:42:59 f306 kernel:  [<f7e7aa45>] fc_exch_timeout+0x1ea/0x217 [libfc]
Apr 20 20:42:59 f306 kernel:  [<f7e7a85b>] fc_exch_timeout+0x0/0x217 [libfc]
Apr 20 20:42:59 f306 kernel:  [<c0431f60>] run_workqueue+0x6a/0xdf
Apr 20 20:42:59 f306 kernel:  [<c0432668>] worker_thread+0x0/0xbd
Apr 20 20:42:59 f306 kernel:  [<c043271b>] worker_thread+0xb3/0xbd
Apr 20 20:42:59 f306 kernel:  [<c0434924>] autoremove_wake_function+0x0/0x2d
Apr 20 20:42:59 f306 kernel:  [<c0434861>] kthread+0x38/0x5f
Apr 20 20:42:59 f306 kernel:  [<c0434829>] kthread+0x0/0x5f
Apr 20 20:42:59 f306 kernel:  [<c04046df>] kernel_thread_helper+0x7/0x10
Apr 20 20:42:59 f306 kernel: Code: 6e 77 c0 5b e9 a1 36 eb ff 83 e2 e7 88 53 65 f0 ff 8b ac 00 00 00 0f 94 c0 84 c0 8d 93 54 ff ff ff 75 db 5b c3 85 c0 89 c2 74 25 <83> b8 a8 00 00 00 01 75 07 0f ae e8 89 f6 eb 0e f0 ff 88 a8 00 
Apr 20 20:42:59 f306 kernel: EIP: [<c05ba436>] kfree_skb+0x6/0x2c SS:ESP 0068:f6c55f64
Apr 20 20:42:59 f306 kernel: ---[ end trace 35c702b907823437 ]---
Apr 20 20:44:35 f306 kernel: device eth3 left promiscuous mode

wireshark message and  map  in the attachment.
/***************************************************************************************************/
target   dmesg:
fc_local_port_flogi_resp: bad FLOGI response
fc_local_port_flogi_resp fffffe -> 000000 xids 0060 0002 ELS rep ELS LS_ACC
------------[ cut here ]------------
kernel BUG at /root/target/open-fcoe-target/openfctgt/openfc_scst_pkt.h:119!
invalid opcode: 0000 [#1]
SMP 
Modules linked in: scst_vdisk fcoe openfctgt scst i915 drm autofs4 hidp rfcomm l2cap bluetooth sunrpc cpufreq_ondemand acpi_cpufreq dm_multipath video output sbs battery ac ipv6 lp snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer floppy parport_pc parport snd serio_raw ixgbe tg3 i2c_i801 soundcore 8139too i2c_core snd_page_alloc 8139cp r8169 button mii dm_snapshot dm_zero dm_mirror dm_mod ata_piix libata sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
CPU:    0
EIP:    0060:[<f8d116b1>]    Not tainted VLI
EFLAGS: 00010246   (2.6.23 #1)
EIP is at openfct_session_create+0x18/0xd1 [openfctgt]
eax: f17b0000   ebx: f65f6300   ecx: 00010101   edx: f75970c0
esi: f75970c0   edi: 00000000   ebp: 00000000   esp: f1413e00
ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068
Process fcoethread/0 (pid: 3340, ti=f1413000 task=ca126dd0 task.ti=f1413000)
Stack: 0049474f f1a776c0 f168e800 f8d13a3a f75970c0 00000020 c05b825f f168e800 
       00980000 f0d42d4c f65f6300 f75970c0 00000000 00000000 f8d12903 00000001 
       f7597a40 f168e800 f168e8bc f8d128b0 f5dec02e f1aa5000 f7597a40 f8d1c107 
Call Trace:
 [<f8d13a3a>] fc_exch_complete_locked+0x6d/0x9b [openfctgt]
 [<c05b825f>] __alloc_skb+0x49/0xf7
 [<f8d12903>] fcs_local_port_prli_accept+0x53/0x91 [openfctgt]
 [<f8d128b0>] fcs_local_port_prli_accept+0x0/0x91 [openfctgt]
 [<f8d1c107>] fc_sess_recv_req+0x1d9/0x98d [openfctgt]
 [<f8d1ce61>] fc_sess_lookup_create+0xf8/0x101 [openfctgt]
 [<f8d18805>] fc_local_port_recv_req+0xaf/0x159 [openfctgt]
 [<f8d14df5>] fc_exch_recv_req+0x712/0x7ce [openfctgt]
 [<c041fbf1>] update_stats_wait_end+0xd3/0xfe
 [<c041fe39>] update_curr_load+0x6e/0x83
 [<f8d18756>] fc_local_port_recv_req+0x0/0x159 [openfctgt]
 [<f8d1f47e>] sa_hash_lookup+0x34/0x3f [openfctgt]
 [<f8d18b16>] fc_local_port_recv+0x267/0x326 [openfctgt]
 [<f8d18756>] fc_local_port_recv_req+0x0/0x159 [openfctgt]
 [<f8d1e83a>] fc_port_ingress+0x61/0x67 [openfctgt]
 [<f8ced85d>] fcoe_percpu_receive_thread+0x66e/0x792 [fcoe]
 [<f8ced1ef>] fcoe_percpu_receive_thread+0x0/0x792 [fcoe]
 [<c0437ba9>] kthread+0x38/0x5f
 [<c0437b71>] kthread+0x0/0x5f
 [<c04059fb>] kernel_thread_helper+0x7/0x10
 =======================
Code: 00 89 f2 89 d8 59 5b 5e 5f e9 81 aa 90 c7 58 5b 5e 5f c3 55 57 56 53 83 ec 28 89 54 24 10 8b b8 04 21 00 00 8b 4a 1c 85 ff 75 04 <0f> 0b eb fe 8b 6f 2c 8b 55 00 eb 0d 3b 4d 10 0f 84 9a 00 00 00 
EIP: [<f8d116b1>] openfct_session_create+0x18/0xd1 [openfctgt] SS:ESP 0068:f1413e00
/***************************************************************************************************/

now I guess maybe 10G network card's driver  not support fcoe interface.
is anyone come accross this problem either ?
thank you !



More information about the devel mailing list