[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100203032452.4c215f9f.undefined@pobox.com>
Date: Wed, 3 Feb 2010 03:24:52 -0600
From: Corey Wright <undefined@...ox.com>
To: Greg KH <gregkh@...e.de>, Alan Stern <stern@...land.harvard.edu>,
stable@...nel.org, linux-kernel@...r.kernel.org
Subject: regression in 2.6.27.45 with usb and suspend-to-disk
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@...puter:~# 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@...puter:~# cat /sys/power/disk
[platform] test testproc shutdown reboot
root@...puter:~# cat /sys/power/state
standby mem disk
root@...puter:~# echo disk >/sys/power/state
<suspends to disk, powers off, and is manually powered back on>
root@...puter:~# echo disk >/sys/power/state
bash: echo: write error: Device or resource busy
root@...puter:~# 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@...puter:~# 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@...puter:~# cat /sys/power/disk
[platform] test testproc shutdown reboot
root@...puter:~# cat /sys/power/state
standby mem disk
root@...puter:~# echo disk >/sys/power/state
<suspends to disk, powers off, and is manually powered back on>
root@...puter:~# 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@...ox.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists