From: Corey Wright <undefined@pobox.com>
To: Greg KH <gregkh@suse.de>, Alan Stern <stern@rowland.harvard.edu>,
stable@kernel.org, linux-kernel@vger.kernel.org
Subject: regression in 2.6.27.45 with usb and suspend-to-disk
Date: Wed, 3 Feb 2010 03:24:52 -0600 [thread overview]
Message-ID: <20100203032452.4c215f9f.undefined@pobox.com> (raw)
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.
transcript of problem:
root@computer:~# uname -a
Linux computer 2.6.27.45+1-k8 #1 SMP Wed Feb 3 07:06:38 UTC 2010 x86_64
GNU/Linux
root@computer:~# cat /sys/power/disk
[platform] test testproc shutdown reboot
root@computer:~# cat /sys/power/state
standby mem disk
root@computer:~# echo disk >/sys/power/state
<suspends to disk, powers off, and is manually powered back on>
root@computer:~# echo disk >/sys/power/state
bash: echo: write error: Device or resource busy
root@computer:~# tail /var/log/kern.log | grep -i pm
Feb 3 01:45:25 computer kernel: [ 263.666343] PM: Syncing filesystems ...
done.
Feb 3 01:45:25 computer kernel: [ 263.887504] PM: Shrinking memory...
done (4347 pages freed)
Feb 3 01:45:25 computer kernel: [ 268.023515] PM: Freed 17388 kbytes in
4.11 seconds (4.23 MB/s)
Feb 3 01:45:25 computer kernel: [ 268.061753] pm_op(): usb_dev_freeze
+0x0/0xa returns -16
Feb 3 01:45:25 computer kernel: [ 268.061769] PM: Device usb1 failed to
freeze: error -16
<revert commit 4fbebe26d7a5eed6c1900bf2142b68af7df38462, rebuild kernel,
install, and reboot>
root@computer:~# uname -a
Linux computer 2.6.27.45+2-k8-revert-as1321 #1 SMP Wed Feb 3 07:56:46 UTC
2010 x86_64 GNU/Linux
root@computer:~# cat /sys/power/disk
[platform] test testproc shutdown reboot
root@computer:~# cat /sys/power/state
standby mem disk
root@computer:~# echo disk >/sys/power/state
<suspends to disk, powers off, and is manually powered back on>
root@computer:~# echo disk >/sys/power/state
<suspends to disk, powers off, and is manually powered back on>
thanks for maintaining and contributing to the 2.6.27 stable kernel series!
corey
--
undefined@pobox.com
next reply other threads:[~2010-02-03 9:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-03 9:24 Corey Wright [this message]
2010-02-03 15:05 ` Alan Stern
2010-02-03 17:59 ` Corey Wright
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=20100203032452.4c215f9f.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome