[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm that hibernation does not work with 1GB of RAM and the default setting of /sys/power/image_size. Setting the latter to 0 helps. The kernel documentation states that the kernel will then use the smallest possible value. I see no negative effects in this. As todays computer probably mostly have >= 1GB RAM, IMHO the default value of this setting should be changed. What is necessary to let this happen? I am willing to provide additional information (logs etc.) if necessary. -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Tags added: hibernate ** Tags added: intrepid -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Also have his bug, as long as /sys/power/image_size is below 50% of total RAM then I can hibernate, as soon as this is set to 50% or higher then no bananas. So, keeping in mind (Yan Li 2008-01-31:) the optimal setting for functioning hibernate should be just below 50% of total RAM -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
On Gutsy and 2 kernels later this still persists. -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm this bug on a Thinkpad T42p 2373-KYG on Kubuntu 7.04 Feisty Fawn, uname -r: 2.6.20-16-386; with ATI driver 8.38.7 (installed via Envy) Reducing the image_size does make supend-to-disk work. But after resuming form supsend-to-disk, the sound is gone and it seems to me that the available RAM is not used any more: I mean the systems starts swapping earlier compared to RAM/Swap usage after a fresh reboot. --- some log info: from kern.log: [ 6462.836000] agpgart-intel :00:00.0: LATE freeze [ 6462.836000] swsusp: critical section: [ 6462.836000] swsusp: Need to copy 132408 pages [ 6462.836000] swsusp: Normal pages needed: 122609 + 1024 + 24, available pages: 106765 [ 6462.836000] swsusp: Not enough free memory [ 6462.836000] Error -12 suspending [ 6462.836000] agpgart-intel :00:00.0: EARLY resume - - - - - # cat /sys/power/image_size 524288000 # swapon -s FilenameTypeSizeUsedPriority /dev/sda8 partition 3004112 0 -1 # free total used free sharedbuffers cached Mem: 1035364 471764 563600 0 38076 278160 -/+ buffers/cache: 155528 879836 Swap: 3004112 03004112 - - - - - -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
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
[Bug 88377] Re: Suspend to disk fails: image_size too small
A quick correct to what I said above: Use swap size as "/sys/power/image_size" may not be a good decision in some cases. If you just want to make your suspend work, try: "echo 0 > /sys/power/image_size" For those who is curious about the cause and reason please read on: reading more "kernel/Documentation/power/swsusp.txt" I got known that that "/sys/power/image_size" was introduced since 2.6.16 kernel as a way to improve responsiveness after resuming. By saving more memory, which includes more "volatile" data such as cache, buffer, etc., to hibernation image you can get a more responsive system after resuming (no need to pull data out of HD bit by bit, you retained your old cache), the dark side is larger image, thus may lead to the "not enough free space" error reported here, which means the swsusp can't find a "contiguous" space in swap large enough to hold the image (if you have more than one swap par, swsusp can use one only :X ) Therefore the most conservative way is to set "/sys/power/image_size" to zero, or some very small size. In this way, most "volatile" memory (such as cache, buffer, etc.) would be freed during hibernation, and thus lead to smallest image. This further explains why the reporter's "echo 2048248 > /sys/power/image_size" works for most people, because 2048248 is too small (just 2M) and requires fewer swap than the default 500M setting. I'll read the code of swsusp later if I have more time. And hope some kernel guru could help us on this. :) And I think to make most average people's hibernation work out-of-the- box, Ubuntu should set image_size to 0 by default. Those who wanna better performance (and more tech savvy) could just change it after installation by themselves. -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Just adding a note that I'm reassigning the Ubuntu Hardy kernel source package from 'linux-source-2.6.24' to just 'linux'. Beginning with the Hardy release the package naming convention changed from linux- source-2.6.x to just linux. Sorry for any confusion. ** Changed in: linux (Ubuntu) Sourcepackagename: linux-source-2.6.24 => linux -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Changed in: linux (Ubuntu) Importance: Undecided => Medium Assignee: (unassigned) => Ubuntu Kernel Team (ubuntu-kernel-team) Status: New => Triaged ** Changed in: linux-source-2.6.20 (Ubuntu) Status: Incomplete => Won't Fix -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I have an Inspiron 1501 and here is some info from mine... (File Attached) ** Attachment added: "Terminal Output" http://librarian.launchpad.net/6722132/Output -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description didn't include enough information. Please include the information requested from https://wiki.ubuntu.com/DebuggingACPI as separate attachments. ** Changed in: acpi-support (Ubuntu) Sourcepackagename: acpi-support => linux-meta Assignee: (unassigned) => Cristian Aravena Romero Status: Unconfirmed => Needs Info -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Attached sudo dmidecode ** Attachment added: "sudo dmidecode" http://librarian.launchpad.net/6565608/dmidecode.txt -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Distribution: Feisty with latest updates (some problem at Edgy) BIOS: Up to date (2.1.0) uname -a: 2.6.20-9-generic kern.log coming ** Attachment added: "sudo lspci -vv" http://librarian.launchpad.net/6565593/lspci.txt -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Attached sudo lspci -vvn ** Attachment added: "sudo lspci -vvn" http://librarian.launchpad.net/6565603/lspci2.txt -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Robbie, could you please also update the report with information about your swap partition (size, etc.). You could add the output of the command cat /proc/swaps to the report. (Basically, we are making sure that the swap partition is greater than physical memory.) Thanks! -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
cat /proc/swaps FilenameTypeSizeUsedPriority /dev/sda1 partition 1020116 32 -1 It's bigger :) -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Robbie, * Ask the user to try to hibernate/suspend and then restart the system and attach /var/log/kern.log.0 ** Changed in: linux-meta (Ubuntu) Sourcepackagename: linux-meta => linux-source-2.6.20 -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Attached kern.log ** Attachment added: "kern.log" http://librarian.launchpad.net/6582478/kern.log -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Changed in: linux-source-2.6.20 (Ubuntu) Assignee: Cristian Aravena Romero => Ubuntu Kernel Team Status: Needs Info => Confirmed -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Default image_size is larger than the number you showed. What is the default size ("cat /sys/power/image_zie")? ** Changed in: linux-source-2.6.20 (Ubuntu) Assignee: Ubuntu Kernel Team => Ben Collins Status: Confirmed => Needs Info -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
At my system: 524288000 -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Ok, if the default is 524288000, then how can lowering it to 2048248 make it work? :) Sounds like this isn't really the fix. Can you reliably use this trick to make it work and if it isn't done, make it not work? -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
That is weird, now you mention it... It was smaller the last time.. Maybe due some change in Feisty. I'll grab a 6.10 livecd in a few hours and do some tests -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
We haven't done any changes to this size. It's the stock default. Perhaps something local to your system adjusted this value? -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
A Compaq Presario with 1G ram and a 2G swap running 8.04 works with an image size of 500. Much higher than that and it may work for the first hibernate but repeated hibernates without a reboot may run out of memory. 500 is a small reduction so should not affect performance on return from hibernation. Of course you'll have to put it in an init script because a reboot will set it back to the original and I see from the status above that it aint going to get fixed properly. Details are here http://ubuntuforums.org/archive/index.php/t-199952.html ( original link at the top of the thread is incorrect ). -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
I'm using ubuntu 7.04 on a ThinkPad T60, 512MB RAM and 2GB swap. I see the same phenomenon regarding image_size: /sys/power/image_size defaults to 524288000. With this configuration, suspend to disk fails and I get the error [ 5177.396000] swsusp: critical section: [ 5177.396000] swsusp: Need to copy 65424 pages [ 5177.396000] swsusp: Normal pages needed: 65424 + 1024 + 14, available pages: 65358 [ 5177.396000] swsusp: Not enough free memory When changing image_size to 2048248 (my swap size in kB), suspend to disk works without problems: [ 5550.252000] swsusp: critical section: [ 5550.252000] swsusp: Need to copy 18854 pages [ 5550.252000] swsusp: Normal pages needed: 18854 + 1024 + 14, available pages: 111928 The complete kern.log is attached. ** Attachment added: "kern.log" http://librarian.launchpad.net/7408091/kern.log.070425 -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm this worked like a charm on my Feisty machine. Importantly, hibernate used to work after my recent fresh install. The only thing I can think of that I changed is that I installed the ATI proprietary fglrx drivers (compiled from source (Method 2) using: http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide), but of course it may be unrelated. Does someone know if installing this could have caused this? What would be the correct value? 1) equal to swap, 2) equal to 2xRAM, 3) something else? -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Hi all, Things now seem to work equally well with image_size set to either RAM size or swap size. For a while there, I was having trouble with a second resume-from-hibernate when I had set image_size equal to swap size, but I think I may have been using an incorrect value that was too large. Anyway, I'm guessing the "correct" value is RAM size or slightly higher. I'm also guessing that the "units" (megabytes vs kilobytes vs. bytes) associated with image_size will suddenly change again at some point. Google revealed some tragically unhelpful diffs that correspond to a documentation "update" reflecting a change from megabytes to bytes...neither of which appears to be correct for this kernel. -Chris -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Hi, I have a T60 as well and reducing the image size solved the problem for me as well. Can somebody please post how to set the correct image size permanently, i.e. that it is still correct after rebooting the machine? Thanks, Alex -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
OK, I created a new script in /etc/acpi/suspend.d/95-set-image-size.sh with the content: #/bin/bash echo 1048576 > /sys/power/image_size That works fine. The script gets called by /etc/acpi/prepare.sh which in turn is executed from within /etc/acpi/hibernate.sh. It's also run when going into suspend to RAM mode but that doesn't hurt. I think creating a new file is better than altering an existing one for this way it won't be overwritten by updates. Anyway, where is the RAM content being written on the disk? On the swap partition? Then what if your RAM is full and the swap partition contains data as well? Or is a file used for hibernation? Questions over questions... -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Hi all, I'm right there with ya'. Thinkpad t41p running Feisty (2.6.20-15-generic) - /sys/power/image_size: 524288000 - /proc/swaps: /dev/sda2 partition 4096564 0 -1 - /var/log/kern.log: ... May 9 14:48:17 chibacityblues kernel: [ 586.616000] swsusp: critical section: May 9 14:48:17 chibacityblues kernel: [ 586.616000] swsusp: Need to copy 137650 pages May 9 14:48:17 chibacityblues kernel: [ 586.616000] swsusp: Normal pages needed: 137550 + 1024 + 24, available pages: 124232 May 9 14:48:17 chibacityblues kernel: [ 586.616000] swsusp: Not enough free memory May 9 14:48:17 chibacityblues kernel: [ 586.616000] Error -12 suspending ... I'm about to reset my /sys/power/image_size to 2048248 (or possibly 4096496) and see what happens Thanks! -Chris (Obligatory attachments to follow) -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Attachment added: "lspci -vv" http://librarian.launchpad.net/7593604/lspci_vv.2007-05-09.txt -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Attachment added: "dmesg" http://librarian.launchpad.net/7593617/dmesg.2007-05-09.txt -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Attachment added: "kern.log grep" http://librarian.launchpad.net/7593622/kern.log_grep.2007-05-09.txt -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Attachment added: "lspci -vvn" http://librarian.launchpad.net/7593607/lspci_vvn.2007-05-09.txt -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Yep, The suggested workaround, 'echo 2048248 > /sys/power/image_size', did the trick. Hibernate/resume works. I still have some Atheros nonsense to work through (and I have yet to hibernate twice in a row without rebooting...) but it smells like progress. May 9 16:22:56 chibacityblues kernel: [ 329.212000] pci :00:1e.0: LATE freeze May 9 16:22:56 chibacityblues kernel: [ 329.212000] pci :00:01.0: LATE freeze May 9 16:22:56 chibacityblues kernel: [ 329.212000] agpgart-intel :00:00.0: LATE freeze May 9 16:22:56 chibacityblues kernel: [ 329.212000] swsusp: critical section: May 9 16:22:56 chibacityblues kernel: [ 329.212000] swsusp: Need to copy 31439 pages May 9 16:22:56 chibacityblues kernel: [ 329.212000] swsusp: Normal pages needed: 29955 + 1024 + 24, available pages: 199419 May 9 16:22:56 chibacityblues kernel: [ 389.212000] agpgart-intel :00:00.0: EARLY resume May 9 16:22:56 chibacityblues kernel: [ 389.212000] pci :00:01.0: EARLY resume May 9 16:22:57 chibacityblues kernel: [ 389.212000] uhci_hcd :00:1d.0: EARLY resume Incidentally, if this image_size value is meant to be in KB, how come the default is so high (equivalent to approximately 500 GB...). More importantly (for my purposes), should I actually have a 4 GB default image size (because I have a 4GB swap partition) or a 1GB default image size (because I have 1 GB of RAM)? Also, given that this default image_size value does not persist through a reboot, what is the best way to make it stick? Should I just add the echo command to pre-hibernate scripts? Thanks a lot, -Chris -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
OK, I switched to 1GB, and I can now hibernate/resume repeatedly. I also found useful information on my post-resume NetworkManager bug at... http://www.mail-archive.com/[EMAIL PROTECTED]/msg06138.html -Chris -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm that on my machine, lowering down the image_size to the exact swap size solved my similar hibernation issue. -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I'm currently working with 3 laptops and here's a short report : - Asus EeePC, 512 MB RAM, 700 MB swap, EeeXUbuntu 3 (equiv. Gutsy with a 2.6.24 kernel) : Suspend to disk works out of the box. - Dell XPS M1330, 2 GB RAM, 4 GB swap, Ubuntu Hardy latest 2.6.24-17-generic kernel: Suspend to disk works out of the box. - Acer Aspire 3104WLMi, 1 GB RAM, 2 GB swap, Ubuntu Hardy latest 2.6.24-17-generic kernel: Suspend to disk fails with "swsusp: Not enough free memory" => On this machine, the proposed workaround: "echo 2048248 > /sys/power/image_size" immediately solved the issue and allowed suspend to disk to work (thanks). Any idea about how to figure out the optimal value for this machine ? (As an addition, on all these 3 machines, suspend to disk works with swap on an encrypted LVM) -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
This bug persists for me with kernel 2.7.27-7. Hibernating hangs, unless I execute echo 2048248 > /sys/power/image_size before I hibernate. -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Interesting. Hibernation was working for me until I added the latest ati flgrx drivers, and then I started to see the same errors as the original poster. Removing the xorg-driver-fglrx 2.6.17-3 driver results in me once again being able to hibernate on my Dell 1705 laptop. uname -a : Linux uberlaptop 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:21 UTC 2008 i686 GNU/Linux Looking at my image sizes pre and post driver , it looks like the output of cat /sys/power/image_size stayed the same at 524288000 but cat /proc/swaps changed by default to /dev/sda5 partition 2377580 0 -1 I did not copy the old default value, but it was higher by default (similar again to the original poster) -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test: 1) If you are comfortable installing packages on your own, the linux- image-2.6.27-* package is currently available for you to install and test. --or-- 2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD. Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback. ** Tags added: cft-2.6.27 -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
A Compaq Presario with 1G ram and a 2G swap running 8.04 works with an image size of 500. Much higher than that and it may work for the first hibernate but repeated hibernates without a reboot may run out of memory. 500 is a small reduction so should not affect performance on return from hibernation. Of course you'll have to put it in an init script because a reboot will set it back to the original and I see from the status above that it aint going to get fixed properly. Details are here http://ubuntuforums.org/archive/index.php/t-199952.html ( original link at the top of the thread is incorrect ). -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
This bug persists for me with kernel 2.7.27-7. Hibernating hangs, unless I execute echo 2048248 > /sys/power/image_size before I hibernate. -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Interesting. Hibernation was working for me until I added the latest ati flgrx drivers, and then I started to see the same errors as the original poster. Removing the xorg-driver-fglrx 2.6.17-3 driver results in me once again being able to hibernate on my Dell 1705 laptop. uname -a : Linux uberlaptop 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:21 UTC 2008 i686 GNU/Linux Looking at my image sizes pre and post driver , it looks like the output of cat /sys/power/image_size stayed the same at 524288000 but cat /proc/swaps changed by default to /dev/sda5 partition 2377580 0 -1 I did not copy the old default value, but it was higher by default (similar again to the original poster) -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Attached kern.log ** Attachment added: "kern.log" http://librarian.launchpad.net/6582478/kern.log -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Changed in: linux-source-2.6.20 (Ubuntu) Assignee: Cristian Aravena Romero => Ubuntu Kernel Team Status: Needs Info => Confirmed -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm this bug on a Thinkpad T42p 2373-KYG on Kubuntu 7.04 Feisty Fawn, uname -r: 2.6.20-16-386; with ATI driver 8.38.7 (installed via Envy) Reducing the image_size does make supend-to-disk work. But after resuming form supsend-to-disk, the sound is gone and it seems to me that the available RAM is not used any more: I mean the systems starts swapping earlier compared to RAM/Swap usage after a fresh reboot. --- some log info: from kern.log: [ 6462.836000] agpgart-intel :00:00.0: LATE freeze [ 6462.836000] swsusp: critical section: [ 6462.836000] swsusp: Need to copy 132408 pages [ 6462.836000] swsusp: Normal pages needed: 122609 + 1024 + 24, available pages: 106765 [ 6462.836000] swsusp: Not enough free memory [ 6462.836000] Error -12 suspending [ 6462.836000] agpgart-intel :00:00.0: EARLY resume - - - - - # cat /sys/power/image_size 524288000 # swapon -s FilenameTypeSizeUsedPriority /dev/sda8 partition 3004112 0 -1 # free total used free sharedbuffers cached Mem: 1035364 471764 563600 0 38076 278160 -/+ buffers/cache: 155528 879836 Swap: 3004112 03004112 - - - - - -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I have an Inspiron 1501 and here is some info from mine... (File Attached) ** Attachment added: "Terminal Output" http://librarian.launchpad.net/6722132/Output -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
I'm using ubuntu 7.04 on a ThinkPad T60, 512MB RAM and 2GB swap. I see the same phenomenon regarding image_size: /sys/power/image_size defaults to 524288000. With this configuration, suspend to disk fails and I get the error [ 5177.396000] swsusp: critical section: [ 5177.396000] swsusp: Need to copy 65424 pages [ 5177.396000] swsusp: Normal pages needed: 65424 + 1024 + 14, available pages: 65358 [ 5177.396000] swsusp: Not enough free memory When changing image_size to 2048248 (my swap size in kB), suspend to disk works without problems: [ 5550.252000] swsusp: critical section: [ 5550.252000] swsusp: Need to copy 18854 pages [ 5550.252000] swsusp: Normal pages needed: 18854 + 1024 + 14, available pages: 111928 The complete kern.log is attached. ** Attachment added: "kern.log" http://librarian.launchpad.net/7408091/kern.log.070425 -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description didn't include enough information. Please include the information requested from https://wiki.ubuntu.com/DebuggingACPI as separate attachments. ** Changed in: acpi-support (Ubuntu) Sourcepackagename: acpi-support => linux-meta Assignee: (unassigned) => Cristian Aravena Romero Status: Unconfirmed => Needs Info -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Attached sudo dmidecode ** Attachment added: "sudo dmidecode" http://librarian.launchpad.net/6565608/dmidecode.txt -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Distribution: Feisty with latest updates (some problem at Edgy) BIOS: Up to date (2.1.0) uname -a: 2.6.20-9-generic kern.log coming ** Attachment added: "sudo lspci -vv" http://librarian.launchpad.net/6565593/lspci.txt -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Attached sudo lspci -vvn ** Attachment added: "sudo lspci -vvn" http://librarian.launchpad.net/6565603/lspci2.txt -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Robbie, could you please also update the report with information about your swap partition (size, etc.). You could add the output of the command cat /proc/swaps to the report. (Basically, we are making sure that the swap partition is greater than physical memory.) Thanks! -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
cat /proc/swaps FilenameTypeSizeUsedPriority /dev/sda1 partition 1020116 32 -1 It's bigger :) -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Robbie, * Ask the user to try to hibernate/suspend and then restart the system and attach /var/log/kern.log.0 ** Changed in: linux-meta (Ubuntu) Sourcepackagename: linux-meta => linux-source-2.6.20 -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
At my system: 524288000 -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Ok, if the default is 524288000, then how can lowering it to 2048248 make it work? :) Sounds like this isn't really the fix. Can you reliably use this trick to make it work and if it isn't done, make it not work? -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
That is weird, now you mention it... It was smaller the last time.. Maybe due some change in Feisty. I'll grab a 6.10 livecd in a few hours and do some tests -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
We haven't done any changes to this size. It's the stock default. Perhaps something local to your system adjusted this value? -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Also have his bug, as long as /sys/power/image_size is below 50% of total RAM then I can hibernate, as soon as this is set to 50% or higher then no bananas. So, keeping in mind (Yan Li 2008-01-31:) the optimal setting for functioning hibernate should be just below 50% of total RAM -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test: 1) If you are comfortable installing packages on your own, the linux- image-2.6.27-* package is currently available for you to install and test. --or-- 2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD. Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback. ** Tags added: cft-2.6.27 -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
I'm currently working with 3 laptops and here's a short report : - Asus EeePC, 512 MB RAM, 700 MB swap, EeeXUbuntu 3 (equiv. Gutsy with a 2.6.24 kernel) : Suspend to disk works out of the box. - Dell XPS M1330, 2 GB RAM, 4 GB swap, Ubuntu Hardy latest 2.6.24-17-generic kernel: Suspend to disk works out of the box. - Acer Aspire 3104WLMi, 1 GB RAM, 2 GB swap, Ubuntu Hardy latest 2.6.24-17-generic kernel: Suspend to disk fails with "swsusp: Not enough free memory" => On this machine, the proposed workaround: "echo 2048248 > /sys/power/image_size" immediately solved the issue and allowed suspend to disk to work (thanks). Any idea about how to figure out the optimal value for this machine ? (As an addition, on all these 3 machines, suspend to disk works with swap on an encrypted LVM) -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
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
[Bug 88377] Re: Suspend to disk fails: image_size too small
A quick correct to what I said above: Use swap size as "/sys/power/image_size" may not be a good decision in some cases. If you just want to make your suspend work, try: "echo 0 > /sys/power/image_size" For those who is curious about the cause and reason please read on: reading more "kernel/Documentation/power/swsusp.txt" I got known that that "/sys/power/image_size" was introduced since 2.6.16 kernel as a way to improve responsiveness after resuming. By saving more memory, which includes more "volatile" data such as cache, buffer, etc., to hibernation image you can get a more responsive system after resuming (no need to pull data out of HD bit by bit, you retained your old cache), the dark side is larger image, thus may lead to the "not enough free space" error reported here, which means the swsusp can't find a "contiguous" space in swap large enough to hold the image (if you have more than one swap par, swsusp can use one only :X ) Therefore the most conservative way is to set "/sys/power/image_size" to zero, or some very small size. In this way, most "volatile" memory (such as cache, buffer, etc.) would be freed during hibernation, and thus lead to smallest image. This further explains why the reporter's "echo 2048248 > /sys/power/image_size" works for most people, because 2048248 is too small (just 2M) and requires fewer swap than the default 500M setting. I'll read the code of swsusp later if I have more time. And hope some kernel guru could help us on this. :) And I think to make most average people's hibernation work out-of-the- box, Ubuntu should set image_size to 0 by default. Those who wanna better performance (and more tech savvy) could just change it after installation by themselves. -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Default image_size is larger than the number you showed. What is the default size ("cat /sys/power/image_zie")? ** Changed in: linux-source-2.6.20 (Ubuntu) Assignee: Ubuntu Kernel Team => Ben Collins Status: Confirmed => Needs Info -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Tags added: hibernate ** Tags added: intrepid -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Tags added: hibernate ** Tags added: intrepid -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
On Gutsy and 2 kernels later this still persists. -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Just adding a note that I'm reassigning the Ubuntu Hardy kernel source package from 'linux-source-2.6.24' to just 'linux'. Beginning with the Hardy release the package naming convention changed from linux- source-2.6.x to just linux. Sorry for any confusion. ** Changed in: linux (Ubuntu) Sourcepackagename: linux-source-2.6.24 => linux -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Changed in: linux (Ubuntu) Importance: Undecided => Medium Assignee: (unassigned) => Ubuntu Kernel Team (ubuntu-kernel-team) Status: New => Triaged ** Changed in: linux-source-2.6.20 (Ubuntu) Status: Incomplete => Won't Fix -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm that hibernation does not work with 1GB of RAM and the default setting of /sys/power/image_size. Setting the latter to 0 helps. The kernel documentation states that the kernel will then use the smallest possible value. I see no negative effects in this. As todays computer probably mostly have >= 1GB RAM, IMHO the default value of this setting should be changed. What is necessary to let this happen? I am willing to provide additional information (logs etc.) if necessary. -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Hi all, I'm right there with ya'. Thinkpad t41p running Feisty (2.6.20-15-generic) - /sys/power/image_size: 524288000 - /proc/swaps: /dev/sda2 partition 4096564 0 -1 - /var/log/kern.log: ... May 9 14:48:17 chibacityblues kernel: [ 586.616000] swsusp: critical section: May 9 14:48:17 chibacityblues kernel: [ 586.616000] swsusp: Need to copy 137650 pages May 9 14:48:17 chibacityblues kernel: [ 586.616000] swsusp: Normal pages needed: 137550 + 1024 + 24, available pages: 124232 May 9 14:48:17 chibacityblues kernel: [ 586.616000] swsusp: Not enough free memory May 9 14:48:17 chibacityblues kernel: [ 586.616000] Error -12 suspending ... I'm about to reset my /sys/power/image_size to 2048248 (or possibly 4096496) and see what happens Thanks! -Chris (Obligatory attachments to follow) -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Attachment added: "lspci -vv" http://librarian.launchpad.net/7593604/lspci_vv.2007-05-09.txt -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Attachment added: "dmesg" http://librarian.launchpad.net/7593617/dmesg.2007-05-09.txt -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Attachment added: "kern.log grep" http://librarian.launchpad.net/7593622/kern.log_grep.2007-05-09.txt -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Attachment added: "lspci -vvn" http://librarian.launchpad.net/7593607/lspci_vvn.2007-05-09.txt -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Yep, The suggested workaround, 'echo 2048248 > /sys/power/image_size', did the trick. Hibernate/resume works. I still have some Atheros nonsense to work through (and I have yet to hibernate twice in a row without rebooting...) but it smells like progress. May 9 16:22:56 chibacityblues kernel: [ 329.212000] pci :00:1e.0: LATE freeze May 9 16:22:56 chibacityblues kernel: [ 329.212000] pci :00:01.0: LATE freeze May 9 16:22:56 chibacityblues kernel: [ 329.212000] agpgart-intel :00:00.0: LATE freeze May 9 16:22:56 chibacityblues kernel: [ 329.212000] swsusp: critical section: May 9 16:22:56 chibacityblues kernel: [ 329.212000] swsusp: Need to copy 31439 pages May 9 16:22:56 chibacityblues kernel: [ 329.212000] swsusp: Normal pages needed: 29955 + 1024 + 24, available pages: 199419 May 9 16:22:56 chibacityblues kernel: [ 389.212000] agpgart-intel :00:00.0: EARLY resume May 9 16:22:56 chibacityblues kernel: [ 389.212000] pci :00:01.0: EARLY resume May 9 16:22:57 chibacityblues kernel: [ 389.212000] uhci_hcd :00:1d.0: EARLY resume Incidentally, if this image_size value is meant to be in KB, how come the default is so high (equivalent to approximately 500 GB...). More importantly (for my purposes), should I actually have a 4 GB default image size (because I have a 4GB swap partition) or a 1GB default image size (because I have 1 GB of RAM)? Also, given that this default image_size value does not persist through a reboot, what is the best way to make it stick? Should I just add the echo command to pre-hibernate scripts? Thanks a lot, -Chris -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
OK, I switched to 1GB, and I can now hibernate/resume repeatedly. I also found useful information on my post-resume NetworkManager bug at... http://www.mail-archive.com/[EMAIL PROTECTED]/msg06138.html -Chris -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm that on my machine, lowering down the image_size to the exact swap size solved my similar hibernation issue. -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Hi, I have a T60 as well and reducing the image size solved the problem for me as well. Can somebody please post how to set the correct image size permanently, i.e. that it is still correct after rebooting the machine? Thanks, Alex -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
OK, I created a new script in /etc/acpi/suspend.d/95-set-image-size.sh with the content: #/bin/bash echo 1048576 > /sys/power/image_size That works fine. The script gets called by /etc/acpi/prepare.sh which in turn is executed from within /etc/acpi/hibernate.sh. It's also run when going into suspend to RAM mode but that doesn't hurt. I think creating a new file is better than altering an existing one for this way it won't be overwritten by updates. Anyway, where is the RAM content being written on the disk? On the swap partition? Then what if your RAM is full and the swap partition contains data as well? Or is a file used for hibernation? Questions over questions... -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm this worked like a charm on my Feisty machine. Importantly, hibernate used to work after my recent fresh install. The only thing I can think of that I changed is that I installed the ATI proprietary fglrx drivers (compiled from source (Method 2) using: http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide), but of course it may be unrelated. Does someone know if installing this could have caused this? What would be the correct value? 1) equal to swap, 2) equal to 2xRAM, 3) something else? -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Hi all, Things now seem to work equally well with image_size set to either RAM size or swap size. For a while there, I was having trouble with a second resume-from-hibernate when I had set image_size equal to swap size, but I think I may have been using an incorrect value that was too large. Anyway, I'm guessing the "correct" value is RAM size or slightly higher. I'm also guessing that the "units" (megabytes vs kilobytes vs. bytes) associated with image_size will suddenly change again at some point. Google revealed some tragically unhelpful diffs that correspond to a documentation "update" reflecting a change from megabytes to bytes...neither of which appears to be correct for this kernel. -Chris -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
A Compaq Presario with 1G ram and a 2G swap running 8.04 works with an image size of 500. Much higher than that and it may work for the first hibernate but repeated hibernates without a reboot may run out of memory. 500 is a small reduction so should not affect performance on return from hibernation. Of course you'll have to put it in an init script because a reboot will set it back to the original and I see from the status above that it aint going to get fixed properly. Details are here http://ubuntuforums.org/archive/index.php/t-199952.html ( original link at the top of the thread is incorrect ). -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test: 1) If you are comfortable installing packages on your own, the linux- image-2.6.27-* package is currently available for you to install and test. --or-- 2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD. Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback. ** Tags added: cft-2.6.27 -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
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
[Bug 88377] Re: Suspend to disk fails: image_size too small
A quick correct to what I said above: Use swap size as "/sys/power/image_size" may not be a good decision in some cases. If you just want to make your suspend work, try: "echo 0 > /sys/power/image_size" For those who is curious about the cause and reason please read on: reading more "kernel/Documentation/power/swsusp.txt" I got known that that "/sys/power/image_size" was introduced since 2.6.16 kernel as a way to improve responsiveness after resuming. By saving more memory, which includes more "volatile" data such as cache, buffer, etc., to hibernation image you can get a more responsive system after resuming (no need to pull data out of HD bit by bit, you retained your old cache), the dark side is larger image, thus may lead to the "not enough free space" error reported here, which means the swsusp can't find a "contiguous" space in swap large enough to hold the image (if you have more than one swap par, swsusp can use one only :X ) Therefore the most conservative way is to set "/sys/power/image_size" to zero, or some very small size. In this way, most "volatile" memory (such as cache, buffer, etc.) would be freed during hibernation, and thus lead to smallest image. This further explains why the reporter's "echo 2048248 > /sys/power/image_size" works for most people, because 2048248 is too small (just 2M) and requires fewer swap than the default 500M setting. I'll read the code of swsusp later if I have more time. And hope some kernel guru could help us on this. :) And I think to make most average people's hibernation work out-of-the- box, Ubuntu should set image_size to 0 by default. Those who wanna better performance (and more tech savvy) could just change it after installation by themselves. -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
Just adding a note that I'm reassigning the Ubuntu Hardy kernel source package from 'linux-source-2.6.24' to just 'linux'. Beginning with the Hardy release the package naming convention changed from linux- source-2.6.x to just linux. Sorry for any confusion. ** Changed in: linux (Ubuntu) Sourcepackagename: linux-source-2.6.24 => linux -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
** Changed in: linux (Ubuntu) Importance: Undecided => Medium Assignee: (unassigned) => Ubuntu Kernel Team (ubuntu-kernel-team) Status: New => Triaged ** Changed in: linux-source-2.6.20 (Ubuntu) Status: Incomplete => Won't Fix -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
On Gutsy and 2 kernels later this still persists. -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
I can confirm this bug on a Thinkpad T42p 2373-KYG on Kubuntu 7.04 Feisty Fawn, uname -r: 2.6.20-16-386; with ATI driver 8.38.7 (installed via Envy) Reducing the image_size does make supend-to-disk work. But after resuming form supsend-to-disk, the sound is gone and it seems to me that the available RAM is not used any more: I mean the systems starts swapping earlier compared to RAM/Swap usage after a fresh reboot. --- some log info: from kern.log: [ 6462.836000] agpgart-intel :00:00.0: LATE freeze [ 6462.836000] swsusp: critical section: [ 6462.836000] swsusp: Need to copy 132408 pages [ 6462.836000] swsusp: Normal pages needed: 122609 + 1024 + 24, available pages: 106765 [ 6462.836000] swsusp: Not enough free memory [ 6462.836000] Error -12 suspending [ 6462.836000] agpgart-intel :00:00.0: EARLY resume - - - - - # cat /sys/power/image_size 524288000 # swapon -s FilenameTypeSizeUsedPriority /dev/sda8 partition 3004112 0 -1 # free total used free sharedbuffers cached Mem: 1035364 471764 563600 0 38076 278160 -/+ buffers/cache: 155528 879836 Swap: 3004112 03004112 - - - - - -- 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
[Bug 88377] Re: Suspend to disk fails: image_size too small
This bug persists for me with kernel 2.7.27-7. Hibernating hangs, unless I execute echo 2048248 > /sys/power/image_size before I hibernate. -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Interesting. Hibernation was working for me until I added the latest ati flgrx drivers, and then I started to see the same errors as the original poster. Removing the xorg-driver-fglrx 2.6.17-3 driver results in me once again being able to hibernate on my Dell 1705 laptop. uname -a : Linux uberlaptop 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:21 UTC 2008 i686 GNU/Linux Looking at my image sizes pre and post driver , it looks like the output of cat /sys/power/image_size stayed the same at 524288000 but cat /proc/swaps changed by default to /dev/sda5 partition 2377580 0 -1 I did not copy the old default value, but it was higher by default (similar again to the original poster) -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
At my system: 524288000 -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Ok, if the default is 524288000, then how can lowering it to 2048248 make it work? :) Sounds like this isn't really the fix. Can you reliably use this trick to make it work and if it isn't done, make it not work? -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
That is weird, now you mention it... It was smaller the last time.. Maybe due some change in Feisty. I'll grab a 6.10 livecd in a few hours and do some tests -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
We haven't done any changes to this size. It's the stock default. Perhaps something local to your system adjusted this value? -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88377] Re: Suspend to disk fails: image_size too small
Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description didn't include enough information. Please include the information requested from https://wiki.ubuntu.com/DebuggingACPI as separate attachments. ** Changed in: acpi-support (Ubuntu) Sourcepackagename: acpi-support => linux-meta Assignee: (unassigned) => Cristian Aravena Romero Status: Unconfirmed => Needs Info -- Suspend to disk fails: image_size too small https://launchpad.net/bugs/88377 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs