Public bug reported:

Bug #42299, because of which the swap partition is disabled when a
machine is hibernated, survives in Edgy if one upgrades from Dapper
Drake to Edgy. I understand that the bug has been removed from Edgy
installation disk, but it survives if one does an upgrade.

What does this bug do? The "resume=/dev/hda6" (where /dev/hda6 is my
swap disk) should be provided by mkinitramfs. It does not do so because
of Dapper Drake configuration file which survives the upgrade. When you
hibernate the machine, the swap-signature is deleted from the swap
partition. But when you boot the machine next time, the machine does not
get a correct resume parameter. So it does not recovers your previous
session and it does not initialise the swap memory. This results in
slowing down the machine (because swap is not available) and, after
this, hibernate does not work (because it does not find a swap partition
to keep its stuff). As the swap signature is disabled, you have to first
to a "mkswap /dev/hda6" (where /dev/hda6 is my swap partition), and then
a "swapon -a". But the swap partition will disabled again if you
hibernate the machine.

Baishampayan Ghosh has suggested a solution at
http://article.gmane.org/gmane.user-groups.linux.delhi/13814.

The solution consists of following three steps.

1. Create a file called `resume' inside /etc/initramfs-tools/conf.d
2. Write the line `RESUME=/dev/hda6' into it, save+exit
3. Then issue the command --
    sudo update-initramfs -c -k `uname -r`

This takes care of the problem.

But the bug should be removed ASAP so that other people do not face this
problem.

** Affects: Ubuntu
     Importance: Undecided
         Status: Unconfirmed

-- 
Bug #42299 survives on upgrade from Dapper Drake to Edgy
https://launchpad.net/bugs/69208

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to