Red Hat Bugzilla – Bug 865838
Hibernation broken after first pm-suspend-hybrid
Last modified: 2013-07-04 04:13:19 EDT
Created attachment 626060 [details]
Output of pm-utils-bugreport-info.sh before the first pm-suspend-hybrid
Description of problem:
After pm-suspend-hybrid, when I try to do pm-hibernate or pm-suspend-hybrid, it doesn't work. I can see memory image written to swap, but fter that, the system doesn't suspend/hibernate, but returns to the desktop.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot Fedora
2. # pm-suspend-hybrid
3. wake the machine up
4. # pm-suspend-hybrid
System writes memory image to swap and then returns to the desktop.
System writes memory image to swap and suspends.
Using pm-testday provided live USB drive. Machine profile: http://www.smolts.org/client/show/pub_29d45dd7-df6b-4468-8b0c-f26537abea6b
Created attachment 626061 [details]
Output of pm-utils-bugreport-info.sh after the first pm-suspend-hybrid
Created attachment 626062 [details]
Output of dmesg
Note: after the second (=non-functional) pm-suspend-hybrid, I also tried pm-suspend and pm-hibernate. I logged the dmesg output after these actions.
It seems you are also affected by bug 866487, so the functionality of pm-hibernate became pm-suspend-hybrid. And it seems you have then trouble with suspend (suspend part of pm-suspend-hybrid). Currently I have no idea why it fails, logs seems OK. Could you provide output of pm-utils-bugreport-info.sh after the failed pm-suspend?
Created attachment 628767 [details]
Output of pm-utils-bugreport-info.sh after the second pm-suspend-hybrid
Thanks, from the logs it seems the kernel has trouble accessing the swap:
echo -n "suspend" > /sys/power/disk
echo -n "disk" > /sys/power/state
echo: write error: No such device
sd 4:0:0:0: [sdb] Media Changed
PM: Swap header not found!
So the swap was on the second partition of USB flash disk (/dev/sdb2) and for the second hybrid suspend it gets unaccessible.
Maybe it is related to bug 865466.
Reassigning to kernel.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.
(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)
More information and reason for this action is here:
Is this still a problem with 3.9 based F19 kernels?
This bug is being closed with INSUFFICIENT_DATA as there has not been a
response in 2 weeks. If you are still experiencing this issue,
please reopen and attach the relevant data from the latest kernel you are
running and any data that might have been requested previously.