Public bug reported:

I'm using (K)ubuntu 8.04.1 Hardy, freshly installed from the alternate iso.
lsb_release -rd:
Description: Ubuntu 8.04.1
Release: 8.04

I can't resume after hibernation. Hibernate itself seems to work fine
(at least mounting the encrypted swap complains about a suspend
signature on the device, see below). However on restart it doesn't seem
to actually do a resume, but a normal startup.

I created two encrypted partitions with the alternate installer:

/dev/mapper/sda2_crypt as root and
/dev/mapper/sda9_crypt as swap

I don't use LVM. Booting and mounting both partitions works fine as long
as I don't hibernate. However if I do, on startup I get:

[...]
[successfully unlocking root]
Done.
Begin: Running /scripts/local-premount ...
Begin: Waiting for resume device... ...
Done.
Done.
[successfully mounting root]
[...]
 * Starting early crypto disks...
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.
 * sda9_crypt: the check for '/dev/mapper/sda9_crypt' failed. 
/dev/mapper/sda9_crypt contains data: - The device /dev/mapper/sda9_crypt 
contains a valid file system type suspend
 * Starting remaining crypto disks...
[another try for sda9_crypt, fails same as above]

I don't know how the boot process for resume should look like, but to me
it seems as if it's just the normal boot procedure, and that
unsuprisingly fails i.e. as if it's not performing a resume at all! The
resume device seems to be ignored. I tried specifying different resume
parameters in grub, but couldn't find one that worked. (I couldn't find
out what exactly it should look like for encrypted swap partitions,
though.)

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
Resume from encrypted swap fails
https://bugs.launchpad.net/bugs/264075
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to