[Bug 499940] Re: [lucid regression] does not resume from hibernation, restarts fresh
Peter Clifton
pcjc2 at cam.ac.uk
Sun Feb 21 16:39:45 UTC 2010
Apparently not enough, wait-for-root returns the swap type as swsuspend,
and the resume script doesn't know that. I've fixed that too:
--- initramfs-tools-0.92bubuntu65/scripts/local-premount/resume 2010-02-17 12:35:26.000000000 +0000
+++ initramfs-tools-0.92bubuntu65+pcjc2.1/scripts/local-premount/resume 2010-02-21 16:29:24.000000000 +0000
@@ -24,7 +24,7 @@
SWAPTYPE=$(wait-for-root "${resume}" ${RESUMEDELAY:-5})
case "${SWAPTYPE}" in
- s1suspend|s2suspend|ulsuspend|tuxonice)
+ swsuspend|s1suspend|s2suspend|ulsuspend|tuxonice)
# hardcode path, uswsusp ships an resume binary too
if [ -n "${resume_offset}" ]; then
/bin/resume ${resume} ${resume_offset} >/dev/null 2>&1
Now my machine resumes ok.
--
[lucid regression] does not resume from hibernation, restarts fresh
https://bugs.launchpad.net/bugs/499940
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