scsi_transport_iscsi versions

2008-05-05 Thread aspasia

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.



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: scsi_transport_iscsi versions

2008-05-05 Thread Mike Christie

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.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: scsi_transport_iscsi versions

2008-05-05 Thread aspasia


> 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.

[EMAIL PROTECTED]:/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)
[EMAIL PROTECTED]:/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

..
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: scsi_transport_iscsi versions

2008-05-05 Thread Mike Christie

aspasia wrote:
> 
>> 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.
> 
> [EMAIL PROTECTED]:/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)
> [EMAIL PROTECTED]:/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
> 

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)
 > [EMAIL PROTECTED]:/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).

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: scsi_transport_iscsi versions

2008-05-06 Thread a s p a s i a

>  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
[EMAIL PROTECTED]:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi# whereis 
iscsiadm
iscsiadm: /sbin/iscsiadm /usr/share/man/man8/iscsiadm.8.gz
[EMAIL PROTECTED]:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi#
whereis iscsistart
iscsistart: /sbin/iscsistart
[EMAIL PROTECTED]:/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.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: scsi_transport_iscsi versions

2008-05-06 Thread Mike Christie

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
> [EMAIL PROTECTED]:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi# whereis 
> iscsiadm
> iscsiadm: /sbin/iscsiadm /usr/share/man/man8/iscsiadm.8.gz
> [EMAIL PROTECTED]:/lib/modules/2.6.24-16-generic/kernel/drivers/scsi#
> whereis iscsistart
> iscsistart: /sbin/iscsistart
> [EMAIL PROTECTED]:/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.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: scsi_transport_iscsi versions

2008-05-06 Thread Jesper Krogh

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

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: scsi_transport_iscsi versions

2008-05-06 Thread a s p a s i a

>
>  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.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---