From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 97641] New: Repeated unit attentions trigger initiator lockup
Date: Sun, 03 May 2015 09:24:49 +0000 [thread overview]
Message-ID: <bug-97641-11613@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=97641
Bug ID: 97641
Summary: Repeated unit attentions trigger initiator lockup
Product: IO/Storage
Version: 2.5
Kernel Version: 4.1-rc1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SCSI
Assignee: linux-scsi@vger.kernel.org
Reporter: bvanassche@acm.org
Regression: No
Created attachment 175651
--> https://bugzilla.kernel.org/attachment.cgi?id=175651&action=edit
initiator-deadlock.txt
Two virtual machines were configured such that one had the role of iSCSI target
system and the other of iSCSI initiator system. After iSCSI login a fio job was
started on the initiator system against LUN 0 of the target system. When I
start
run the following test at the target side:
# cd /sys/kernel/scst_tgt/targets/iscsi/iqn.2012-06.be.bva\:tgt1/luns/
# while true; do echo del 1 > mgmt; echo add diskf0 1 > mgmt; done
that results in the following error messages at the initiator side:
iscsid: Can not allocate memory for receive context.
kernel: [ 231.226002] connection1:0: detected conn error (1011)
and exactly 30 seconds later the initiator system locks up reporting the
following (see also the initiator-deadlock.txt attachment):
[ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ]
4.1.0-rc1-debug+ #2 Not tainted
------------------------------------------------------
swapper/0/0 [HC0[0]:SC1[1]:HE0:SE0] is trying to acquire:
(&(&session->frwd_lock)->rlock){+.-...}, at: [<ffffffffc0185f42>]
iscsi_eh_cmd_timed_out+0x42/0x330 [libiscsi]
and this task is already holding:
(&(&q->__queue_lock)->rlock){-.-...}, at: [<ffffffff81328037>]
blk_rq_timed_out_timer+0x27/0x130
which would create a new lock dependency:
(&(&q->__queue_lock)->rlock){-.-...} ->
(&(&session->frwd_lock)->rlock){+.-...}
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2015-05-03 9:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-03 9:24 bugzilla-daemon [this message]
2015-05-03 9:37 ` [Bug 97641] Repeated unit attentions trigger initiator lockup bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-97641-11613@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.