Talk:Fix: hibernate

From EasyPeasy Wiki

Jump to: navigation, search

Contents

[edit] Doesn't seem to work in Easy Peasy 1.0 (i.e. ubuntu 8.10)

Following the steps outlined on the page using an Eee PC 701SD (specs: standard 8 GB SSD, RAM upgraded to 2 GB) one can get the hibernate to work UNTIL one reboots the system. After a fresh turn on/reboot, during subsequent hibernate attempts, one gets the "not enough swap space" error. Perhaps this has to do with the swapon/swapoff hook (in /etc/pm/config.d/config not working properly?). I've tried playing around with a few variations (e.g. getting rid of the swapoff hook, making the hibernate.img file larger) but it doesn't seem to affect things.

[edit] How-To?

I can't install uswsusp because I haven't swapfile? What can i do?

You should really have a swap drive. Otherwise the computer is rendered unusable when the RAM is full.
--Ramvi 11:53, 18 February 2008 (CET)


edited for this reason

Note: It is my understanding that it is generally not good to adjust default config files. Sometimes there is a mention in the man pages where to put a system wide config file (/etc/...configfile) or a user specific config file (/home/user/.application/configfilename).

[edit] The only thing I don't have working yet is the battery meter, it reads 0 after resuming from hibernation.

Its working fine on my 901. great tutorial / fix, and its very easy to set up....

[edit] konsole fix

didnt work for me, cos vbetool vbemode set 3 neede to be root, and also if i did it as root by my self, next time the eee was going to hibernate, nothing was shown on the display (but it worked)

i had to change the file /etc/default/acpi-support if found this on : http://wiki.ubuntuusers.de/uswsusp they say "SAVE_VIDEO_PCI_STATE" must be commented and "SAVE_VBE_STATE" needs to be "false"

[edit] Another approach to the console fix

The suggestion above and the one on the main page didn't work for me but I found a solution that did. I edited /etc/pm/config.d/config with the following two changes:

  • Changed HIBERNATE_RESUME_POST_VIDEO to "yes"
  • Added DISPLAY_QUIRK_VBEMODE_RESTORE="true"

(This is on Linux 2.6.24-21-eeepc)

[edit] Fix for 901

I discovered that mounting on tmpfs the /var and /tmp folders inhibited the system to enter hibernation, even with a large hibernate.img. Just disabled them and now it is working.

A further addition: the previous hint may have nothing to do with it. I had to uninstall one of those little clock tweaking utilities.

[edit] Creating a bigger swap partition?

I read on another blog about creating a larger swap space and this would take care of it. Is there a reason why the method mention here is more beneficial than creating a larger swap partition?

Personal tools