Am Montag, 10. Dezember 2012, 14:32:28 schrieb Bjoern Voigt:
I'd like to use Suspend-to-Disk on one of my computers.
Which openSUSE version do you use?
The normal openSUSE methods (tested: KDE start menu and "powersave -U") do not work as expected. The computer suspends and switches off, but after switch-on I see, that the kernel does not find a valid hibernation image:
Did you check /var/log/pm-suspend.log for any errors? Maybe some module prevents fully writing the image to disk. Candidates are fglrx, nvidia, nouveau, external USB devices, etc...
$ dmesg [...] [ 3.884656] PM: Starting manual resume from disk [ 3.884659] PM: Hibernation image partition 8:3 present [ 3.884659] PM: Looking for hibernation image. [ 3.884809] PM: Image not found (code -22) [ 3.884809] PM: Hibernation image not present or could not be loaded. [...]
After some debugging with /usr/src/linux-*/Documentation/power/basic-pm-debugging.txt I found that the following method
# echo platform > /sys/power/disk # echo disk > /sys/power/state
works ok.
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.
Debugging with http://en.opensuse.org/SDB:Suspend_to_disk was not successful. I am not sure, but I believe, that problems in my setup are caused by s2disk.
While some information may be still relevant, the article above mentioned is for old openSUSE versions (11.x).
My question: Is it possible to configure openSUSE so, that the working method ("echo disk > /sys/power/state", see above) is used in KDE and maybe in "powersave -U" instead of the other method (s2disk)?
AFAIK the hibernation mode is set in /etc/suspend.conf . Gruß Jan -- You can make it foolproof, but you can't make it damn foolproof. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org