Comment 0 for bug 42299

Revision history for this message
Ryan Hurley (aeromechie) wrote : Hibernating corrupts swap partition

In trying to get Hibernation to work on my laptop, (Compaq Presario v2402us) I have discovered that hibernating corrupts my swap partition.

I have verified this using gparted on the live disk- before attempting to hibernate, the swap partition is on /dev/hda2, and recognized by both my normal Ubuntu system and the live disk. But, after a hibernation attempt, (which fails- more on that in a second) neither the normal system or the live disk can see /dev/hda2 as anything more than "unknown."
In my system, "sudo swapon -a" returns:
swapon: /dev/hda2: Invalid argument

To get my swap partition back, I need to reformat it wth the live CD partitioner.

Specifically, when I press the "Hibernate" key In "System -> Log out," the computer shuts down as if hibernation is going to work. The screen blanks, and after 30-45 seconds of continuous HDD usage, the computer powers down as well. But, when it starts up again, it starts up without even mentioning hibernation- no errors, nothing at all. When the normal system is reached, swap space cannot be accessed, and /dev/hda2 is corrupted.

Attached to this bug are my Syslog, /etc/default/acpi-support, and /var/log/acpid files in the Logs.bz2 file.