iscsiadm: initiator reported error (9 - internal error)

2,021 views
Skip to first unread message

Parveen, kaku

unread,
Jul 11, 2012, 9:14:58 AM7/11/12
to open-iscsi
Hi there,

please help....
M using CentOS 5.3 x64 bit and i trying to mount storage FUJITSU
ETERNUS DX440 SAN 172.141.127.221 ( iSCSI Name : iqn.
2000-09.com.fujitsu:storage-system.eternus-dx400:00001580) to my
server 172.141.127.27.
i had created 3LUN's 1TB, 2TB and 500GB
when i m trying to do this: iscsiadm -m node -T iqn.
2000-09.com.fujitsu:storage-system.eternus-dx400:00001580 -p
172.141.127.221 -l
its gives me error: Logging in to [iface: default, target: iqn.
2000-09.com.fujitsu:storage-system.eternus-dx400:00001580, portal:
172.141.127.221,3260]
iscsiadm: Could not login to [iface: default, target: iqn.
2000-09.com.fujitsu:storage-system.eternus-dx400:00001580, portal:
172.141.127.221,3260]:
iscsiadm: initiator reported error (9 - internal error)

so what to do in this case. ?
same thing i had followed in differnt server (172.141.127.217) in
which same OS (CentOS 5.3) is installed and its logging the session
and working fine.

Plz help.....

Regards,
PARVEEN
9780933599

Mike Christie

unread,
Jul 11, 2012, 12:05:10 PM7/11/12
to open-...@googlegroups.com, Parveen, kaku
On 07/11/2012 08:14 AM, Parveen, kaku wrote:
> Hi there,
>
> please help....
> M using CentOS 5.3 x64 bit and i trying to mount storage FUJITSU
> ETERNUS DX440 SAN 172.141.127.221 ( iSCSI Name : iqn.
> 2000-09.com.fujitsu:storage-system.eternus-dx400:00001580) to my
> server 172.141.127.27.
> i had created 3LUN's 1TB, 2TB and 500GB
> when i m trying to do this: iscsiadm -m node -T iqn.
> 2000-09.com.fujitsu:storage-system.eternus-dx400:00001580 -p
> 172.141.127.221 -l
> its gives me error: Logging in to [iface: default, target: iqn.
> 2000-09.com.fujitsu:storage-system.eternus-dx400:00001580, portal:
> 172.141.127.221,3260]
> iscsiadm: Could not login to [iface: default, target: iqn.
> 2000-09.com.fujitsu:storage-system.eternus-dx400:00001580, portal:
> 172.141.127.221,3260]:
> iscsiadm: initiator reported error (9 - internal error)
>

Send the /var/log/messages when this happens.

parveen kumar

unread,
Jul 12, 2012, 12:09:47 AM7/12/12
to Mike Christie, open-...@googlegroups.com
Hello Mike Christie,

some details of my server with /var/log/messeges file given below:
few days back i had try to install iscsi* pkg with rpm command on that time pkg requiring some dependencies " libsysfs.so.1 " 
but yesterday i had created yum server and installed iscsi* pkg with "yum install iscsi*" command and pkg installed sucessfully, i think its some pkg undependency with kernal, m not sure but i think soo. you know very well about this thats why i had mailed you this problem.

