[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#502845: linux-image-2.6.32-1-amd64 / open-iscsi amd64 login hang



On Thu, Feb 11, 2010 at 05:51:38PM +0100, Bastian Blank wrote:
> On Thu, Feb 11, 2010 at 04:37:36PM +0100, Florian Lohoff wrote:
> > 11280 connect(3, {sa_family=AF_FILE, path=@"ISCSIADM_ABSTRACT_NAMESPACE"...}, 110) = 0
> > 11280 write(3, "\1\0\0\0\0\0\0\0\0\0\0\0\230q\304\377\230q\304\377iqn.1997-01.o"..., 5244) = 5244
> > 11280 recv(3, 0xffc46760, 2464, MSG_WAITALL) = ? ERESTARTSYS (To be restarted)
> 
> This only shows that iscsid does not respond to the requests of
> iscsiadm. However I consider it unlikely that such a bug should have
> survived for 14 kernel releases.
> 
> Please show all the relevant configs, strace outputs of iscsiadm _and_
> iscsid and also network traces.

Something _is_ broken - I am very successful building up open-iscsi/iscsitarget
pairs on i386 - as soon as the initiator (open-iscsi) is on amd64 the login
hangs forever ... No matter whether the target is on the same machine
or on a different machine ...

What i did now:

bladesys3:~# tcpdump -i eth0 -s0 -w /tmp/login.pcap host t4.lab.rfc822.org and port 3260

and in parallel:

bladesys3:~# strace -t -f -o /tmp/scsid.strace.log /etc/init.d/open-iscsi start

Starting iSCSI initiator service: iscsid.
Setting up iSCSI targets:
iscsiadm: No records found!
.
Mounting network filesystems:.

And then:

iscsiadm -m discovery -t st -p 195.71.99.251
iscsiadm -m node

iscsiadm -m node --targetname "iqn.1997-01.org.rfc822.lab.t4:storage.t4.disk1" --portal "195.71.99.251:3260" --op=update --name node.session.auth.authmethod --value=CHAP
iscsiadm -m node --targetname "iqn.1997-01.org.rfc822.lab.t4:storage.t4.disk1" --portal "195.71.99.251:3260" --op=update --name node.session.auth.username --value=storage1
iscsiadm -m node --targetname "iqn.1997-01.org.rfc822.lab.t4:storage.t4.disk1" --portal "195.71.99.251:3260" --op=update --name node.session.auth.password --value=mi4Taibi

iscsiadm -m node --targetname "iqn.1997-01.org.rfc822.lab.t4:storage.t4.disk1" --portal "195.71.99.251:3260" --login

tcpdump:

http://silicon-verl.de/home/flo/tmp/iscsilogin.pcap
http://silicon-verl.de/home/flo/tmp/scsid.strace.log

The scsid strace shows repeated stuff like:

3444  20:14:08 connect(9, {sa_family=AF_INET, sin_port=htons(3260), sin_addr=inet_addr("195.71.99.251")}, 128) = -1 EINPROGRESS (Operation now in progress)

Although telnet (as the tcpdump) reports the connect is no problem:

bladesys3:/tmp# telnet t4.lab.rfc822.org 3260
Trying 195.71.99.251...
Connected to tiles-four.lab.rfc822.org.
Escape character is '^]'.
^]
telnet> close
Connection closed.

Still - the login hangs - dead ... I have never seen something like this
between i386 machines.

open-iscsi config is untouched.

What else?

Flo
-- 
Florian Lohoff                                                 f@zz.de
"Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen."
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 

Attachment: signature.asc
Description: Digital signature


Reply to: