Dies schrieb Nigel Cunningham (ncunningham@???):
> It makes sense to me that it gets enabled. The question, then, is why it
> gets disabled...
The kernel does not enable it at boot time, so resume is not working at all. I
guess this is the real problem.
> This looks like the answer:
>
> cat /proc/software_suspend/disable_swapwriter
>
> will return 1. It may be set to 1 using all_settings or a direct echo
> into it. If the all_settings were recorded from a previous version, that
> might do the trick.
all_settings is not enabled in hibernate.conf.
nano:~# cat /proc/software_suspend/disable_swapwriter
0
nano:~# cat /proc/software_suspend/resume2
swap:/dev/hda6
nano:~# cat /proc/software_suspend/debug_info
Please include the following information in bug reports:
- SUSPEND core : 2.1.8
- Kernel Version : 2.6.11-tm292
- Compiler vers. : 3.3
- Attempt number : 0
- Parameters : 0 0 0 0 0 5
- Limits : 131056 pages RAM. Initial boot: 0.
- Overall expected compression percentage: 0.
- LZF Compressor enabled.
- Swapwriter inactive.
- Preemptive kernel.
- Highmem Support.
NOW the magic trick to complete the confusion:
nano:~# echo "swap:/dev/hda6" > /proc/software_suspend/resume2
Looking for first block of swap header at block 0.
Setting logical block size of resume device to 4096.
Software Suspend 2.1.8: Swap space signature found.
Software Suspend 2.1.8: Suspending enabled.
nano:~# cat /proc/software_suspend/debug_info
Please include the following information in bug reports:
- SUSPEND core : 2.1.8
- Kernel Version : 2.6.11-tm292
- Compiler vers. : 3.3
- Attempt number : 0
- Parameters : 0 0 0 0 0 5
- Limits : 131056 pages RAM. Initial boot: 0.
- Overall expected compression percentage: 0.
- LZF Compressor enabled.
- Swapwriter active.
Swap available for image: 142557 pages.
- Preemptive kernel.
- Highmem Support.
Suspend will work now. But since the kernel does not recognize the boot
parameter, there won't be any attempt to resume the saved image.
--
.:°stefan@??? | tommie@IRC | GPG: finger stefan@??? °:.
|___________________ http://localhost.ruhr.de/~stefan/ ______________________|
| Wer Header fälscht oder verfälscht oder gefälschte oder verfälschte Header |
`-__in_Umlauf_bringt_wird_mit_Scorefile_nicht_unter_-500_Punkten_bestraft__-'