Hi Mike, Yes, i made the kernel as x86_64, and compiled the userspace as 32 bits, I will try it again with you suggestion, thanks again.
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.
