Resuming does not work for my laptop after it hibernates - OS boots
normally and does not use resume image created by s2disk.


Linux 2.6.30-gentoo-r8 i686
Kernel command line: root=/dev/sda6 vga=0x317 video=vesafb:mtrr:3,ywrap 
resume=swap:/dev/sda5

# cat /usr/src/linux/.config | grep CONFIG_PM_STD_PARTITION
CONFIG_PM_STD_PARTITION="/dev/sda5"

sys-power/hibernate-script-2.0-r1
sys-power/suspend-0.8-r1


To suspend laptop I uses 'hibernate' command which uses s2disk tool

# cat /etc/suspend.conf
snapshot device = /dev/snapshot
resume device = /dev/sda5


When the system boots up:

* Activating (possible) swap ...
swapon: /dev/sda5: Invalid argument

....

* Invalidating stale software suspend images ...
/sda5


It looks like that kernel knows nothing about suspend image and does
not use it.

Any ideas?

Thanks.


-- 
Sergey


Reply via email to