Null pointer dereference during iSCSI login
Hello, with SLES10 SP1 on x86_64 (open-iscsi-2.0.707-0.32) I'm seeing a problem during login using iscsiadm -m node -L automatic. After a few logins, login suddenly fails: Login session [172.20.77.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.1.50001fe1500c1f60.50001fe1500c1f68] Login session [172.20.77.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.1.50001fe1500c1f60.50001fe1500c1f69] Login session [172.20.77.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.1.50001fe1500c1f60.50001fe1500c1f6c] Login session [172.20.77.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.1.50001fe1500c1f60.50001fe1500c1f6d] Login session [172.20.77.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.1.50001fe1500c1f20.50001fe1500c1f28] Login session [172.20.77.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.1.50001fe1500c1f20.50001fe1500c1f29] Login session [172.20.77.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.1.50001fe1500c1f20.50001fe1500c1f2c] Login session [172.20.77.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.1.50001fe1500c1f20.50001fe1500c1f2d] Login session [172.20.77.1:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis1.1.50001fe1500c1f60.50001fe1500c1f68] Login session [172.20.77.1:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis1.1.50001fe1500c1f60.50001fe1500c1f69] Login session [172.20.77.1:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis1.1.50001fe1500c1f60.50001fe1500c1f6c] Login session [172.20.77.1:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis1.1.50001fe1500c1f60.50001fe1500c1f6d] Login session [172.20.76.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.0.50001fe1500c1f60.50001fe1500c1f68] Login session [172.20.76.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.0.50001fe1500c1f60.50001fe1500c1f69] Login session [172.20.76.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.0.50001fe1500c1f60.50001fe1500c1f6c] Login session [172.20.76.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.0.50001fe1500c1f60.50001fe1500c1f6d] Login session [172.20.77.1:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis1.1.50001fe1500c1f20.50001fe1500c1f28] Login session [172.20.77.1:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis1.1.50001fe1500c1f20.50001fe1500c1f29] Login session [172.20.77.1:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis1.1.50001fe1500c1f20.50001fe1500c1f2c] Login session [172.20.77.1:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis1.1.50001fe1500c1f20.50001fe1500c1f2d] Login session [172.20.76.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.0.50001fe1500c1f20.50001fe1500c1f28] Login session [172.20.76.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.0.50001fe1500c1f20.50001fe1500c1f29] iscsiadm: Could not login session (err 5). iscsiadm: initiator reported error (5 - encountered iSCSI login failure) Login session [172.20.76.2:3260 iqn.1986- 03.com.hp:fcgw.mpx100:rkdvmis2.0.50001fe1500c1f20.50001fe1500c1f2c] Then the SSH session hangs, but the machine is still alive. Syslog says: Mar 2 10:36:27 testhost kernel: Unable to handle kernel NULL pointer dereferenc e at 0232 RIP: Mar 2 10:36:27 testhost kernel: 802ba089{inet_sendmsg+23} Mar 2 10:36:27 testhost kernel: PGD 0 Mar 2 10:36:27 testhost kernel: Oops: [1] SMP Mar 2 10:36:27 testhost kernel: last sysfs file: /class/iscsi_connection/connection22:0/exp_statsn Mar 2 10:36:27 testhost kernel: CPU 3 Mar 2 10:36:27 testhost kernel: Modules linked in: crc32c libcrc32c iscsi_tcp l ibiscsi scsi_transport_iscsi nfs lockd nfs_acl sunrpc ip6t_REJECT xt_pkttype ipt _REJECT ipt_TCPMSS xt_tcpudp ipt_LOG xt_limit xt_state iptable_mangle iptable_na t ip_nat ip6table_mangle ip_conntrack nfnetlink ip6table_filter ip6_tables xt_ph ysdev iptable_filter ip_tables x_tables bridge netbk netloop xenblk blkbk blktap xenbus_be ipmi_devintf ipv6 ipmi_si ipmi_msghandler af_packet button battery ac sr_mod loop usb_storage usbhid hw_random ide_cd cdrom i2c_amd8111 i2c_amd756 i2 c_core ohci_hcd mptctl shpchp usbcore pci_hotplug e1000 8250 serial_core reiserf s dm_snapshot dm_mod fan thermal processor sg mptsas mptscsih mptbase scsi_trans port_sas amd74xx sd_mod scsi_mod ide_disk ide_core Mar 2 10:36:27 testhost kernel: Pid: 25485, comm: scsi_wq_25 Not tainted 2.6.16.54-0.2.11-xen #1 Mar 2 10:36:27 testhost kernel: RIP: e030:[802ba089] 802ba08 9{inet_sendmsg+23} Mar 2 10:36:27 testhost kernel: RSP: e02b:880011e0db78 EFLAGS: 00010296 Mar 2 10:36:27 testhost kernel: RAX: 802f1c40 RBX: RCX : 0200 Mar 2 10:36:27 testhost kernel: RDX: 880011e0dd58 RSI: 8800080988c0 RDI : 880011e0dba8 Mar 2 10:36:27 testhost kernel: RBP: 0200 R08: 0200 R09 : 8000 Mar 2 10:36:27 testhost kernel: R10: dbb545c6 R11: 0001 R12 : 880011e0dd58 Mar 2 10:36:27 testhost kernel: R13: 880011e0dba8 R14: 88000bdc52c0 R15 : 0200 Mar 2 10:36:27 testhost kernel: FS: 2b77ef71e6d0() GS:803a2180 () knlGS: Mar 2 10:36:27 testhost
Re: Null pointer dereference during iSCSI login
Hi! As an add-on to this problem: Any subsequent attempt to run iscsiadm -m node -L automatic just silently hangs. Trace follows: # strace iscsiadm -m node -L automatic execve(/sbin/iscsiadm, [iscsiadm, -m, node, -L, automatic], [/* 56 vars */]) = 0 brk(0) = 0x522000 [...] umask(0177) = 022 socket(PF_FILE, SOCK_STREAM, 0) = 3 connect(3, {sa_family=AF_FILE, pa...@iscsiadm_abstract_namespace}, 110) = 0 write(3, \10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 2504) = 2504 recvfrom(3, unfinished ... Regards, Ulrich --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---
Re: Null pointer dereference during iSCSI login
On Mon, Mar 02, 2009 at 10:53:19AM +0100, Ulrich Windl wrote: Hello, with SLES10 SP1 on x86_64 (open-iscsi-2.0.707-0.32) I'm seeing a problem during login using iscsiadm -m node -L automatic. After a few logins, login suddenly What happens if you use the latest version of Open-iSCSI kernel modules and Open-iSCSI utils? (You will need to patch the kernel directory with the kernel/2.6.16-suse.patch for them to compile). I see the 'kprobes' symbol in there - do you have any of them loaded? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---
Re: Null pointer dereference during iSCSI login
Ulrich Windl wrote: Hello, with SLES10 SP1 on x86_64 (open-iscsi-2.0.707-0.32) I'm seeing a problem during login using iscsiadm -m node -L automatic. After a few logins, login suddenly fails: I think you will have to make a suse bugzilla or try to recreate with the current open-iscsi code. open-iscsi-2.0.707 is a little old and I have no idea what suse adds to it. I think suse might actually have this one fixed though. You can contact Hannes Reinecke h...@suse.de. I think he gets the suse bugzilla for iscsi too, so either way you will reach him. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---