Bug 8498
Summary: | BUG: 2.6.22-rc1+ resume after suspend-to-disk broken when USB compiled in. | ||
---|---|---|---|
Product: | ACPI | Reporter: | Avuton Olrich (avuton) |
Component: | Power-Sleep-Wake | Assignee: | Alan Stern (stern) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | acpi-bugzilla, pavel, stern |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.22-rc1-d3a36fb82a0864a85e238ac946817030a18c5f9a | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216 | ||
Attachments: |
dmesg
The config used to get this dmesg |
Description
Avuton Olrich
2007-05-17 21:53:08 UTC
Created attachment 11533 [details]
dmesg
This is the bad dmesg, contains the BUG and more
Created attachment 11534 [details]
The config used to get this dmesg
Bisect this patch is the guilty party. 6b157c9bf3bace6eeb4a973da63923ef24995cce is first bad commit commit 6b157c9bf3bace6eeb4a973da63923ef24995cce Author: Alan Stern <stern@rowland.harvard.edu> Date: Tue Mar 13 16:37:30 2007 -0400 USB: separate autosuspend from external suspend This patch (as866) adds new entry points for external USB device suspend and resume requests, as opposed to internally-generated autosuspend or autoresume. It also changes the existing remote-wakeup code paths to use the new routines, since remote wakeup is not the same as autoresume. As part of the change, it turns out to be necessary to do remote wakeup of root hubs from a workqueue. We had been using khubd, but it does autoresume rather than an external resume. Using the ksuspend_usb_wq workqueue for this purpose seemed a logical choice. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> (You can probably work around this by unloading usb before suspend). Please try applying this patch: http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-04-usb/usb-make-the-autosuspend-workqueue-thread-freezable.patch If it doesn't help, then build a kernel with CONFIG_USB_DEBUG turned on (and that patch applied) and attach the dmesg log showing the problem. Aah, That works, thanks for the fix! Is this in the queue for -rc3? The patch is in Greg KH's queue. I don't know when he is planning on sending it to Linus, but if we inform him that it solves your suspend problem then he will probably expedite matters. I'll let him know. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7ed92f1a149dddc3cb537ccd7441e98adac12c3e shipped in Linux-2.6.22-rc3 closed. |