* [Bug 15095] New: ib_srp module removal triggers circular locking complaint
@ 2010-01-20 19:06 bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
[not found] ` <bug-15095-11804-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2010-01-20 19:06 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
http://bugzilla.kernel.org/show_bug.cgi?id=15095
Summary: ib_srp module removal triggers circular locking
complaint
Product: Drivers
Version: 2.5
Kernel Version: 2.6.33-rc3 (infiniband.git tree, for-next branch, last
commit dates from Thu Jan 14 12:23:37 2010 -0800)
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Infiniband/RDMA
AssignedTo: drivers_infiniband-rdma-ztI5WcYan/vQLgFONoPN62D2FQJk+8+b@public.gmane.org
ReportedBy: bart.vanassche-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Regression: No
Created an attachment (id=24662)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24662)
Kernel log
Removing the ib_srp kernel module often (but not always) triggers a kernel
complaint about a possible circular locking dependency.
That complaint is triggered by the following script:
#!/bin/sh
while [ -e /sys/module/ib_srp ]
do
rmmod ib_srp || sleep 1
done
modprobe ib_srp "${1:-srp_sg_tablesize=128}"
ibsrpdm -c -d /dev/infiniband/umad0 \
| while read target_info
do
echo "${target_info}"
echo "${target_info}" > /sys/class/infiniband_srp/srp-mlx4_0-1/add_target
done
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bug 15095] New: ib_srp module removal triggers circular locking complaint
[not found] ` <bug-15095-11804-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
@ 2010-01-20 19:15 ` Roland Dreier
0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2010-01-20 19:15 UTC (permalink / raw)
To: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Looks like a sysfs problem or maybe a SCSI - sysfs interaction that
doesn't have much to do with ib_srp in particular. The two locks
involved, namely s_active and attribute_container_mutex, are completely
outside of ib_srp and are taken out of its control.
This is probably triggering now because of the new commit 846f9974
("sysfs: Add lockdep annotations for the sysfs active reference") that
is tracking s_active nesting now.
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-20 19:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 19:06 [Bug 15095] New: ib_srp module removal triggers circular locking complaint bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
[not found] ` <bug-15095-11804-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
2010-01-20 19:15 ` Roland Dreier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox