This bug has been copied from bug #511002 and has been proposed to be backported to 5.4 z-stream (EUS).
---scsi-target-utils-0.0-5.20080917snap.el5 with ongoing i/o from the client. $ tgt-admin --show Target 1: iqn.2001-04.com.dell-pe-sc1435-01-1 System information: Driver: iscsi State: ready I_T nexus information: I_T nexus: 1 Initiator: iqn.1994-05.com.redhat:b74171af9987 Connection: 0 IP Address: 192.168.122.152 ... $ tgtadm --mode connection --op delete --tid=1 --sid=1 --cid=0 Segmentation fault $ tail /var/log/messages ... Jan 15 09:56:17 dell-pe-sc1435-01 kernel: tgtd[23268]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffe61a4178 error 14 Jan 15 09:56:17 dell-pe-sc1435-01 tgtd: conn_close_force(197) close 1 0 Jan 15 09:56:17 dell-pe-sc1435-01 tgtd: conn_close(88) connection closed 0x12cb3d08 1 Jan 15 09:56:18 dell-pe-sc1435-01 kernel: tgtadm[26467]: segfault at 0000000002613040 rip 0000000000401eb0 rsp 00007fffa3c93a00 error 4 ----scsi-target-utils-0.0-6.20091205snap.el5_4.1 with ongoing i/o on client $ tgt-admin --show Target 1: iqn.2001-04.com.dell-pe-sc1435-01-1 System information: Driver: iscsi State: ready I_T nexus information: I_T nexus: 1 Initiator: iqn.1994-05.com.redhat:b74171af9987 Connection: 0 IP Address: 192.168.122.152 $ tgtadm --mode connection --op delete --tid=1 --sid=1 --cid=0 $ tgtadm --mode connection --op delete --tid=1 --sid=2 --cid=0 # tgt-admin --show Target 1: iqn.2001-04.com.dell-pe-sc1435-01-5 System information: Driver: iscsi State: ready I_T nexus information: I_T nexus: 3 Initiator: iqn.1994-05.com.redhat:b74171af9987 Connection: 0 IP Address: 192.168.122.152 ... $ tail /var/log/messages Jan 15 10:40:26 dell-pe-sc1435-01 tgtd: conn_close_force(233) close 1 0 Jan 15 10:40:26 dell-pe-sc1435-01 tgtd: conn_close(100) connection closed, 0x17edd198 1 Jan 15 10:40:26 dell-pe-sc1435-01 tgtd: conn_close(106) sesson 0x17edd430 1 Jan 15 10:40:55 dell-pe-sc1435-01 tgtd: conn_close_force(233) close 2 0 Jan 15 10:40:55 dell-pe-sc1435-01 tgtd: conn_close(100) connection closed, 0x17edd198 1 Jan 15 10:40:55 dell-pe-sc1435-01 tgtd: conn_close(106) sesson 0x17edd400 1 on iscsi client, there is connection recovery: $ tail /var/log/messages Jan 15 16:41:14 localhost iscsid: conn 0 login rejected: initiator error - target not found (02/03) Jan 15 16:42:51 localhost kernel: connection1:0: detected conn error (1011) Jan 15 16:42:52 localhost iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3) Jan 15 16:42:55 localhost iscsid: connection1:0 is operational after recovery (1 attempts) Jan 15 16:43:20 localhost kernel: connection1:0: detected conn error (1011) Jan 15 16:43:21 localhost iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3) Jan 15 16:43:24 localhost iscsid: connection1:0 is operational after recovery (1 attempts) ...
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0067.html