All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corey Wright <undefined@pobox.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg KH <gregkh@suse.de>, <stable@kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: regression in 2.6.27.45 with usb and suspend-to-disk
Date: Wed, 3 Feb 2010 11:59:56 -0600	[thread overview]
Message-ID: <20100203115956.cb479447.undefined@pobox.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1002031004210.1540-100000@iolanthe.rowland.org>

On Wed, 3 Feb 2010 10:05:27 -0500 (EST)
Alan Stern <stern@rowland.harvard.edu> wrote:

> On Wed, 3 Feb 2010, Corey Wright wrote:
> 
> > 2.6.27.45 will only suspend-to-disk once without rebooting.  every
> > attempt to suspend-to-disk after the first attempt results in "pm_op():
> > usb_dev_freeze +0x0/0xa returns -16" and "PM: Device usb1 failed to
> > freeze: error -16".  reverting commit
> > 4fbebe26d7a5eed6c1900bf2142b68af7df38462
> > (http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=commit;h=4fbebe26d7a5eed6c1900bf2142b68af7df38462)
> > fixes the problem.
> > 
> > this problem exhibits itself on both a x86-64 desktop and i386 netbook
> > (though the reverted commit was only tested on the x86-64 desktop).  the
> > affected computers are different architectures, different distributions
> > (debian lenny vs ubuntu hardy), and different kernel configs (but
> > unchanged since 2.6.27.23), so i am fairly certain this is a regression
> > in 2.6.27.45 and not the result of an environment change.
> > 
> > i normally use the pm-hibernate command to suspend to disk, but to
> > isolate the problem i used the kernel interfaces directly (as
> > demonstrated in the transcript below).
> > 
> > i can provide any other information necessary (eg .config, dmesg, lsusb)
> > and i am willing to test patches.
> 
> 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...  \b-\b\\b|\bdone (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
[  679.585551] usb usb1: bus suspend fail, err -16
[  679.585554] hub 1-0:1.0: hub_resume
[  679.585585] hub 1-0:1.0: port 7: status 0503 change 0000
[  679.585590] hub 1-0:1.0: port 8: status 0503 change 0000
[  679.585595] pm_op(): usb_dev_freeze+0x0/0xa returns -16
[  679.585607] PM: Device usb1 failed to freeze: error -16
[  679.585696] usb usb2: usb resume
[  679.585699] usb usb2: wakeup_rh
[  679.624016] hub 2-0:1.0: hub_resume
[  679.624026] hub 2-0:1.0: port 1: status 0303 change 0000
[  679.624051] uhci_hcd 0000:00:10.0: reserve dev 2 ep81-INT, period 8,
phase 4, 118 us
[  679.722862] Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 8 chg
0000 evt 0000
[  679.747221] hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000
[  679.747251] done.

corey
-- 
undefined@pobox.com

  reply	other threads:[~2010-02-03 18:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03  9:24 regression in 2.6.27.45 with usb and suspend-to-disk Corey Wright
2010-02-03 15:05 ` Alan Stern
2010-02-03 17:59   ` Corey Wright [this message]
2010-02-03 18:09     ` Alan Stern
2010-02-03 19:47       ` Corey Wright
2010-02-03 20:31         ` Alan Stern
2010-02-04  7:46           ` Corey Wright
2010-02-04 19:15             ` Alan Stern
2010-02-05  2:52               ` Corey Wright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100203115956.cb479447.undefined@pobox.com \
    --to=undefined@pobox.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.