Am Dienstag, 11. Dezember 2012, 22:15:40 schrieb Bjoern Voigt:
Jan Ritzerfeld wrote:
Which openSUSE version do you use?
Thanks. I use openSUSE 12.2
Is this a clean installtion or an update?
with the latest kernel (3.6.9-1-desktop) from Kernel:stable:standard repository.
By any chance, do you (or grub) try to resume with the wrong kernel? /usr/share/doc/packages/suspend/HOWTO states that very clearly. The suspend package includes a mkinitrd script that seems to integrate the resume stuff into the normal initrd.
[...] Yes, at first there was a problem with my TV card. I fixed this driver problem earlier with a custom file. After that I did not see any errors or warnings in /var/log/pm-suspend.log, but hibernation with default method (SLEEP_MODULE="uswsusp") does not work.
Okay, I now found this setting, too. :)
What is your default hibernation mode? That is, what is the output of "cat /sys/power/disk" before echoing "platform" to it? It should be platform (see /etc/suspend.conf), however, lets check this first.
"platform" is my default hibernation mode.
AFAIK the hibernation mode is set in /etc/suspend.conf .
I did not find a matching variable for hibernation method in /etc/suspend.conf.
My 12.2 installation has it in line 21. BTW, how does /var/lib/s2disk.conf look like?
I set "splash n" in /etc/suspend.conf because of https://bugzilla.novell.com/show_bug.cgi?id=782817, but I did not test, if this change is necessary.
https://bugzilla.novell.com/show_bug.cgi?id=728656 seems interesting, too. At least there are some hints about debugging.
I changed the default hibernation method with a custom file
I must admit that I do not completely understand the hibernation process. However, it looks like the "uswsusp" module simply calls s2disk. And s2disk is contained in the suspend package, that includes /etc/suspend.conf, too. Thus, I assume that /etc/suspend.conf is the right configuration to look at. However, /etc/suspend.conf says in its header "_If_ you enter stuff here, it will be copied to that file [/var/lib/s2disk.conf] unchanged, but this might skip some features and sanity checks."
I found a hint for this in /usr/lib/pm-utils/defaults.
Yes, I found an old lizards blog post, too.
With SLEEP_MODULE="kernel" I can successfully hibernate my PC.
That is good news!
SLEEP_MODULE="uswsusp" still does not work.
That not. Maybe opening a bug would be a good idea because "uswsusp" is supposed to be the safe way...