Description of problem: I don't have swap partitions, only a swap file (2GB in size). When I attempt to hibernate into a swap file, the laptop seems to suspend and to start writing the image to the hard drive, but then after it is finished, it immediately wakes up. here is some relevant info from the dmesg output: PM: writing image. PM: Free swap pages: 524286 PM: Saving image data pages (106434 pages) ... done PM: Wrote 425736 kbytes in 7.94 seconds (53.61 MB/s) PM: S<3>PM: Swap header not found! | Restarting tasks ... done. PM: Basic memory bitmaps freed Version-Release number of selected component (if applicable): kernel-2.6.26.5-47.fc9.x86_64 How reproducible: Always Steps to Reproduce: 1. create one swap file (no swap partitions) 2. try to hibernate. Additional Info: Hibernation into a swap partition works fine.
here is some information about hibernating into a swap file: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=blob;f=Documentation/power/swsusp-and-swap-files.txt;hb=HEAD
even if the immediate wake-up bug was fixed, we currently don't support resuming from swap files in the initrd.
since this feature is supported in the kernel I am going to make it a feature request.
This bug also effects Ubuntu install as an application (http://wubi-installer.org/) See https://bugs.launchpad.net/ubuntu/+bug/313724
*** Bug 662853 has been marked as a duplicate of this bug. ***