Hello Chris,

on my system a partial revert solves the problem:

diff --git a/usr/iscsid_req.c b/usr/iscsid_req.c
index a3aba6d..3bbf5b9 100644
--- a/usr/iscsid_req.c
+++ b/usr/iscsid_req.c
@@ -156,7 +156,7 @@ int iscsid_response(int fd, iscsiadm_cmd_e cmd,
iscsiadm_rsp_t *rsp,
                if (!err) {
                        if (poll_wait)
                                continue;
-                       return ISCSI_ERR_SESSION_NOT_CONNECTED;
+                       return ISCSI_ERR_ISCSID_NOTCONN;
                } else if (err < 0) {
                        if (errno == EINTR)
                                continue;

[    8.110782] SCSI subsystem initialized
[    8.121305] Loading iSCSI transport class v2.0-870.
[    8.136984] iscsi: registered transport (tcp)
iscsistart: version 2.1.3+
iscsistart: Logging into iqn.2000-01.de.xypron:disk1 192.168.0.1:3260,1
iscsistart: initiator reported error (15 - session exists)
iscsistart: version 2.1.3+
[   11.116244] dwmac-sun8i 1c30000.ethernet eth0: Link is Up -
1Gbps/Full - flow control rx/tx
[   11.124686] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
iscsistart: Logging into iqn.2000-01.de.xypron:disk1 192.[   11.231909]
scsi host0: iSCSI Initiator over TCP/IP
168.0.1:3260,1
iscsistart: Connection1:0 to [target: iqn.2000-01.de.xypron:disk1, po[
 11.279574] scsi 0:0:0:0: RAID              IET      Controller
0001 PQ: 0 ANSI: 5
rtal: 192.168.0.1,3260] through [iface: default] is operational now
[   11.301919] scsi 0:0:0:1: Direct-Access     IET      VIRTUAL-DISK
 0001 PQ: 0 ANSI: 5
[   11.327734] sd 0:0:0:1: Power-on or device reset occurred
[   11.336418] sd 0:0:0:1: [sda] 100663296 512-byte logical blocks:
(51.5 GB/48.0 GiB)
[   11.344182] sd 0:0:0:1: [sda] 4096-byte physical blocks
[   11.350139] sd 0:0:0:1: [sda] Write Protect is off
[   11.356083] sd 0:0:0:1: [sda] Write cache: enabled, read cache:
enabled, supports DPO and FUA
[   11.392053]  sda: sda1 sda2 sda3 sda4
[   11.403161] sd 0:0:0:1: [sda] Attached SCSI disk

Maybe you want to check this with your short-time disabling of network
in QEMU.

Best regards

Heinrich

Reply via email to