-   Linux - Software (
-   -   Software suspend won't work . (

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:


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.

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 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 in the F.A.Q section. It was very trivial. My async_io_limit was too high. The solution is the following:


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

All times are GMT -5. The time now is 11:56 AM.