Hi Mike,

I tested it with your suggestion, and found i could not discovery the target 
with command "./iscsiadm -m discovery -t st -p 192.168.8.108 ", please see the 
iscsid debug log in the attachment, please give the suggestion again, thanks.

Best Wishes,
Daobang Wang.



发件人: Mike Christie 
发送时间: 2011-06-15  09:56:41 
收件人: 王道邦 
抄送: open-iscsi 
主题: Re: open-iscsi-2.0-870 issue 
 
On 06/14/2011 08:40 PM, 王道邦 wrote:
> Hi Mike,
> 
> I retested it with more detail debug output, please see the attachment, 
> thanks.
> 
I saw your kernel is x86_64. Is userspace compiled as 32 bits or 64 bits?
The iscsi interface does not support mixing the 2. When the kernel is 64
bit and userspace is 32 bits we see the error below. It is caused from
the kernel and userspace having different sizes for a command/struct
that is passed in and so they see different values for one of the struct
fields. The kernel then thinks what we passed in was a invalid
session/connection number and it fails like below.
iscsid: in nlpayload_read
iscsid: Received iferror -22: Invalid argument.
iscsid: can't bind conn 0:0 to session 0, retcode 1 (115)

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Attachment: iscsid.log
Description: Binary data

Reply via email to