========================
/boot/grub/grub.conf
====================
[root@master1 ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda2
#          initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-128.el5
        module /vmlinuz-2.6.18-128.el5xen ro root=LABEL=/ rhgb quiet
        module /initrd-2.6.18-128.el5xen.img
title CentOS-base (2.6.18-128.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.18-128.el5.img



===============
uname -r output
==============

[root@master1 ~]# uname -r
2.6.18-128.el5


=====================
/etc/redhat-release output
====================
[root@master1 ~]# cat /etc/redhat-release
CentOS release 5.3 (Final)


======================================
rpm -qa iscsi* output
======================
[root@master1 ~]# rpm -qa iscsi*
iscsi-initiator-utils-6.2.0.868-0.18.el5



=================
command line output
=================
[root@master1 ~]# service iscsi start
iscsid (pid 6287 6286) is running...
Setting up iSCSI targets: Logging in to [iface: default, target: iqn.2000-09.com.fujitsu:storage-system.eternus-dx400:00001580, portal: 172.141.127.221,3260]
iscsiadm: Could not login to [iface: default, target: iqn.2000-09.com.fujitsu:storage-system.eternus-dx400:00001580, portal: 172.141.127.221,3260]:
iscsiadm: initiator reported error (9 - internal error)
iscsiadm: Could not log into all portals. Err 9.
                                                           [  OK  ]
[root@master1 ~]# iscsiadm -m node -T iqn.2000-09.com.fujitsu:storage-system.eternus-dx400:00001580 -p 172.141.127.221 -l
Logging in to [iface: default, target: iqn.2000-09.com.fujitsu:storage-system.eternus-dx400:00001580, portal: 172.141.127.221,3260]
iscsiadm: Could not login to [iface: default, target: iqn.2000-09.com.fujitsu:storage-system.eternus-dx400:00001580, portal: 172.141.127.221,3260]:
iscsiadm: initiator reported error (9 - internal error)

=========================================
/var/log/messeges file output
=========================
Jul 12 09:15:52 master1 last message repeated 30 times
Jul 12 09:16:04 master1 last message repeated 6 times
Jul 12 09:16:06 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:06 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:06 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:16:06 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:08 master1 last message repeated 13 times
Jul 12 09:16:08 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:16:10 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:10 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:10 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:16:10 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:11 master1 last message repeated 5 times
Jul 12 09:16:12 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:16:18 master1 last message repeated 3 times
Jul 12 09:16:20 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:20 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:20 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:16:46 master1 last message repeated 13 times
Jul 12 09:16:47 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:47 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:16:48 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:17:08 master1 last message repeated 10 times
Jul 12 09:17:09 master1 kernel:  session2: couldn't create a new connection.<6>scsi9 : iSCSI Initiator over TCP/IP
Jul 12 09:17:09 master1 kernel:  connection3:0: Could not create connection due to crc32c loading error. Make sure the crc32c module is built as a module or into the kernel
Jul 12 09:17:10 master1 iscsid: received iferror -12
Jul 12 09:17:10 master1 iscsid: can't create connection (115)
Jul 12 09:17:10 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:17:41 master1 last message repeated 16 times
Jul 12 09:17:42 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:17:43 master1 last message repeated 9 times
Jul 12 09:17:43 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:17:45 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:17:46 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:17:47 master1 last message repeated 7 times
Jul 12 09:17:48 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:17:54 master1 last message repeated 3 times
Jul 12 09:17:55 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:17:55 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:17:56 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:18:01 master1 last message repeated 2 times
Jul 12 09:18:02 master1 slurmctld[5354]: Warning: Note very large processing time: usec=2409652
Jul 12 09:18:02 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:18:12 master1 last message repeated 5 times
Jul 12 09:18:13 master1 kernel:  session3: couldn't create a new connection.<6>scsi10 : iSCSI Initiator over TCP/IP
Jul 12 09:18:13 master1 kernel:  connection4:0: Could not create connection due to crc32c loading error. Make sure the crc32c module is built as a module or into the kernel
Jul 12 09:18:13 master1 iscsid: received iferror -12
Jul 12 09:18:13 master1 iscsid: can't create connection (115)
Jul 12 09:18:14 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:18:22 master1 last message repeated 4 times
Jul 12 09:18:22 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:18:22 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:18:24 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:18:55 master1 last message repeated 16 times
Jul 12 09:19:50 master1 last message repeated 27 times
Jul 12 09:19:50 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:19:51 master1 last message repeated 5 times
Jul 12 09:19:52 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:19:53 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:19:53 master1 last message repeated 5 times
Jul 12 09:19:54 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:20:08 master1 last message repeated 7 times
Jul 12 09:20:10 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:20:10 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:20:10 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:20:11 master1 last message repeated 3 times
Jul 12 09:20:12 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)
Jul 12 09:20:14 master1 avahi-daemon[5451]: Invalid query packet.
Jul 12 09:20:14 master1 pbs_server: LOG_ERROR::is_request, bad attempt to connect from 10.1.1.100:1022 (address not trusted - check entry in server_priv/nodes)



Regards,
PARVEEN
9780933599

--
.

Mike Christie

unread,
Jul 12, 2012, 12:47:36 AM7/12/12
to coolbu...@gmail.com, open-...@googlegroups.com

On Jul 11, 2012, at 11:09 PM, parveen kumar wrote:
new connection.<6>scsi9 : iSCSI Initiator over TCP/IP
> Jul 12 09:17:09 master1 kernel: connection3:0: Could not create connection due to crc32c loading error. Make sure the crc32c module is built as a module or into the kernel
> Jul 12 09:17:10 master1 iscsid: received iferror -12
> Jul 12 09:17:10 master1 iscsid: can't create connection (115)

Are you building your own kernel or using the centos one? You need to enable the crc32c module.

Mike Christie

unread,
Jul 12, 2012, 3:27:52 AM7/12/12
to coolbu...@gmail.com, open-...@googlegroups.com

On Jul 12, 2012, at 12:31 AM, parveen kumar wrote:

> Dear Mike Christie,
>
> First of all thanks for replying to my first mail :) . M not building my own kernel m just using the centos and trying to mount LUN from my SAN storage through iscsi,
> But i dont know how to enable the crc32c module ?
>

