[Bug 577916] Re: lucid regression: does not resume from hibernation

Steven Flintham 577916 at bugs.launchpad.net
Tue Jul 13 12:53:06 UTC 2010


My hibernate stopped working after a fresh install of 10.04. Symptoms
were that it would appear to hibernate correctly, but on restart would
just boot to the login screen and once I logged in networking was
disabled.

Following the above I had a look at /etc/initramfs-tools/conf.d/resume -
it didn't exist. I ran:

sudo update-initramfs -u

and it didn't generate any errors but that file still didn't exist
afterwards.

I manually populated the file with:

RESUME=UUID=7482c5cb-6168-45dd-bfce-041561c80512

and ran the update command again. It said:

update-initramfs: Generating /boot/initrd.img-2.6.32-23-generic
cryptsetup: WARNING: found more than one resume device candidate:
                     /dev/sdb5
                     UUID=7482c5cb-6168-45dd-bfce-041561c80512

These are both the same device, although my fstab refers to the swap
device by UUID.

Anyway, I hibernated and this time it worked - I got a 'resuming'
message on the boot screen after the grub menu.

So I suspect my problem was some sort of mismatch over the swap
partition name, though I have no idea how it came about.

For what it's worth, I left my old partitions in place (originally
created by an Ubuntu installed back in 2005/2006 - I did in-place
upgrades until this time) when I installed 10.04. The installer refused
to recognise my swap partition (I cannot remember the details, I'm
afraid) and I had to do the install without swap (no problem as I have
2GB RAM) and manually add the swap myself afterwards. So maybe I added
it badly, I suspect I copied the /etc/fstab line from the backup I had
taken before the reinstall (left to my own devices I would probably just
have called it /dev/sdb5) but I can no longer be sure.

Sorry this is a bit vague but I thought the information just might be
useful. And thanks to the guys above for pointing me in the direction of
a solution.

-- 
lucid regression: does not resume from hibernation
https://bugs.launchpad.net/bugs/577916
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list