[ltp] Re: Problem with suspend2

David Abrahams linux-thinkpad@linux-thinkpad.org
Tue, 26 Sep 2006 14:58:10 -0400


"Maciej Piechotka" <uzytkownik2@gmail.com> writes:

>> Yes, I did.  In my case, I need to increase extra_pages_allowance, and
>> unfortunately, setting that with ProcSetting in
>> /etc/hibernate/suspend2.conf doesn't seem to have any effect.  It
>> turns out that I need to manually
>> 
>>       echo 8000 > /sys/power/suspend2/extra_pages_allowance
>> 
>> I posted about this problem yesterday on suspend2-users, but so far
>> have not gotten a reply.
>
> Sorry - it not works for me. I still have a stop when "Doing atomic copy".

Did you check your /var/log/syslog to see how many extra pages
suspend2 actually needs in order to do its stuff?

> $ cat /sys/power/suspend2/debug_info 
> Suspend2 debugging info:
> - SUSPEND core   : 2.2.7.4
> - Kernel Version : 2.6.17-beyond4
> - Compiler vers. : 4.1
> - Attempt number : 0
> - Parameters     : 0 0 0 0 0 0
> - Overall expected compression percentage: 0.
> - Compressor is not set.
> - Encryptor is not set.
> - Swapwriter active.
>   Swap available for image: 243808 pages.
> - No I/O speed stats available.
> - Extra pages    : 0 used/8000.
>
> Regards

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com