From: Chris S. <chr...@4b...> - 2004-11-26 12:15:57
|
Hi, I am trying to force the linux-iscsi initiator v4.0.1 (pre-compiled and shipped with SuSe 9.1) to run a normal session instead of the default discovery session. Following the instructions here <http://zaal.org/iscsi/unh/iscsi.conf> , I am using a separate file <iscsitarget.conf> to specify the target iqn name. When I restart the driver using "rciscsi start" and type "iscsi-ls" the command line displays the devices found at the target. However, no devices appear in /dev/disk/by-id/ and the following is dumped into /var/log/messages: Nov 26 11:41:49 linux kernel: iSCSI: session iscsi bus 0 target id 6 cold target reset rejected (0x5) for mgmt 47, itt 35, cmnd 0xa0 Nov 26 11:41:49 linux kernel: iSCSI: session iscsi bus 0 target id 6 to iqn.2002 -12.com.4bridgeworks.acal.00100b:14 dropped Nov 26 11:41:49 linux kernel: iSCSI: session iscsi bus 0 target id 6 to iqn.2002 -12.com.4bridgeworks.acal.00100b:14 waiting 2 seconds before next login attempt Nov 26 11:41:49 linux kernel: iSCSI: session iscsi bus 0 target id 7 cold target reset rejected (0x5) for mgmt 47, itt 35, cmnd 0xa0 Nov 26 11:41:49 linux kernel: iSCSI: session iscsi bus 0 target id 7 to iqn.2002 -12.com.4bridgeworks.acal.00100b:15 dropped Nov 26 11:41:49 linux kernel: iSCSI: session iscsi bus 0 target id 7 to iqn.2002 -12.com.4bridgeworks.acal.00100b:15 waiting 2 seconds before next login attempt Nov 26 11:41:51 linux kernel: iSCSI: bus 0 target 6 trying to establish session to portal 0, address 10.0.0.242 port 3260 group -1 Nov 26 11:41:51 linux kernel: iSCSI: bus 0 target 7 trying to establish session to portal 0, address 10.0.0.242 port 3260 group -1 Nov 26 11:41:51 linux kernel: iSCSI: bus 0 target 6 established session #4, port al 0, address 10.0.0.242 port 3260 group 1 Nov 26 11:41:51 linux kernel: iSCSI: bus 0 target 7 established session #4, port al 0, address 10.0.0.242 port 3260 group 1 Nov 26 11:42:21 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 55 abort for itt 49 cdb 0xa0 to (0 0 6 0) at 214806 Nov 26 11:42:21 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 55 abort for itt 49 cdb 0xa0 to (0 0 7 0) at 214838 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 6 task mgmt 55 response timeout at 224887 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 7 task mgmt 55 response timeout at 224887 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 58 abort task set to (0 0 6 0) at 224887 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 58 abort task set to (0 0 7 0) at 224887 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 6 abort task set rejected (0x5) for mgmt 58, itt 49, cmnd 0xa0 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 7 abort task set rejected (0x5) for mgmt 58, itt 49, cmnd 0xa0 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 60 LUN reset to (0 0 6 0) at 224928 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 60 LUN reset to (0 0 7 0) at 224928 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 6 LUN reset rejected (0x5) for mgmt 60, itt 49, cmnd 0xa0 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 61 warm target reset to (0 0 6 *) at 224949 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 7 LUN reset rejected (0x5) for mgmt 60, itt 49, cmnd 0xa0 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 61 warm target reset to (0 0 7 *) at 224969 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 6 warm target reset rejected (0x5) for mgmt 61, itt 49, cmnd 0xa0 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 61 cold target reset to (0 0 6 *) at 224990 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 7 warm target reset rejected (0x5) for mgmt 61, itt 49, cmnd 0xa0 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 61 cold target reset to (0 0 7 *) at 225011 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 6 cold target reset rejected (0x5) for mgmt 61, itt 49, cmnd 0xa0 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 6 to iqn.2002-12.com.4bridgeworks.acal.00100b:14 dropped Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 6 to iqn.2002-12.com.4bridgeworks.acal.00100b:14 waiting 2 seconds before next login attempt Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 7 cold target reset rejected (0x5) for mgmt 61, itt 49, cmnd 0xa0 Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 7 to iqn.2002-12.com.4bridgeworks.acal.00100b:15 dropped Nov 26 11:42:31 linux kernel: iSCSI: session iscsi bus 0 target id 7 to iqn.2002-12.com.4bridgeworks.acal.00100b:15 waiting 2 seconds before next login attempt Nov 26 11:42:33 linux kernel: iSCSI: bus 0 target 6 trying to establish session to portal 0, address 10.0.0.242 port 3260 group -1 Nov 26 11:42:33 linux kernel: iSCSI: bus 0 target 7 trying to establish session to portal 0, address 10.0.0.242 port 3260 group -1 Nov 26 11:42:33 linux kernel: iSCSI: bus 0 target 6 established session #5, portal 0, address 10.0.0.242 port 3260 group 1 Nov 26 11:42:33 linux kernel: iSCSI: bus 0 target 7 established session #5, portal 0, address 10.0.0.242 port 3260 group 1 Nov 26 11:42:44 linux kernel: iSCSI: session iscsi bus 0 failing itt 63 cdb 0xa0 to (0 0 6 0) at 238034, retries 0, allowed 6 Nov 26 11:42:44 linux kernel: iSCSI: session iscsi bus 0 failing itt 63 cdb 0xa0 to (0 0 7 0) at 238066, retries 0, allowed 6 Nov 26 11:43:14 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 73 abort for itt 63 to (0 0 6 0) at 268034 Nov 26 11:43:14 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 73 abort for itt 63 to (0 0 7 0) at 268066 Nov 26 11:43:28 linux kernel: iSCSI: session iscsi bus 0 target id 6 task mgmt 73 response timeout at 282083 Nov 26 11:43:28 linux kernel: iSCSI: session iscsi bus 0 target id 7 task mgmt 73 response timeout at 282083 Nov 26 11:43:28 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 76 abort task set to (0 0 6 0) at 282083 Nov 26 11:43:28 linux kernel: iSCSI: session iscsi bus 0 sending mgmt 76 abort task set to (0 0 7 0) at 282083 Nov 26 11:43:28 linux kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000054 Nov 26 11:43:28 linux kernel: printing eip: Nov 26 11:43:28 linux kernel: d138752f Nov 26 11:43:28 linux kernel: *pde = 00000000 Nov 26 11:43:28 linux kernel: Oops: 0000 [#1] Nov 26 11:43:28 linux kernel: CPU: 0 Nov 26 11:43:28 linux kernel: EIP: 0060:[<d138752f>] Tainted: G U Nov 26 11:43:28 linux kernel: EFLAGS: 00010206 (2.6.5-7.97-default) Nov 26 11:43:28 linux kernel: EIP is at iscsi_recv_task_mgmt+0x41f/0xb40 [iscsi] Nov 26 11:43:28 linux kernel: eax: 00000000 ebx: cd689f80 ecx: cd645505 edx: 0000004c Nov 26 11:43:28 linux kernel: esi: cd4c6000 edi: cd6455e0 ebp: 0000004c esp: cd689f38 Nov 26 11:43:28 linux kernel: ds: 007b es: 007b ss: 0068 Nov 26 11:43:28 linux kernel: Process iscsi-rx (pid: 2378, threadinfo=cd688000 task=cd4a4d00) Nov 26 11:43:28 linux kernel: Stack: 00001900 cd4c6000 00000000 cd689fdc cd689fc0 d1375541 cd4c6110 cd4c66ac Nov 26 11:43:28 linux kernel: cd4c60f0 cd4c6690 cd4c6674 cd4c6658 cd4c6170 00000000 00000000 00000030 Nov 26 11:43:28 linux kernel: cd4a4d00 cd8fd880 00058022 00000000 00000000 00000000 4c000000 00000000 Nov 26 11:43:28 linux kernel: Call Trace: Nov 26 11:43:28 linux kernel: [<d1375541>] iscsi_rx_thread+0xad1/0xc70 [iscsi] Nov 26 11:43:28 linux kernel: [<d1374a70>] iscsi_rx_thread+0x0/0xc70 [iscsi] Nov 26 11:43:28 linux kernel: [<c0106005>] kernel_thread_helper+0x5/0x10 Nov 26 11:43:28 linux kernel: Nov 26 11:43:28 linux kernel: Code: 8a 40 54 25 ff 00 00 00 50 31 c0 8b 5f 28 88 c8 53 52 50 8b Nov 26 11:43:28 linux kernel: <1>Unable to handle kernel NULL pointer dereference at virtual address 00000054 Nov 26 11:43:28 linux kernel: printing eip: Nov 26 11:43:28 linux kernel: d138752f Nov 26 11:43:28 linux kernel: *pde = 00000000 Nov 26 11:43:28 linux kernel: Oops: 0000 [#2] Nov 26 11:43:28 linux kernel: CPU: 0 Nov 26 11:43:28 linux kernel: EIP: 0060:[<d138752f>] Tainted: G U Nov 26 11:43:28 linux kernel: EFLAGS: 00010206 (2.6.5-7.97-default) Nov 26 11:43:28 linux kernel: EIP is at iscsi_recv_task_mgmt+0x41f/0xb40 [iscsi] Nov 26 11:43:28 linux kernel: eax: 00000000 ebx: cda73f80 ecx: cd645505 edx: 0000004c Nov 26 11:43:28 linux kernel: esi: cfa76000 edi: cd645580 ebp: 0000004c esp: cda73f38 Nov 26 11:43:28 linux kernel: ds: 007b es: 007b ss: 0068 Nov 26 11:43:28 linux kernel: Process iscsi-rx (pid: 2381, threadinfo=cda72000 task=cd396d10) Nov 26 11:43:28 linux kernel: Stack: 00001900 cfa76000 00000000 cda73fdc cda73fc0 d1375541 cfa76110 cfa766ac Nov 26 11:43:28 linux kernel: cfa760f0 cfa76690 cfa76674 cfa76658 cfa76170 00000000 00000000 00000030 Nov 26 11:43:28 linux kernel: cd396d10 cd561480 00058022 00000000 00000000 00000000 4c000000 00000000 Nov 26 11:43:28 linux kernel: Call Trace: Nov 26 11:43:28 linux kernel: [<d1375541>] iscsi_rx_thread+0xad1/0xc70 [iscsi] Nov 26 11:43:28 linux kernel: [<d1374a70>] iscsi_rx_thread+0x0/0xc70 [iscsi] Nov 26 11:43:28 linux kernel: [<c0106005>] kernel_thread_helper+0x5/0x10 Nov 26 11:43:28 linux kernel: Nov 26 11:43:28 linux kernel: Code: 8a 40 54 25 ff 00 00 00 50 31 c0 8b 5f 28 88 c8 53 52 50 8b The driver also intermittently fails to stop and can prevent SuSe from restarting altogether. Any suggestions? |