Comment 7 for bug 517774

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

Well thank you! Seems to be another bug. Now I set up an unencrypted
swap et voila... suspend to disk now works perfectly. Do I have to
change something in the original bug description?

Am 04.03.2010 13:40 schrieb Felix Krull:
> *** This bug is a duplicate of bug 405120 ***
> https://bugs.launchpad.net/bugs/405120
>
>
> 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
>