[Bug 554009] Re: Resume from disk (swapfile) fails

Moreno Bartalucci moreno.bartalucci at tecnorama.it
Fri Apr 23 07:24:59 UTC 2010


Hello,

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.
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.
Which is normal: with my patch, the resume is always attempted.
But here comes my question: why is it attempted twice?
And the timing is also very different (0.7 vs. almost 5).
Who else is attempting to resume?
Am I looking in the wrong place?

** Patch added: "Patch to the original /usr/share/initramfs-tools/scripts/local-premount/resume file"
   http://launchpadlibrarian.net/45073212/resume.patch

-- 
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