Description: Ubuntu 13.04
After upgrading to 13.04 suspend and hibernate do not work.
In terminal window following error is displayed: "PM: Some devices failed to suspend". Then the suspend fails and the screensaver gets activated, requiring a password to unlock.
[ 893.962025] PM: Syncing filesystems ... done.
[ 894.030726] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 894.047580] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 894.064140] Suspending console(s) (use no_console_suspend to debug)
[ 894.071511] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 894.085881] alx 0000:03:00.0: PHY SPD/DPLX unresolved :ffff
[ 894.085884] alx 0000:03:00.0 eth1: shutown err(ffffffea)
[ 894.085886] alx 0000:03:00.0: shutdown fail in suspend -5
[ 894.085901] pci_pm_suspend(): alx_suspend+0x0/0x90 [alx] returns -5
[ 894.085906] dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -5
[ 894.085908] PM: Device 0000:03:00.0 failed to suspend async: error -5
[ 894.111147] sd 0:0:0:0: [sda] Stopping disk
[ 894.684692] PM: Some devices failed to suspend
[ 894.684903] ath: phy0: ASPM enabled: 0x43
[ 894.685198] sd 0:0:0:0: [sda] Starting disk
[ 895.442853] PM: resume of devices complete after 758.396 msecs
[ 895.443224] Restarting tasks ... done.
[ 895.445509] video LNXVIDEO:00: Restoring backlight state
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2012-12-20 (166 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
Package: pm-utils 1.4.1-9git1
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
UpgradeStatus: Upgraded to raring on 2013-04-28 (37 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
* Impact: suspend regression in 13.04 with Qualcomm Atheros Gigabit ethernet devices
* Test case: Suspend is broken in current raring when the alx module is loaded, should work again with the fix; needs to be tested on actual hardware, see comment 56 for positive testing result that this pm-utils workaround works.
* Regression potential: If the script is malformed, it could potentially break suspend on other devices; this should generate an error in /var/log/pm-suspend.log. Please test suspend on devices without the alx module as well (for the record, Martin Pitt did that on his ThinkPad X201)