Hi,
I try to run open-iscsi on a QNAP TS-219 (NAS with a SOC processor
base on ARM Marvell Kirkwood) ...
TS-219 provide a iscsi_target system that run fine from windows or
open-iscsi initiator, due to the lack of initiator on Qnap offer, I
have tryed to compile it to run as loopback.
the linux is :
Linux NAS219aPhil 2.6.22.18 #1 Sat Apr 18 04:31:53 CST 2009 armv5tejl
unknown ..... (with source avalaible for cross compile on Qnap site)
I have tryed with even "codesourcery" cross-compile on a debian lenny
system with arm-2005Q3 and arm-2008Q3  (the "normal one to used") with
same result.

for modules, patching go to 2.6.20-21, ... creation of the 3 .ko
without error or only warning (1 about a fonction unused, the second
for a parameters not initialized (I have also made change in code to
be clean of this warning)
I have compiled with success iscsadm iscsi-name iscsid
I have used the default iscsi.conf and create my own initiatorname ...
I load without any error the modules :
[~] # lsmod
Module                  Size  Used by    Not tainted
iscsi_tcp 16936 0 - Live 0xbf058000
libiscsi 24736 1 iscsi_tcp, Live 0xbf050000
scsi_transport_iscsi 28716 3 iscsi_tcp,libiscsi, Live 0xbf047000
iscsi_trgt 85928 6 - Live 0xbf031000
fuse 44532 0 - Live 0xbf025000
sysinfo 1668 0 - Live 0xbf023000
usblp 12928 0 - Live 0xbf01e000
usbhid 39444 0 - Live 0xbf013000
usb_storage 70703 0 - Live 0xbf000000

when I start iscsid in foreground mode all seems correct :
[~] # iscsid -f -d 8 &
9785
[~] #
iscsid: sysfs_init: sysfs_path='/sys'
iscsid: sysfs_attr_get_value: open '/module/
scsi_transport_iscsi'/'version'
iscsid: sysfs_attr_get_value: new uncached attribute '/sys/module/
scsi_transport_iscsi/version'
iscsid: sysfs_attr_get_value: add to cache '/sys/module/
scsi_transport_iscsi/version'
iscsid: sysfs_attr_get_value: cache '/sys/module/scsi_transport_iscsi/
version' with attribute value '2.0-870'
iscsid: transport class version 2.0-870. iscsid version 2.0-870
iscsid: in ctldev_open
iscsid: created NETLINK_ISCSI socket...
iscsid: InitiatorName==iqn.2009-03.fr.noos:Nasaphil
iscsid: InitiatorName=iqn.2009-03.fr.noos:Nasaphil
iscsid: InitiatorAlias=NAS219aPhil
iscsid: in ctldev_close
iscsid: Max file limits 1024 1024
iscsid: reaped pid 9786, reap_count now 0

BUT when I start a discovery as I done from my external initiator (or
to an external debian target) I falled in error nothing is done .....
message are : mgmt_ipc_write_rsp: rsp to fd 5

[~] # iscsiadm -m discovery -d 8 -t sendtargets -p 192.168.1.79:3260
iscsiadm: ip 192.168.1.79, port 3260, tgpt -1
iscsiadm: Max file limits 1024 1024

iscsid: poll result 1
iscsid: mgmt_ipc_write_rsp: rsp to fd 5

[~] # iscsiadm -m discovery -d 8 -t sendtargets -p 127.0.0.1
iscsiadm: ip 127.0.0.1, port 3260, tgpt -1
iscsiadm: Max file limits 1024 1024

iscsid: poll result 1
iscsid: mgmt_ipc_write_rsp: rsp to fd 5

I run targets without access control
No iptables, no restriction to access the nas ....
run as admin:administrators it's the qnap root with all access to all
files & directories ....

Do you have any idea of what I can do, to understand (and solve) the
problem ????

Thanks to all.
NB. I have search in the discussion but nothing seems clear to know
what I have to do.
NB1 I can't upgarde the linux ....
Philippe.
--~--~---------~--~----~------------~-------~--~----~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to