Bug 42975 - oops: khubd when putting laptop to sleep
Summary: oops: khubd when putting laptop to sleep
Status: RESOLVED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-22 03:46 UTC by Gene
Modified: 2015-06-11 22:50 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.3.x
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
system log when khubd took 100% cpu after lid close (3.71 KB, text/plain)
2012-03-22 03:46 UTC, Gene
Details
ver_linux output (1.67 KB, text/plain)
2012-03-22 03:48 UTC, Gene
Details
lspci -vvv (12.34 KB, text/plain)
2012-03-22 03:49 UTC, Gene
Details
cell phone image of oops (57 bytes, text/plain)
2012-03-22 03:53 UTC, Gene
Details
khubd.txt (3.61 KB, text/plain)
2012-04-14 02:08 UTC, Artem S. Tashkinov
Details

Description Gene 2012-03-22 03:46:53 UTC
Created attachment 72676 [details]
system log when khubd took 100% cpu after lid close

Does not happen every time - but seems to be more likely after a sleep them being used for a day and using bluetooth mouse.

Scenario A) Close laptop lid - does not sleep - re-open lid and find khubd with 100% CPU according to top. System log is attached (file log-khubd-100pctcpu)

Scenario B) Close laptop lid - does not sleep - open lid see oops on screen. Attached cell phone pic of screen: (file name: oops-2012-03-21_18.38.37.jpg)
(virtualbox module is loaded but not used - so kernel is tainted from that).


Problem did not happen under 3.2.x

This might be similar to:https://bugzilla.kernel.org/show_bug.cgi?id=42788

laptop is lenovo w520 - ver_linux output attached and lspci -vvv.
 

gene
Comment 1 Gene 2012-03-22 03:48:26 UTC
Created attachment 72677 [details]
ver_linux output
Comment 2 Gene 2012-03-22 03:49:42 UTC
Created attachment 72678 [details]
lspci -vvv
Comment 3 Gene 2012-03-22 03:53:55 UTC
Created attachment 72679 [details]
cell phone image of oops
Comment 4 Alessandro Crismani 2012-04-02 13:45:58 UTC
I have the same problem,

khubd goes on rampage when I want to shutdown or suspend, preventing both actions from successfully completing.

This happens when I use my bluetooth headset, in which case I am unable to perform a clean shutdown because the system hangs waiting for khubd to stop.

If I do not use the headset, the shutdown process is a breeze.

Alessandro
Comment 5 Vasyl Demin 2012-04-09 20:14:50 UTC
Same problem with bluetooth mouse.
Arch Linux x86_64, linux 3.3.1, laptop Thinkpad T510
Comment 6 Artem S. Tashkinov 2012-04-14 02:08:46 UTC
Created attachment 72917 [details]
khubd.txt

More or less the same here.

No 100% CPU eating process, I just cannot put my _desktop_ PC to sleep after I had some troubles with a (probably faulty) USB flash stick.
Comment 7 Artem S. Tashkinov 2012-04-14 02:17:53 UTC
(In reply to comment #0)

khubd is a USB arbitrator process ( http://www.linuxjournal.com/article/8093 ) in the kernel, so this bug is in the USB subsystem, not somewhere else.

If you can reproduce this bug every time you boot, probably you should try finding the bad commit using git-bisect (of course, you'll have to learn how to compile and use vanillla kernel).

Note You need to log in before you can comment on or make changes to this bug.