[Bug 554009] Re: Resume from disk (swapfile) fails
Scott James Remnant
scott at canonical.com
Fri Apr 23 18:41:19 UTC 2010
On Fri, 2010-04-23 at 07:24 +0000, Moreno Bartalucci wrote:
> so I changed my '/usr/share/initramfs-tools/scripts/local-premount/resume' file as per attached patch and the resume from swap file seems to be working now.
>
Right, this patch would appear to be trivially correct.
The other missing piece is automatically setting resume_offset based on
a given filename on hibernate, so it's used on the next reboot.
> I noticed, however, something strange in my 'new' dmesg (please find it here attached).
> In a normal boot (no hibernation before), beside the 'usual' lines:
> [ 0.708670] PM: Checking image partition UUID=f0e784ed-e140-4d73-87a3-8ef047012b9f
> [ 0.714705] PM: Resume from disk failed.
> now I have also:
> [ 4.948849] PM: Starting manual resume from disk
> [ 4.948852] PM: Resume from partition 8:3
> [ 4.948853] PM: Checking hibernation image.
> [ 4.967541] PM: Error -22 checking image file
> [ 4.967544] PM: Resume from disk failed.
>
Kooky.
> But here comes my question: why is it attempted twice?
>
I've no idea, I don't really know much about how this stuff works.
Scott
--
Scott James Remnant
scott at ubuntu.com
--
Resume from disk (swapfile) fails
https://bugs.launchpad.net/bugs/554009
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.
More information about the kernel-bugs
mailing list