Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334037 - regression(?) in kernel version 2.6.34.4 (usb_suspend)
Summary: regression(?) in kernel version 2.6.34.4 (usb_suspend)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.35
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-23 06:36 UTC by Xake
Modified: 2010-12-21 14:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2010-08-23 06:36:53 UTC
I compiled and tried hardened-sources-2.6.34-r2 out, and noticed that my mouse and keyboard connected to USB started to power down, and it took around half a second from I started typing til they started to react. After about one second they power down again.

Looking into it I found that this happened in vanilla too between of 2.6.34.3 and 2.6.34.4, and after a git bisect I found the culprit to be the following commit:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=commitdiff;h=631b2d37894bb2a891d8897e1861362a23dde4d9;hp=df9f1d0df4208a41410922114eb73cfeba254803

Tested workarounds are to revert this commit or disable USB_SUSPEND.
Futher testings shows that this does not happed on 2.6.36-rc2 (have not tested 2.6.35).

Since I do not really know if this is a "supposed to work that way" or "broken behavior" I file it here for further review.
Comment 1 Oleg Korsak 2010-08-26 02:22:07 UTC
Confirming same with gentoo-sources-2.6.34-r5 on stable amd64. -r1 was ok.
Comment 2 Oleg Korsak 2010-08-26 02:38:53 UTC
oh, sorry. Confirming same problem with gentoo-sources-2.6.34-r6 :)
Comment 3 Oleg Korsak 2010-08-26 18:42:07 UTC
After disabling USB_SUSPEND everything works... but it's a workaround.
Comment 4 Mike Pagano gentoo-dev 2010-09-03 12:43:53 UTC
Can you test the latest 2.6.35 which is gentoo-sources-2.6.35-r5 atm.
Comment 5 Oleg Korsak 2010-09-03 17:30:21 UTC
(In reply to comment #4)
> Can you test the latest 2.6.35 which is gentoo-sources-2.6.35-r5 atm.
> 

Works ok with 2.6.35, but it's still not stable
Comment 6 Mike Pagano gentoo-dev 2010-12-17 13:41:50 UTC
Please confirm the status of this with gentoo-sources-2.6.36-r5 and if it's still not stable, please give a little more detail what that means.

Comment 7 Xake 2010-12-18 01:23:51 UTC
>=2.6.35 works fine for me. i think oleg meant portage-stable?
Comment 8 Mike Pagano gentoo-dev 2010-12-18 01:43:03 UTC
ok., thanks, that makes sense, now. Thanks for clearing that up for me.
Comment 9 Mike Pagano gentoo-dev 2010-12-21 14:26:20 UTC
gentoo-sources 2.6.35 and 2.6.36 stable on amd64