public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BISECTED] Suspend regression in v2.6.31 with Lenovo 3000 v200
@ 2010-06-21  7:22 Ozan Çağlayan
  2010-06-21 10:31 ` Ozan Çağlayan
  2010-06-21 16:25 ` Alan Stern
  0 siblings, 2 replies; 10+ messages in thread
From: Ozan Çağlayan @ 2010-06-21  7:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: stern, gregkh, rjw

Hi,

First of all I know that 2.6.31 is not maintained anymore and I don't know if 
the problem still exists in kernels > 2.6.31 as I don't have any hardware to 
reproduce it.

The users are just regular users which are not able to test the newer kernels.

What I've found out is that the following commit broke suspend-to-ram on their
Lenovo 3000 v200 (2 separate bug reports confirming that reverting fixed the 
issue):


commit 4f0e35f03db2673dc86ee940dcaab5f8f422dc81
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Fri Jan 8 11:18:20 2010 -0500

    USB: EHCI & UHCI: fix race between root-hub suspend and port resume

    commit cec3a53c7fe794237b582e8e77fc0e48465e65ee upstream.

    This patch (as1321) fixes a problem with EHCI and UHCI root-hub
    suspends: If the suspend occurs while a port is trying to resume, the
    resume doesn't finish and simply gets lost.  When remote wakeup is
    enabled, this is undesirable behavior.

    The patch checks first to see if any port resumes are in progress, and
    if they are then it fails the root-hub suspend with -EBUSY.

    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Their dmesg propagates the same error just before suspending and the system 
instantly resumes back:

[ 2995.328808] PM: Syncing filesystems ... done.
[ 2995.417778] Stopping fuse filesystems.
[ 2995.417786] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 2995.436558] Stopping normal filesystems.
[ 2995.551470] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) 
done.
[ 2995.551558] Suspending console(s) (use no_console_suspend to debug)
[ 2995.551923] pci 0000:00:02.0: PCI INT A disabled
[ 2995.591204] btusb_bulk_complete: hci0 urb f1d1e600 failed to resubmit (1)
[ 2995.592197] btusb_bulk_complete: hci0 urb f1d1e680 failed to resubmit (1)
[ 2995.593200] btusb_intr_complete: hci0 urb f1d1e580 failed to resubmit (1)
[ 2995.642091] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 2995.642263] sd 0:0:0:0: [sda] Stopping disk
[ 2996.619560] pm_op(): usb_dev_suspend+0x0/0xf returns -16  	*******
[ 2996.619562] PM: Device usb2 failed to suspend: error -16  	*******
[ 2996.619564] PM: Some devices failed to suspend 	 		 	*******
[ 2996.723535] sd 0:0:0:0: [sda] Starting disk

and their device usb2 is:

$ cat /sys/bus/usb/devices/usb2/product
EHCI Host Controller

Is it possible that this get fixed in somewhere between v2.6.31.13..HEAD? If 
yes, can you point me to the relevant commit if possible?

Many thanks,

---
Ozan Çağlayan
TUBITAK/UEKAE - Pardus Linux
http://www.pardus.org.tr/eng

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-06-24 15:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21  7:22 [BISECTED] Suspend regression in v2.6.31 with Lenovo 3000 v200 Ozan Çağlayan
2010-06-21 10:31 ` Ozan Çağlayan
2010-06-21 16:25 ` Alan Stern
2010-06-22  9:09   ` Ozan Çağlayan
2010-06-22 14:49     ` Alan Stern
2010-06-22 16:53       ` Ozan Çağlayan
2010-06-22 17:47         ` Alan Stern
2010-06-24  7:01           ` Ozan Çağlayan
2010-06-24 14:10             ` Alan Stern
2010-06-24 15:40               ` Ozan Çağlayan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox