Comment 3 for bug 957999

Revision history for this message
Ivan Zorin (iaz) wrote :

Got it! Zeroing swap partition and reformatting it - looks like that problem fixed:

$ cat /proc/swaps
Filename Type Size Used Priority
/dev/sda5 partition 5242876 0 -1

$ ls -la /dev/disk/by-uuid/ | grep sda5
lrwxrwxrwx 1 root root 10 2012-03-18 15:20 cf32f967-d4a9-4904-a9e7-498af72339d4 -> ../../sda5

$ sudo swapoff -a

$ sudo dd if=/dev/zero of=/dev/sda5 bs=4M

$ sudo mkswap -L SWAP -U cf32f967-d4a9-4904-a9e7-498af72339d4

$ sudo reboot

So, I guess that problem was in corrupted data on swap partition from previous swap image(s), so kernel just couldn't process it correctly while resuming.

Now hibernation should be working correctly.

I hope that this information will be useful for others.