Re: regression in 2.6.27.45 with usb and suspend-to-disk

From: Alan Stern
Date: Wed Feb 03 2010 - 13:09:53 EST


On Wed, 3 Feb 2010, Corey Wright wrote:

> > Please build a kernel with CONFIG_USB_DEBUG enabled and post a dmesg
> > log showing the problem during the second hibernation attempt.
>
> [ 675.443474] PM: Syncing filesystems ... done.
> [ 675.576353] Freezing user space processes ... (elapsed 0.00 seconds)
> done.
> [ 675.606968] Freezing remaining freezable tasks ... (elapsed 0.00
> seconds) done.
> [ 675.629249] PM: Shrinking memory... -\|done (3129 pages freed)
> [ 679.547522] PM: Freed 12516 kbytes in 3.90 seconds (3.20 MB/s)
> [ 679.565065] Suspending console(s) (use no_console_suspend to debug)
> [ 679.585425] uhci_hcd 0000:00:10.0: release dev 2 ep81-INT, period 8,
> phase 4, 118 us
> [ 679.585453] hub 2-0:1.0: hub_suspend
> [ 679.585460] usb usb2: bus suspend
> [ 679.585463] usb usb2: suspend_rh
> [ 679.585534] hub 1-0:1.0: hub_suspend
> [ 679.585538] usb usb1: bus suspend
> [ 679.585542] ehci_hcd 0000:00:10.4: suspend root hub
> [ 679.585547] ehci_hcd 0000:00:10.4: suspend failed because port 8 is
> resuming

There you have it. What is the USB device attached to port 8 on bus 1
(i.e., /sys/bus/usb/devices/1-8)?

And what happens if you do:

echo disabled >/sys/bus/usb/devices/1-8/power/wakeup

before trying to hibernate?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/