iSCSI logout all command fails with retCode 21 and then Restart iscsid, Core generated by iscsiuio

387 views
Skip to first unread message

Manish Singh

unread,
Sep 28, 2015, 11:06:32 PM9/28/15
to open-iscsi
Dear All,

In my test scenario, logout command failed with following error, and when i restarted iSCSi daemon, it started successfully.But, core is generated by iscsiuio. Following are details:

System Information::::

OS : RHEL 6.6
kernel version: 2.6.32-504.16.2.el6.x86_64
iSCSI version:: iscsi-initiator-utils-6.2.0.873-13.x86_64

Command:: iscsiadm --mode node --logoutall=all
retCode:21
output: ''
Error:iscsiadm: could not read session targetname: 5
        iscsiadm: could not find session info for session61
        iscsiadm: No matching sessions found

/var/log/messages:::::

Sep 22 06:48:10 HN0101 iscsid: iscsid shutting down.
Sep 22 06:48:10 HN0101 kernel: __ratelimit: 115 callbacks suppressed
Sep 22 06:48:10 HN0101 kernel: iscsiuio[26441]: segfault at 2cf ip 0000003081c0c9a1 sp 00007feeb8406dc0 error 4 in libpthread-2.12.so[3081c00000+17000]
Sep 22 06:48:10 HN0101 kernel: iscsi: registered transport (iser)
Sep 22 06:48:10 HN0101 iscsid: iSCSI logger with pid=27887 started!
Sep 22 06:48:11 HN0101 iscsid: iSCSI daemon with pid=27888 started!
Sep 22 06:48:11 HN0101 iscsid: could not read session targetname: 5
Sep 22 06:48:11 HN0101 iscsid: could not find session info for session61

Can anyone help me to know what went wrong here??



Manish Singh

unread,
Sep 30, 2015, 3:01:36 AM9/30/15
to open-iscsi

Dear Mike,

it may be occurring due to following Bug,

https://bugzilla.redhat.com/show_bug.cgi?id=738989


In Our test environment, Core analysis gives the beow backtrace:::

Core was generated by `iscsiuio'.
(gdb) bt
#0  0x0000003081c0c9a1 in pthread_cancel () from /lib64/libpthread.so.0
#1  0x0000000000410d0f in iscsid_cleanup ()
#2  0x0000000000405192 in _start ()
(gdb) q

Adheer Chandravanshi

unread,
Sep 30, 2015, 5:51:43 AM9/30/15
to open-...@googlegroups.com
Hello Manish,

Can you please provide the core dump and iscsiuio logs?

To get iscsiuio logs you need to run iscsiuio with "-d 99" option.
The log file can be found at /var/log/iscsiuio.log.

--
Adheer




Manish Singh

unread,
Sep 30, 2015, 9:47:50 PM9/30/15
to open-iscsi, adheer.cha...@qlogic.com
Hi Adheer,

Thanks for your reply.
 
Please find the core dump attached. I didn't find the iscsiuio logs at the specified location.
core.1440142351.23702.iscsiuio.tgz
Reply all
Reply to author
Forward
0 new messages