Kernel reported invalid or unknown error code?

594 views
Skip to first unread message

dbue...@cablemo.com

unread,
Aug 5, 2016, 8:34:22 PM8/5/16
to open-iscsi
Hello All,

I'm seeing these messages in my messages log, as well as experiencing corosync problems around the same time.  I have searched high and low for information on this error code and have found very little.

From /var/log/messages:
iscsid: Kernel reported iSCSI connection 1:0 error (1022 - Invalid or unknown error code) state (3)
iscsid: connection1:0 is operational after recovery (1 attempts)
iscsid: Kernel reported iSCSI connection 1:0 error (1022 - Invalid or unknown error code) state (3)
iscsid: connection1:0 is operational after recovery (1 attempts)

The system is CentOS 7.2, running iscsi-initiator-utils-6.2.0.873-32.
I'm connecting to a QNAP TurboNAS 869 as the target.  The target isn't logging any sort of error messages that can help in the debugging of the issue.
I did have Jumbo Frames enabled on the switch and set MTU to 9000 on the initiators and the target, but set everything back to 1500 after problems began with no discernible effect.

If anyone could provide some insight as to why I'm seeing those messages and how to correct the problem, I would appreciate it greatly.

Thank you for your time.

Regards,
David A. Buechler
System Administrator
CableAmerica Missouri LLC



Mike Christie

unread,
Aug 8, 2016, 11:47:07 AM8/8/16
to open-...@googlegroups.com
On 08/05/2016 07:34 PM, dbue...@cablemo.com wrote:
> Hello All,
>
> I'm seeing these messages in my messages log, as well as experiencing
> corosync problems around the same time. I have searched high and low
> for information on this error code and have found very little.
>
> From /var/log/messages:
> iscsid: Kernel reported iSCSI connection 1:0 error (1022 - Invalid or
> unknown error code) state (3)
> iscsid: connection1:0 is operational after recovery (1 attempts)
> iscsid: Kernel reported iSCSI connection 1:0 error (1022 - Invalid or
> unknown error code) state (3)
> iscsid: connection1:0 is operational after recovery (1 attempts)

Is there also something about a iscsi ping timing out in the initiator
kernel log? Something like:

"ping timeout of %d secs expired"

?

David Buechler

unread,
Aug 8, 2016, 8:06:40 PM8/8/16
to open-...@googlegroups.com
One in the last 24 hours.

kernel: connection1:0: ping timeout of 15 secs expired, recv timeout 5,
last rx 11904769136, last ping 11904774144, now 11904789184

I've seen them before but have been thus far unable to duplicate any
network fault.

Regards,
David A. Buechler
System Administrator
CableAmerica Missouri LLC

Reply all
Reply to author
Forward
0 new messages