I met same problem on Hardy kernel (2.6.24-5-generic), and I went to the source 
for a real answer. Read "kernel/Documentation/power/swsusp.txt". It said:
===============
If you want to limit the suspend image size to N bytes, do

echo N > /sys/power/image_size

before suspend (it is limited to 500 MB by default).
===============

I'm not a kernel expert, but it seems clear to me that if the size of
all programs running on my machine exceeds 500M, which is quite often,
the suspend fails. And since the image is stored in swap, you should
just set it to the size of your swap. Deal.

I only read the one of 2.6.24, other versions may vary on this.

And what's more, it seems to me that it's safe to set the image_size to
the size of swap _by default on all machines_ (as to my understanding of
swsusp.txt)... just my $.02...

** Also affects: linux-source-2.6.24 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
Suspend to disk fails: image_size too small
https://bugs.launchpad.net/bugs/88377
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to