Hi Mike, GOOD NEWS, even if I don't be able to change code (I have a problem with my compilator virtual (vmware) machine, stupid change I do ...) I have follow you remarks and my intuition ... lol
So I have added (in first pos.) a named "root" user in the passwd file (remember Qnap has only an "admin" user)and attach this root user to the group 0 (administrators in Qnap) and the result is .... (iscsid run in -f -d 8) : [/etc] # iscsiadm -m discovery -t sendtargets -p 127.0.0.1 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 127.0.0.1:3260,1 iqn.2004-04.com.qnap:TS-219:iSCSI.testEXT3.8C3E96 127.0.0.1:3260,1 iqn.2004-04.com.qnap:TS-219:iSCSI.testNTFS.8C3E96 127.0.0.1:3260,1 iqn.2004-04.com.qnap:TS-219:iSCSI.testFAT32.8C3E96 WHAOOOOOO !!!! first step is passed even if it's not a "real" solution to have two UID 0 (root and admin), so if you have time to identified WHY you need a "root" user and not only a user with UID=0 ????? (I do the search when I get back running my virtual machine with my vmware debian cross compile system). I have now a new error ... but not sure that it's not due to a mix between all modules that I will test ... I try to restart with a full coherent modules (I think I have modules in ver. 2.0-724 (native compile on another Qnap) and iscsid in 2.0-870 ... sorry for that mix, I try lot of tests ..... For information the error when I try to log to a target .... [/etc] # iscsiadm -m node -T iqn. 2004-04.com.qnap:TS-219:iSCSI.testEXT3.8C3E96 -p 127.0.0.1:3260 -l Logging in to [iface: default, target: iqn. 2004-04.com.qnap:TS-219:iSCSI.testEXT3.8C3E96, portal: 127.0.0.1,3260] iscsid: poll result 1 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 '3205089176' 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 0x413f0 iscsid: no authentication configured... iscsid: resolved 127.0.0.1 to 127.0.0.1 iscsid: get conn context 0x48838 iscsid: set TCP recv window size to 524288, actually got 262142 iscsid: set TCP send window size to 524288, actually got 262142 iscsid: connecting to 127.0.0.1:3260 iscsid: sched conn context 0x48838 event 2, tmo 0 iscsid: thread 0x48838 schedule: delay 0 state 3 iscsid: Setting login timer 0x467a8 timeout 15 iscsid: thread 0x467a8 schedule: delay 60 state 3 iscsid: thread 000467a8 wait some more iscsid: exec thread 00048838 callback iscsid: put conn context 0x48838 iscsid: connected local port 36504 to 127.0.0.1:3260 iscsid: in kcreate_session iscsid: in __kipc_call iscsid: in kwritev iscsiadm: got read error (0/0), daemon died? iscsiadm: Could not login to [iface: default, target: iqn. 2004-04.com.qnap:TS-219:iSCSI.testEXT3.8C3E96, portal: 127.0.0.1,3260]: iscsiadm: initiator reported error (18 - could not communicate to iscsid) [/etc] # ps -eaf | grep iscsid 17480 root 548 S grep iscsid [/etc] # Thanks again for your effort ... I also continue and try to clarify all points. best regards. Philippe. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
