Comment 63 for bug 577916

Revision history for this message
amid1999 (amidsin1999) wrote :

I had exact same problem. Since I had experience with hibernation problems before, I was able to fix it quickly. Since it is on my computer, I cannot provide system logs for it, but I would like to share particular aspect of my system, which might be causing the problem:
I have 2 Ubuntu installation on a single hard drive in different partitions:
dg@dg-laptop:~$ sudo blkid (with comments)
/dev/sda1: UUID="E8FC5740FC5707E8" TYPE="ntfs" - Windows NTFS partition
/dev/sda2: UUID="283c5318-77ab-4e4a-8c45-e2fb07372560" TYPE="ext4" - boot partition for Ubuntu instance 1
/dev/sda5: UUID="0ca9a4c4-7588-4600-bd2d-a62fe87ad4be" TYPE="ext4" - / partition for Ubuntu instance 1
/dev/sda6: UUID="0bd7cf97-fc45-4595-9199-47d5fa597515" TYPE="ext4" - /home partition for Ubuntu instance 1
/dev/sda7: UUID="cf8ed7a6-06ae-427d-9adf-75a876b3bb7d" TYPE="swap" - swap partition for Ubuntu instance 1
/dev/sda8: UUID="b841a114-8ae5-4349-adfc-420c4e4d1e2a" TYPE="reiserfs" - / partition for Ubuntu instance 2
/dev/sda9: UUID="8e42b73f-2df2-441b-be9c-ad3f56761415" TYPE="swap" - swap partition for Ubuntu instance 2.
/dev/sdb1: UUID="ECF8-5122" TYPE="vfat" - shared data partition

When I was installing Ubuntu instance 1, I selected manual partitioning and selected manually boot, root and home partitions. I have explicitly asked the system not to use second swap partition.

After clean reinstal of Ubuntu Lucid, system was hibernating fine, but was not resuming from the hibernate. It was restarting fresh with disabled networking.

/etc/fstab was showing that proper swap partition is used (swap partition for Ubuntu instance 1)
//etc/initramfs-tools/conf.d/resume contained UUID for swap partition of the Ubuntu instance 2. Which is incorrect.

I fixed this problem by changing /etc/initramfs-tools/conf.d/resume and then running update-initramfs.

It is working fine now.

In my situation, I suspect that population of /etc/initramfs-tools/conf.d/resume is working incorrectly specifically in the situation when there is more than one swap partition.

I hope it helps. PLease let me know if I can provide additional information to help resolve it.