lsusb hangs forever
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usbutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is a spinoff of Bug 570049, as suggesgted by Dave Gilbert there.
I've been experiencing the same issue on my Ubuntu 11.04 or 12.04 installations. Usb devices suddenly stops working after I plug/unplug some of them. I have a USB-Serial converte and an external SD-card reader and both seem to trigger the problem Only "workaround" is to reboot the system (which is not a solution, obviously). As it looks like from dmesg, the crash of khubd is at the root of the problem, and being a kernel thread can't be "restarted" other than rebooting.
It looks like a common problem, across different distributions.
Both the symptom (lsusb hanging) and what looks like the underlying cause are always the same: a crash of khubd kernel thread is always there, with a similar stack trace in every case, triggered by the same pattern: usb_stor_disconnect -> release_everything -> kthread_stop -> ...
Also attaching a collection of logs from my system. Below the khubd stack trace from dmesg:
42722.411019] Call Trace:
[42722.411030] [<ffffffff815c8
[42722.411038] [<ffffffff81057
[42722.411044] [<ffffffff815c8
[42722.411049] [<ffffffff8105f
[42722.411056] [<ffffffff815c8
[42722.411061] [<ffffffff81087
[42722.411068] [<ffffffffa0237
[42722.411074] [<ffffffffa0238
[42722.411081] [<ffffffff81444
[42722.411089] [<ffffffff813bb
[42722.411093] [<ffffffff813bb
[42722.411097] [<ffffffff813ba
Found this patch discussion:
https:/ /patchwork. kernel. org/patch/ 1251681/
which looks relevant for this issue, I think.