Re: [Suspend2-devel] 2.1.8 and 2.6.11 again: Software suspen…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nigel Cunningham
Date:  
To: Stefan Tomanek
CC: Suspend2 Development
Subject: Re: [Suspend2-devel] 2.1.8 and 2.6.11 again: Software suspend is disabled
Hi.

On Mon, 2005-03-07 at 20:18, Stefan Tomanek wrote:
> But if I call the hibernate script, it does not suspend the system:
> ## hibernate.log:
> hibernate: [99] Executing DoSwsusp2 ...
> hibernate: Activating suspend ...
> - hibernate: Suspend reported the following errors:
> Suspend was aborted (see dmesg).
> ---- Output from dmesg: ----
> 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.


It makes sense to me that it gets enabled. The question, then, is why it
gets disabled...

> Software Suspend 2.1.8: Software suspend is disabled.
> This may be because you haven't put something along the lines of
>
> resume2=swap:/dev/hda1
>     
> in lilo.conf or equivalent. (Where /dev/hda1 is your swap
> partition).
> ---- End of dmesg output ----
>
> no:~# 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.


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.

Regards,

Nigel

> - Preemptive kernel.
> - Highmem Support.
>
> I did not get the Oops I encountered a few days ago so.

-- 
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com
Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028;  Mob: +61 (417) 100 574


Maintainer of Suspend2 Kernel Patches http://softwaresuspend.berlios.de