Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 17:54:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 219556] iSCSI subsystem blindly announces non-existing file (was: emulators/virtualbox-ose: VBoxSVC consumes 100% CPU and does not exit)
Message-ID:  <bug-219556-26505-0SyTtjAmS6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219556-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219556-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219556

--- Comment #6 from Martin Birgmeier <la5lbtyi@aon.at> ---
This indeed works, I do not even need to rescan the bus on the client. The
following message is logged when trying "dd if=3D/dev/da0 of=3D/dev/null bs=
=3D1m
count=3D1" on the client after making the target available:

May 31 19:43:46 mizar kernel: (da0:iscsi1:0:0:0): Capacity data has changed

However, I then proceeded to remove the target from the configuration. On t=
he
client this leads to the message

May 31 17:44:41 mizar iscsid[4380]: hal.xyzzy (iqn.1995-06.xyzzy.hal:disk1):
target returned error: Not found
May 31 19:44:41 mizar kernel: WARNING: hal.xyzzy (iqn.1995-06.xyzzy.hal:dis=
k1):
connection error; reconnecting
May 31 19:44:41 mizar iscsid[4220]: child process 4380 terminated with exit
status 1

But device da0 on the client still exists. If I now do dd if=3D/dev/da0
of=3D/dev/null bs=3D1m count=3D1" on the client again, I get a non-interrup=
tible hang
until I make the target available again, and even then the hang only termin=
ates
after a timeout of 60 seconds:

May 31 19:45:42 mizar iscsid[4387]: hal.xyzzy (iqn.1995-06.xyzzy.hal:disk1):
target returned error: Not found
May 31 19:45:42 mizar kernel: WARNING: hal.xyzzy (iqn.1995-06.xyzzy.hal:dis=
k1):
login timed out after 61 seconds; reconnecting
May 31 19:45:42 mizar iscsid[4220]: child process 4387 terminated with exit
status 1
May 31 19:46:43 mizar kernel: WARNING: hal.xyzzy (iqn.1995-06.xyzzy.hal:dis=
k1):
login timed out after 61 seconds; reconnecting

The dd then succeeds.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219556-26505-0SyTtjAmS6>