1 |
Resuming does not work for my laptop after it hibernates - OS boots |
2 |
normally and does not use resume image created by s2disk. |
3 |
|
4 |
|
5 |
Linux 2.6.30-gentoo-r8 i686 |
6 |
Kernel command line: root=/dev/sda6 vga=0x317 video=vesafb:mtrr:3,ywrap resume=swap:/dev/sda5 |
7 |
|
8 |
# cat /usr/src/linux/.config | grep CONFIG_PM_STD_PARTITION |
9 |
CONFIG_PM_STD_PARTITION="/dev/sda5" |
10 |
|
11 |
sys-power/hibernate-script-2.0-r1 |
12 |
sys-power/suspend-0.8-r1 |
13 |
|
14 |
|
15 |
To suspend laptop I uses 'hibernate' command which uses s2disk tool |
16 |
|
17 |
# cat /etc/suspend.conf |
18 |
snapshot device = /dev/snapshot |
19 |
resume device = /dev/sda5 |
20 |
|
21 |
|
22 |
When the system boots up: |
23 |
|
24 |
* Activating (possible) swap ... |
25 |
swapon: /dev/sda5: Invalid argument |
26 |
|
27 |
.... |
28 |
|
29 |
* Invalidating stale software suspend images ... |
30 |
/sda5 |
31 |
|
32 |
|
33 |
It looks like that kernel knows nothing about suspend image and does |
34 |
not use it. |
35 |
|
36 |
Any ideas? |
37 |
|
38 |
Thanks. |
39 |
|
40 |
|
41 |
-- |
42 |
Sergey |