NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/50208: iscsi-target prints scary messages
>Number: 50208
>Category: bin
>Synopsis: iscsi-target prints scary messages
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 04 15:25:00 +0000 2015
>Originator: Andreas Gustafsson
>Release: NetBSD-current, source date 2015.09.04.07.38.05
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:
Now that PR 49616 is fixed, I figured I'd try to create a minimal
automated iSCSI test.
I was able to successfully export an iSCSI target and attach it to an
initiator running on the same machine, and this successfully attached
a new sd device that appears to work. However, iscsi-target logged
some messages on the console that leave me less than confident that
everything is actually working correctly.
This problem is not new; I tried running the same test against
-current sources from early 2011 with the same result.
>How-To-Repeat:
On a machine that is not already using iSCSI and has a non-empty
hostname, execute the following as root in a Bourne shell:
# Start target with default configuration from /etc/iscsi/targets
iscsi-target
# Wait for target to start
sleep 5
# Start initiator per example in iscsictl(8)
modload iscsi
modstat iscsi
iscsid
iscsictl add_send_target -a localhost
iscsictl refresh_targets
iscsictl list_targets
iscsictl login -P 2
# Wait for any new messages to appear in /var/log/messages
sleep 5
grep 'iscsi.*ERROR' /var/log/messages
This will show messages like the following:
Sep 4 15:15:33 foo iscsi-target: pid 1607:/tmp/bracket/build/2015.09.04.07.38.05-i386/src/external/bsd/iscsi/lib/../dist/src/lib/target.c:1223: ***ERROR*** CmdSN
Sep 4 15:15:33 foo iscsi-target: pid 1607:/tmp/bracket/build/2015.09.04.07.38.05-i386/src/external/bsd/iscsi/lib/../dist/src/lib/target.c:1388: ***ERROR*** logout_command_t() failed
Sep 4 15:15:33 foo iscsi-target: pid 1607:/tmp/bracket/build/2015.09.04.07.38.05-i386/src/external/bsd/iscsi/lib/../dist/src/lib/target.c:1502: ***ERROR*** execute_t() failed
Sep 4 15:15:33 foo iscsi-target: pid 1607:/tmp/bracket/build/2015.09.04.07.38.05-i386/src/external/bsd/iscsi/lib/../dist/src/lib/target.c:1108: ***ERROR*** cmd.tsih 0 not found
>Fix:
Home |
Main Index |
Thread Index |
Old Index