Comment 61 for bug 267141

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

I've reinstalled uswsusp, let it reconfigure with default settings.

$ cat /etc/uswsusp.conf
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = /dev/sda2
compress = y
early writeout = y
image size = 1910240542
RSA key file = /etc/uswsusp.key
shutdown method = platform

Edited /etc/pm/config.d/00sleep_module :
$ cat /etc/pm/config.d/00sleep_module
# The sleep/wake system to use. Valid values are:
# kernel The built-in kernel suspend/resume support.
# Use this if nothing else is supported on your system.
# uswsusp If your system has support for the userspace
# suspend programs (s2ram/s2disk/s2both), then use this.
# tuxonice If your system has support for tuxonice, use this.
#
# The system defaults to "kernel" if this is commented out.
# SLEEP_MODULE="kernel"
SLEEP_MODULE="uswsusp"

1st tried uswsusp, and my system hibernated as expected with s2disk. It took a while (just about as regular hibernation) but the progress % was nice.
Resume worked too.

Then I tried tuxonice, but it failed to halt the machine. alt+sysreq[+fn]+b rebooted my system, so Kernel was still active.
Resume worked fine, once again.

--
BUGabundo :o)
(``-_-´´) http://LinuxNoDEI.BUGabundo.net
Linux user #443786 GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net