scsi_transport_iscsi versions

212 views
Skip to first unread message

aspasia

unread,
May 5, 2008, 6:28:40 PM5/5/08
to open-iscsi
Hello,

I have 2 installs of Ubuntu - one i686 and the other AMD64; I am
testing my AMD64 installation to boot iscsi root and found that it got
stuck during boot ... which let me to realize that it had an older
version of a module:

modinfo scsi_transport_iscsi
filename: /lib/modules/2.6.24-16-generic/kernel/drivers/scsi/
scsi_transport_iscsi.ko
version: 2.0-724
license: GPL
description: iSCSI Transport Interface

....

My other Ubuntu server has this version:

modinfo scsi_transport_iscsi
filename: /lib/modules/2.6.24-16-generic/kernel/drivers/scsi/
scsi_transport_iscsi.ko
version: 2.0-869
license: GPL
description: iSCSI Transport Interface

... I guess I need to download an install the latest open-iscsi
binaries? It seems like in the older version may seem to cause an
issue during my attempt to boot iscsi via initrd: I am unable to
"iscsistart" ... it gives me some error that it cannot create the
connection - (115)

any thoughts would be greatly appreciated.

- A.


Mike Christie

unread,
May 5, 2008, 6:36:28 PM5/5/08
to open-...@googlegroups.com
aspasia wrote:
> Hello,
>
> I have 2 installs of Ubuntu - one i686 and the other AMD64; I am
> testing my AMD64 installation to boot iscsi root and found that it got
> stuck during boot ... which let me to realize that it had an older
> version of a module:
>
> modinfo scsi_transport_iscsi
> filename: /lib/modules/2.6.24-16-generic/kernel/drivers/scsi/
> scsi_transport_iscsi.ko
> version: 2.0-724
> license: GPL
> description: iSCSI Transport Interface
>
> ....
>
> My other Ubuntu server has this version:
>
> modinfo scsi_transport_iscsi
> filename: /lib/modules/2.6.24-16-generic/kernel/drivers/scsi/
> scsi_transport_iscsi.ko

Are you sure this kernel version is right (2.6.24-16)? 2.0-869 was added
to 2.6.25. 2.0-724 was in older kernels like 2.6.24.

Are you using the iscsi modules from your kernel or from the
open-iscsi.org tarballs.

> version: 2.0-869
> license: GPL
> description: iSCSI Transport Interface
>
> ... I guess I need to download an install the latest open-iscsi
> binaries? It seems like in the older version may seem to cause an
> issue during my attempt to boot iscsi via initrd: I am unable to
> "iscsistart" ... it gives me some error that it cannot create the
> connection - (115)
>

You should be able to use a older iscsistart with newer kernel modules.
Run iscsistart with -d 8 to get more debug info.

aspasia

unread,
May 5, 2008, 7:02:20 PM5/5/08
to open-iscsi

> Are you sure this kernel version is right (2.6.24-16)? 2.0-869 was added
> to 2.6.25. 2.0-724 was in older kernels like 2.6.24.

yeah, I think in the other machine I downloaded and compiled open-
iscsi ...

> You should be able to use a older iscsistart with newer kernel modules.
> Run iscsistart with -d 8 to get more debug info.

root@ubuntu:/tmp/open-iscsi-2.0-865.15# iscsistart -i iqn.
2005-03.org.open-iscsi:649da5e0a79b -t iqn.
2008-04.com.mycompany:storage.ubuntu8_x86_test -g 1 -a 192.168.17.3 -d
8
iscsistart: transport class version 2.0-724. iscsid version 2.0-869
iscsistart: Can not bind IPC socket
iscsistart: Could not setup mgmt ipc

iscsistart: initiator reported error (12 - iSCSI driver not found.
Please make sure it is loaded, and retry the operation)
root@ubuntu:/tmp/open-iscsi-2.0-865.15# iscsistart -i iqn.
2005-03.org.open-iscsi:649da5e0a79b -t iqn.
2008-04.com.mycompany:storage.ubuntu8_x86_test -g 1 -a 192.168.17.3 -d
7
iscsistart: transport class version 2.0-724. iscsid version 2.0-869
iscsistart: InitiatorName=iqn.2005-03.org.open-iscsi:649da5e0a79b
iscsistart: InitiatorAlias=ubuntu
iscsistart: TargetName=iqn.
2008-04.com.maxiscale.lab:storage.ubuntu8_x86_test
iscsistart: TPGT=1
iscsistart: IP Address=192.168.17.3
iscsistart: version 2.0-869
iscsistart: poll result 1
iscsistart: Matched transport tcp

