[Bug 42299] Hibernating corrupts swap partition

Ryan Hurley spitty at gmail.com
Mon May 1 17:21:01 UTC 2006


Public bug reported:

Affects: kernel-package (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Confirmed


Description:
EDIT:  I almost forgot to mention, I'm running a clean, up-to-date
install of Dapper Beta2 installed from the disk last night.  acpi
version is 0.09

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.

-- 
Hibernating corrupts swap partition
https://launchpad.net/bugs/42299




More information about the kernel-bugs mailing list