Comment 6 for bug 517774

Revision history for this message
Felix Krull (fkrull) wrote : Re: [Bug 517774] Re: resume from suspend and hibernation doesn't work, machine powers off and does normal boot instead

Am 03.03.2010 21:25, schrieb Lord Nelloz:
> thx for answering. unfortunately i am sure, i just tested it again. did
> you compare the hardware details with yours? when powering on after
> hibernation, some messages appear on the bootscreen but too quick to
> read. i have got these encrypted home and swap partitions offered at
> installation time.

Hi,

the encrypted swap partition is at fault. You see, when the system is
started, that partition is encrypted with a random key; that key is
thrown away when the system powers down (or hibernates). So, when you
suspend to disk, it writes everything into the encrypted swap partition,
but then shuts down and forgets the key. So when you try to resume, it
can't decrypt the image.
So, long short story, setup unencrypted swap or encrypted swap with a
static key.

Relevant bugs:
https://bugs.launchpad.net/ubuntu/+source/devicekit-power/+bug/423608
https://bugs.freedesktop.org/show_bug.cgi?id=23196