iscsistart: Allocted session 0x810ca38
iscsistart: no authentication configured...
iscsistart: resolved 192.168.17.3 to 192.168.17.3
iscsistart: set TCP recv window size to 524288, actually got 262142
iscsistart: set TCP send window size to 524288, actually got 262142
iscsistart: connecting to 192.168.17.3:3260
iscsistart: Setting login timer 0x8111de8 timeout 30
iscsistart: connected local port 45872 to 192.168.17.3:3260
iscsistart: created new iSCSI session 0
iscsistart: expecting event 13, got 103, handling...
iscsistart: received iferror -22
iscsistart: can't create connection (115)
iscsistart: disconnect conn
iscsistart: disconnecting conn 0x810f968, fd 6
iscsistart: kdestroy session 0
iscsistart: expecting event 12, got 103, handling...
iscsistart: received iferror -22
iscsistart: can not safely destroy session 0

......

Mike Christie

unread,
May 5, 2008, 9:16:28 PM5/5/08
to open-...@googlegroups.com

Is this the box you compiled it yourself? If so make sure you are using
64 bit userspace and a 64 bit kernel or 32 bit userspace and a 32 bit
kernel. You cannot mix and match.


Also this:

Please make sure it is loaded, and retry the operation)
> root@ubuntu:/tmp/open-iscsi-2.0-865.15# iscsistart -i iqn.
> 2005-03.org.open-iscsi:649da5e0a79b -t iqn.
> 2008-04.com.mycompany:storage.ubuntu8_x86_test -g 1 -a 192.168.17.3 -d
> 7
> iscsistart: transport class version 2.0-724. iscsid version 2.0-869

is a little scary. It looks like you might have multiple versions of
userspace running/installed (open-iscsi-2.0-865.15 and 2.0-869). That we
do not support. Make sure you have one version of userspace installed
(do whereis for iscsid, iscsiadm iscsistart to see if there are multiple
copies of programs).

a s p a s i a

unread,
May 6, 2008, 12:36:17 PM5/6/08
to open-...@googlegroups.com
> is a little scary. It looks like you might have multiple versions of
> userspace running/installed (open-iscsi-2.0-865.15 and 2.0-869). That we
> do not support. Make sure you have one version of userspace installed
> (do whereis for iscsid, iscsiadm iscsistart to see if there are multiple
> copies of programs).

seems like there is only a single instance of each:

whereis iscsid
iscsid: /sbin/iscsid /usr/share/man/man8/iscsid.8.gz
root@ubuntu:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi# whereis iscsiadm
iscsiadm: /sbin/iscsiadm /usr/share/man/man8/iscsiadm.8.gz
root@ubuntu:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi#
whereis iscsistart
iscsistart: /sbin/iscsistart
root@ubuntu:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi#

would you recommend that I should just remove these and reinstall?
... Just to be certain, this is the right binary for for Ubuntu on AMD
64 right?

http://packages.ubuntu.com/hardy/amd64/open-iscsi/download

..

- a.

Mike Christie

unread,
May 6, 2008, 1:42:51 PM5/6/08
to open-...@googlegroups.com
a s p a s i a wrote:
>> is a little scary. It looks like you might have multiple versions of
>> userspace running/installed (open-iscsi-2.0-865.15 and 2.0-869). That we
>> do not support. Make sure you have one version of userspace installed
>> (do whereis for iscsid, iscsiadm iscsistart to see if there are multiple
>> copies of programs).
>
> seems like there is only a single instance of each:
>
> whereis iscsid
> iscsid: /sbin/iscsid /usr/share/man/man8/iscsid.8.gz
> root@ubuntu:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi# whereis iscsiadm
> iscsiadm: /sbin/iscsiadm /usr/share/man/man8/iscsiadm.8.gz
> root@ubuntu:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi#
> whereis iscsistart
> iscsistart: /sbin/iscsistart
> root@ubuntu:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi#
>
> would you recommend that I should just remove these and reinstall?

Yeah.

> ... Just to be certain, this is the right binary for for Ubuntu on AMD
> 64 right?
>
> http://packages.ubuntu.com/hardy/amd64/open-iscsi/download
>

I think so.

Jesper Krogh

unread,
May 6, 2008, 2:53:28 PM5/6/08
to open-...@googlegroups.com, aspas...@gmail.com
aspasia wrote:
> Hello,
>
> I have 2 installs of Ubuntu - one i686 and the other AMD64; I am
> testing my AMD64 installation to boot iscsi root and found that it got
> stuck during boot ... which let me to realize that it had an older
> version of a module:

This is a known bug in Ubuntu Hardy.. I just hit it today also:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/218215

Install the newer kernel from the hardy proposed-updates repository and
it fixes the problem.

Jesper

--
Jesper

a s p a s i a

unread,
May 6, 2008, 3:48:12 PM5/6/08
to Jesper Krogh, open-...@googlegroups.com
>
> This is a known bug in Ubuntu Hardy.. I just hit it today also:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/218215
>
> Install the newer kernel from the hardy proposed-updates repository and it
> fixes the problem.
>
>

arrgh! u kidding .. me .. ok .. thanks for the heads up!

- a.

Reply all
Reply to author
Forward
0 new messages