Add support for swsusp resume when using initrd

Bug #10984 reported by Matthew Garrett
4
Affects Status Importance Assigned to Milestone
initrd-tools (Ubuntu)
Fix Released
Wishlist
Fabio Massimo Di Nitto

Bug Description

The kernel patch to support initrd and swsusp requires userspace to trigger the
resume before the root filesystem is mounted. This patch adds support to
initrd-tools.

Revision history for this message
Matthew Garrett (mjg59) wrote :

Created an attachment (id=886)
Patch to add support

Revision history for this message
Matthew Garrett (mjg59) wrote :

Created an attachment (id=889)
Check that /sys/power/resume exists before writing to it

Slightly more sanity checking

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

I will upload the initrd tools together with linux-image -3.

Thanks a lot for the work!
Fabio

Revision history for this message
Colin Watson (cjwatson) wrote :

I collided with Fabio's upload and ended up doing this too as a result.

initrd-tools (0.1.75ubuntu2) hoary; urgency=low

  * Trigger swsusp resume before the root filesystem is mounted (thanks,
    Matthew Garrett; closes: Ubuntu #4444).

 -- Colin Watson <email address hidden> Wed, 8 Dec 2004 10:22:18 +0100

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.