Ubuntu Gutsy Hibernation Troubles

When I wanted to suspend my notebook today the hibernate button was gone from the menu. Running the /etc/acpi/hibernate.sh shell script as root still worked, but there was no way to get that silly button back.

My first idea was some kind of configuration trouble, suddenly appearing for no reason (I never trusted gconf completely anyway). But obviously, that wasn’t the problem:

 $ gconftool-2 -g /apps/gnome-power-manager/general/can_hibernate

After some time reading shell scripts I found the problem tough. A while ago I added more RAM to my notebook and also had to configure a swap file because my swap partition was too small. Things worked fine for a while, but then an upgrade of package powermanagement-interface (0.3.16) came along with the following change:

powermanagement-interface (0.3.16) gutsy; urgency=low

  * pmi.acpi: Disable suspend and hibernate if /host is mounted via fuse;
    disable hibernate if a swap file is active.

I cannot say if there could possibly be problems with swap files, but this change leaves me with two ugly options:

  1. Hack the /usr/sbin/pmi shell script to disable the check (gah!)
  2. Render the swap file obsolete by re-partitioning my disk

Unless someone comes up with a better idea, I’m leaning towards option 2 …

This entry was posted in linux and tagged , . Bookmark the permalink.

1 Response to Ubuntu Gutsy Hibernation Troubles

  1. liquidsnakemi says:

    This problem is quite prevalent in all versions of linux, not just ubuntu. Since you use Ubuntu I guess you should know that you are not the only person with this problem. Check out this site:
    Apparently a lot of people think that this is an issue.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s