LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Software suspend won't work . (http://www.linuxquestions.org/questions/linux-software-2/software-suspend-won%27t-work-262542/)

iZvi 12-04-2004 12:42 PM

Software suspend won't work .
 
I compiled kernel 2.6.9 with software suspend v2 enabled (swsusp2). I also installed the hibernate script. I made the swap partition three times bigger then the total amount of RAM. But when I type "hibernate" it shows a progressbar and then aborts with the following message:

Code:

hibernate: Suspend reported the following errors:
- Suspend was aborted (see dmesg)
- Unable to free enough memory

I think there is enough space to save the memory and I can't imagine why it aborts.
There aren't any sources for help about software suspend, so if anyone have any ideas or suggestions, help! If somebody has successfully used this, please share your knowledge.
Thanks.

mcleodnine 12-04-2004 04:18 PM

This is still experimental stuff, but you can read up on it if you have your kernel source handy. You'll find some interesting tidbits in /usr/src/linux/Documentation/power/swsusp.txt (at least thats where it is in my 2.6.8.1 source)

iZvi 12-05-2004 05:32 AM

This document was the first thing I read, but it doesn't cover this problem. I found the solution on softwaresuspend.berlios.de in the F.A.Q section. It was very trivial. My async_io_limit was too high. The solution is the following:

Code:

echo 120 > /proc/software_suspend/async_io_limit
It works perfectly now.


All times are GMT -5. The time now is 01:17 PM.