Hi,

We upgraded from SLES 10 SP2 (x86_64) to SLES 10 SP3 (x86_64) which caused our 
open-iscsi to iscsitarget connections to fail.  Downgrading to the SP2 kernel 
makes it work again.  Using the SP3 kernel running we see:

# iscsiadm -m node -P1
Target: iqn.2008-02.xenstorenet.nessie:arup301
        Portal: 10.10.10.1:3260,1
                Iface Name: default

# iscsiadm -m node --login
Logging in to [iface: default, target: iqn.2008-02.xenstorenet.nessie:arup301, 
portal: 10.10.10.1,3260]

This now hangs for quite a long time and then returns the message:

Login to [iface: default, target: iqn.2008-02.xenstorenet.nessie:arup301, 
portal: 10.10.10.1,3260]: successful

However it hasn't actually worked!  dmesg shows these messages:

Loading iSCSI transport class v2.0-724.
iscsi: registered transport (tcp)
scsi17 : iSCSI Initiator over TCP/IP
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)
 17:0:0:0: timing out command, waited 22s
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)
 connection5:0: iscsi: detected conn error (1011)

And the session state is:

# iscsiadm -m session -P3
iSCSI Transport Class version 2.0-724
iscsiadm version 2.0-868
Target: iqn.2008-02.xenstorenet.nessie:arup301
        Current Portal: 10.10.10.1:3260,1
        Persistent Portal: 10.10.10.1:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2008-02.xenstorenet.hydra:redstone
                Iface IPaddress: 10.10.10.2
                Iface HWaddress: default
                Iface Netdev: default
                SID: 5
                iSCSI Connection State: TRANSPORT WAIT
                iSCSI Session State: Unknown
                Internal iscsid Session State: REPOEN
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 65536
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 262144
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: No
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 17 State: running

As you can see there is no device attached (normally appears on the last 
line)...

Now dmesg continues to fill up with these errors:

 connection5:0: iscsi: detected conn error (1011)

And after waiting for a while longer the state changes to:

# iscsiadm -m session -P3
iSCSI Transport Class version 2.0-724
iscsiadm version 2.0-868
Target: iqn.2008-02.xenstorenet.nessie:arup301
        Current Portal: 10.10.10.1:3260,1
        Persistent Portal: 10.10.10.1:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2008-02.xenstorenet.hydra:redstone
                Iface IPaddress: 10.10.10.2
                Iface HWaddress: default
                Iface Netdev: default
                SID: 5
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: Unknown
                Internal iscsid Session State: NO CHANGE
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: CRC32C
                DataDigest: CRC32C
                MaxRecvDataSegmentLength: 65536
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 262144
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: No
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 17 State: running

But still no device attached and the logs continue to fill up with the same 
errors:

 connection5:0: iscsi: detected conn error (1011)

This problem occurs on all SLES 10 SP3 kernels (x86_64, -smp variety) that I 
have tried and works on all kernels before SP3.

If I upgrade the iscsi target to the latest version (not the one that comes 
with SLES 10) then it behaves the same way (i.e. works on kernels before SP3 
and does not work on SP3 kernels) but I also get an additional error message in 
the dmesg output straight after the "timing out command" like this:

 connection2:0: iscsi: detected conn error (1011)
 12:0:0:0: timing out command, waited 22s
scsi scan: 64 byte inquiry failed.  Consider BLIST_INQUIRY_36 for this device
 connection2:0: iscsi: detected conn error (1011)

Any ideas?

Thanks a lot in advance!

PS. We have filed an official support request but they are being less than 
helpful just telling me that it works for them.  )-:

Best regards,

        Anton
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@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?hl=en.

Reply via email to