Btw, s2disk is user-level tool. According to 
http://wiki.archlinux.org/index.php/Suspend_to_Disk
initrd image is required to resume from image created by s2disk tool,
but I don't use initrd.

Maybe this is a reason? Probably I need switch to native swsusp?..


Monday, November 9, 2009, 5:39:46 PM, Walter wrote:

>   Why do you need anything in the kernel commandlindline?  Everything is
> done either in the kernel config or in hibernate.conf.  "make menuconfig"
> on my machine goes like so...

> =========================================
> Power management and ACPI options  --->

>   [*] Power Management support
>   [ ]   Power Management Debug Support
>   [ ] Suspend to RAM and standby
>   [*] Hibernation (aka 'suspend to disk')
>   (/dev/sda6) Default resume partition
> =========================================

>   Your system should have /dev/sda5.  I ran "emerge hibernate-script"
> and then executed "rc-update add hibernate-cleanup boot" so that when
> the machine comes up from "reboot" or "halt -p", it doesn't try to load
> the swap file as memory state.

>   Here are the uncommented lines in my hibernate.conf.  The last 4 lines
> are specific to my machine, and may not apply to yours.  It works great
> for me.

> TryMethod disk.conf
> Distribution gentoo
> DownInterfaces auto
> PowerdownMethod shutdown
> UseSysfsPowerState disk
> UpInterfaces auto
> OnResume 99 chvt 1
> OnResume 98 setfont lat1-10
> OnResume 97 /etc/init.d/sshd restart
> OnResume 96 alsactl restore





-- 
Sergey


Reply via email to