Comment 30 for bug 252143

Revision history for this message
RBertrand (r-bertrand) wrote :

I encountered problems hibernating to a swapfile with/on an ext4 fs. On ext3, all went well, however.

In de log I found entries about recognizing the correct hibernation image whilst resuming after hibernation to disc:
Jan 18 11:28:24 MyC2DLaptop kernel: [ 0.926459] PM: Checking image partition UUID=fa17f5e8-8818-4c00-ae18-7a02e9394d39

But further on I also found an entry about unable to resume from it:
Jan 18 11:28:24 MyC2DLaptop kernel: [ 2.790124] PM: Resume from disk failed.

After that, a "manual" resume is tried:
Jan 18 11:28:24 MyC2DLaptop kernel: [ 18.941348] PM: Starting manual resume from disk
Jan 18 11:28:24 MyC2DLaptop kernel: [ 18.941352] PM: Resume from partition 8:3
Jan 18 11:28:24 MyC2DLaptop kernel: [ 18.941354] PM: Checking hibernation image.
Jan 18 11:28:24 MyC2DLaptop kernel: [ 18.941578] PM: Resume from disk failed.

I seems to me the kernel has a problem reading the image file on ext4. I changed to ext3 for both my system and swapfile location (which is on the system partition) and had no problems anymore using swapfile for hibernation.