It should be done for you if you are using the centos kernel.

Before trying to do any iscsi commands just run

lsmod | grep crc

Do you see the crc32c module? If not try

modprobe crc32c

Do you see it now?

If not look in

/lib/modules/$YOUR_KERNEL/kernel/crypto

do you see it (I am not sure if it was built as a module in centos 5.3).

Mike Christie

unread,
Jul 12, 2012, 6:11:23 AM7/12/12
to coolbu...@gmail.com, open-...@googlegroups.com

On Jul 12, 2012, at 4:32 AM, parveen kumar wrote:

> Dear Mike Christi,
>
> I had done steps that you given but not get crc32c, also checked in /lib/modules/$YOUR_KERNEL/kernel/crypto but not found crc32c ?

Do you have the crc32c_intel one instead?


> any other solution ?


Send the /boot/config-$YOUR_KERNEL file so I can see how your kernel was compiled.

Mike Christie

unread,
Jul 12, 2012, 1:56:17 PM7/12/12
to coolbu...@gmail.com, open-...@googlegroups.com

On Jul 12, 2012, at 5:54 AM, parveen kumar wrote:

> Dear Mike Christie,
>
>
> File attached with this mail.
>

It should be built in. I tried centos 5.6 and it worked for me. Could you try a newer version. I think centos 5.7 or 5.8 is out. Centos 6.1 also worked for me.

parveen kumar

unread,
Jul 12, 2012, 5:32:29 AM7/12/12
to Mike Christie, open-...@googlegroups.com
Dear Mike Christi,

I had done steps that you given but not get  crc32c, also checked in /lib/modules/$YOUR_KERNEL/kernel/crypto but not found  crc32c ?
any other solution ?

Regards,
PARVEEN
--
.

parveen kumar

unread,
Jul 12, 2012, 6:54:27 AM7/12/12
to Mike Christie, open-...@googlegroups.com
Dear Mike Christie,


File attached with this mail.


Regards,
PARVEEN

--
.

config-2.6.18-128.el5

parveen kumar

unread,
Jul 12, 2012, 1:31:04 AM7/12/12
to Mike Christie, open-...@googlegroups.com
Dear Mike Christie,

First of all thanks for replying to my first mail :) . M not building my own kernel m just using the centos and trying to mount LUN from my SAN storage through iscsi,  
But i dont know how to enable the crc32c module ?

