Hi Mike, I tested the file which you gave in the link, discovery was ok, but still could not log into the target. please see the debug log as follow:
Commands: -bash-3.2# ./iscsiadm -m discovery -t st -p 192.168.8.176 192.168.8.176:3260,1 opene.target -bash-3.2# ./iscsiadm -m node -T opene.target -p 192.168.8.176 -l Logging in to [iface: default, target: opene.target, portal: 192.168.8.176,3260] The iscsid debug output when input the command "./iscsiadm -m node -T opene.target -p 192.168.8.176 -l" iscsid: in read_transports iscsid: Adding new transport tcp iscsid: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'handle' iscsid: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/tcp/handle' iscsid: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/tcp/handle' iscsid: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/tcp/handle' with attribute value '18446744072101627840' iscsid: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'caps' iscsid: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/tcp/caps' iscsid: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/tcp/caps' iscsid: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/tcp/caps' with attribute value '0x39' iscsid: Matched transport tcp iscsid: Allocted session 0x90365f0 iscsid: no authentication configured... iscsid: resolved 192.168.8.176 to 192.168.8.176 iscsid: setting iface default, dev , set ip , hw , transport tcp. iscsid: get conn context 0x903d9e0 iscsid: set TCP recv window size to 524288, actually got 237568 iscsid: set TCP send window size to 524288, actually got 237568 iscsid: connecting to 192.168.8.176:3260 iscsid: sched conn context 0x903d9e0 event 2, tmo 0 iscsid: thread 0x903d9e0 schedule: delay 0 state 3 iscsid: Setting login timer 0x903b980 timeout 30 iscsid: thread 0x903b980 schedule: delay 120 state 3 iscsid: exec thread 0903d9e0 callback iscsid: put conn context 0x903d9e0 iscsid: connected local port 58886 to 192.168.8.176:3260 iscsid: in kcreate_session iscsid: in __kipc_call iscsid: in kwritev Would you like to give me a handle? Thanks, Daobang Wang. 发件人: Mike Christie 发送时间: 2011-06-15 05:07:18 收件人: open-iscsi 抄送: 王道邦 主题: Re: open-iscsi-2.0-870 issue On 06/14/2011 12:05 AM, 王道邦 wrote: > Hi, All > > I made the open-iscsi-2.0-870, and found the following issue: > > iscsid: Could not lookup devpath for iscsi_connection connection1:0 > What are you doing when this happens? Do you have sessions logged in, then are you starting iscsid? Are you doing this becuase you are doing iscsi root/boot? How did you start the sessions before starting iscsid? Was it using iscsistart? When iscsid is up, what does: iscsiadm -m session -P 3 return? What version of the iscsi tools are you using? This is the current version: http://kernel.org/pub/linux/kernel/people/mnc/open-iscsi/releases/open-iscsi-2.0-872.tar.gz For 2.6.36 kernel you would want to just use the iscsi tools fro that tarball. make user make install_user Could you send your kernel's .config? -- 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.
