Bugzilla – Bug 803098
hibernation does not work
Last modified: 2013-03-27 08:38:40 UTC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:18.0) Gecko/20100101 Firefox/18.0 Hibernation does not work on my FS Amilo Xi 2550 (Note that it was working once; however not for 12.2). Instead it simply powers off without any message on the screen and then boots normally as if there would have been a normal system shutdown. Reproducible: Always
Created attachment 524132 [details] /var/log/messages
Created attachment 524133 [details] yast2 install logs
I faced a similar problem when I had my Android phone connected to my computer. Hibernation went through fine as soon as I unplugged my phone.
Created attachment 524773 [details] /var/log/messages this time it did not react at all on my hibernation requests sent by pm-hibernate.
Created attachment 524774 [details] pm-suspend.log
I have no idea how to debug this myself, http://en.opensuse.org/openSUSE:Bugreport_Suspend_failure is a dead link ;(
Created attachment 525236 [details] /var/log/messages (plain suspend: nomodeset, shutdown) Having set shutdown method = shutdown compress = n in /etc/suspend.conf and radeon.modeset=0 as kernel parameter the suspend process seems fine now. However when booting again it can not recognize the suspend image in the swap device: (first line on boot is always rsyslogd) PM: loading for hibernation image, Image not found (code -22) Setting splash=n does not improve things either (and there appear to be no further options to try.).
I have inspected my initrd and found out that the file /sbin/resume has not been packaged into the initrd but is required by boot/81-resume.userspace.sh.
Simply add this file to your initrd and it will work.
Created attachment 525451 [details] patch for mkinitrd Here is a patch for mkinitrd; the path for /usr/sbin/resume was wrong. It now works with the Vesa driver without kernel modesetting. However there is a different bug with radeons kernel modesetting (I will file a different report on this).
please look out; I think there are some dups around for this bug.
mkinitrd bug - reassigning
This script is not part of mkinitrd.
Reassigned to maintainer of suspend which contains /lib/mkinitrd/scripts/boot-resume.userspace.sh
This got fixed by Jiri (Slaby) quite some time ago. Changelog of suspend package in openSUSE:12.3 projects mentions: Mon Feb 25 22:36:11 UTC 2013 - jslaby@suse.com - fix path to resume, it's in /usr/sbin (bnc#802882) I wonder why bug#802882 is still open. Let's take this bug to further track things if something should still be unresolved. *** This bug has been marked as a duplicate of bug 802882 ***