Regards,
PARVEEN
--
.

parveen kumar

unread,
Jul 13, 2012, 12:25:39 AM7/13/12
to Mike Christie, open-...@googlegroups.com
Dear Mike Christie,

i had installed Centos5.7 and Centos6 in seperate machine and try to mount LUN from storage and i got sucess and i had also tried with RHEL5 and RHEL6 but m using centos 5.3 in my machine, basiclly cluster running on this server and some applications also running on this server and i dont want to upgrade this server , only in this machine m not able to mount LUN from storage through ISCSI.
oki u r talking about some kernal modules and crc32c what is that ? can u plz share some info regarding this with me.....

Regards,
PARVEEN
--
.

Mike Christie

unread,
Jul 13, 2012, 12:47:19 AM7/13/12
to open-...@googlegroups.com, parveen kumar
On 07/12/2012 11:25 PM, parveen kumar wrote:
> Dear Mike Christie,
>
> i had installed Centos5.7 and Centos6 in seperate machine and try to mount
> LUN from storage and i got sucess and i had also tried with RHEL5 and RHEL6
> but m using centos 5.3 in my machine, basiclly cluster running on this

Can you just try to do a clean install of the system with the older OS
or use RHEL 5.3 since it seems you have access to that? RHEL 5.3 should
work too.

> server and some applications also running on this server and i dont want to
> upgrade this server , only in this machine m not able to mount LUN from
> storage through ISCSI.
> oki u r talking about some kernal modules and crc32c what is that ? can u

It is just some kernel module used for digests. We always load it in
case we need it later on.

parveen kumar

unread,
Jul 13, 2012, 12:56:02 AM7/13/12
to Mike Christie, open-...@googlegroups.com
Dear Mike Christie,

So what should i do to resolve this problem now ? What you suggest ?

Regards,
PARVEEN
+919780933599 
--
.

Mike Christie

unread,
Jul 13, 2012, 4:10:45 PM7/13/12
to open-...@googlegroups.com
On Jul 12, 2012, at 11:56 PM, parveen kumar wrote:

Dear Mike Christie,

So what should i do to resolve this problem now ? What you suggest ?



Upgrade to something that works.

If you are using RHEL and have a subscription and support contract just contact them. Maybe they will do some sort of backport for you.





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

parveen kumar

unread,
Jul 15, 2012, 1:16:45 PM7/15/12
to Mike Christie, open-...@googlegroups.com, Gaurav Pruthi
Hello Mike Christie,

No response :(

Dear Gaurav Pruthi FYI :)

Regards,
Parveen
9780933599
--
.

jiliang

unread,
Jul 17, 2012, 6:14:29 AM7/17/12
to open-...@googlegroups.com
Hi, dear all
I want to change mtu to 8000. But I don't know how about the
open-iscsi support. Any reply will be helpful, thanks.

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------

Donald Williams

unread,
Jul 17, 2012, 10:54:56 AM7/17/12
to open-...@googlegroups.com
Hello, 

 MTU size is set on the NICs iSCSI is using, not by open-iscsi itself.   So it depends on the distro of Linux where that change needs to be made. 

 Don 


Mike Christie

unread,
Jul 17, 2012, 12:16:16 PM7/17/12
to open-...@googlegroups.com, jiliang
On 07/17/2012 04:14 AM, jiliang wrote:
> Hi, dear all
> I want to change mtu to 8000. But I don't know how about the
> open-iscsi support. Any reply will be helpful, thanks.
>

Is this for software iscsi or for iscsi offload. For software iscsi then
you set it on your nic like you normally would, so look it up in google
:) For iscsi offload then make sure you are using the current open-iscsi
release with a 3.4 or newer kernel and see the README's section "5.1.2
Setting up a iface for a iSCSI offload card".

jiliang

unread,
Jul 17, 2012, 9:13:59 PM7/17/12
to open-...@googlegroups.com

Got it.Thanks a lot.

 


Reply all
Reply to author
Forward
0 new messages