All of lore.kernel.org
 help / color / mirror / Atom feed
From: Warren Togami <wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Hibernate broke?
Date: Wed, 17 Jun 2009 00:19:25 -0400	[thread overview]
Message-ID: <4A386ECD.1070906@redhat.com> (raw)

I noticed today that hibernation is broken for dracut generated images. 
  Fedora 11 mkinitrd generated initrd works just fine for me, but the 
dracut generated image of the same kernel is failing to resume.

My system has root and swap both within an encrypted LVM vg.

My understanding is that if you hibernate, it somehow writes something 
recongnized by grub upon the next boot so it knows to boot the same 
kernel & initrd with additional cmdline parameters to resume.

When I hibernate from the mkinitrd initrd, the system shuts down.  When 
I boot again, grub immediately jumps into that kernel bypassing the grub 
menu, asks for my passphrase to decrypt, then reads the frozen system 
from swap and resumes.

When I hiberate from a dracut initrd, the system shuts down.  When I 
boot up again, it goes to the full grub menu and seems unaware that it 
had hibernated.

Any idea what is going on here?  Did this ever work with dracut before?

Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2009-06-17  4:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17  4:19 Warren Togami [this message]
     [not found] ` <4A386ECD.1070906-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-17 11:20   ` Hibernate broke? Harald Hoyer
     [not found]     ` <4A38D168.6080909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-17 15:11       ` Warren Togami
2009-06-17 13:37   ` Jeremy Katz
     [not found]     ` <20090617133706.GC85083-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-17 14:22       ` Victor Lowther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A386ECD.1070906@redhat.com \
    --to=wtogami-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.