mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: "Toralf Förster" <toralf.foerster@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: hibernate a system booted from external USB drive - is it posible ?
Date: Sun, 22 Apr 2012 21:07:45 +0400	[thread overview]
Message-ID: <4F943AE1.5050207@msgid.tls.msk.ru> (raw)
In-Reply-To: <201204221849.31198.toralf.foerster@gmx.de>

On 22.04.2012 20:49, Toralf Förster wrote:
> I wonder, whether it is expect to work with current stable kernel 3.3.2 or 
> not. Seems not to work here (s2ram works fine).
> Hibernate however writes data to the swap partition, but during wakeup I get :
> 
> kernel: PM: Hibernation image partition 8:6 present
> kernel: PM: Looking for hibernation image.
> kernel: PM: Image not found (code -22)
> kernel: PM: Hibernation image not present or could not be loaded. 

This is entirely an initramfs issue/question.  The device should be
present in early userspace when it attempts to resume.  Also, s2ram &Co
may not be prepared for changing device name/node.

I've a system with only one "drive" being an usb flash stick (Sandisk
Cruzer Fit).  This system is able to hibernate and resume just fine,
but I don't do it often (it is our router).

/mjt

  reply	other threads:[~2012-04-22 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-22 16:49 Toralf Förster
2012-04-22 17:07 ` Michael Tokarev [this message]
2012-04-24 16:42   ` hibernate a system booted from external USB drive - is it posible? Toralf Förster

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=4F943AE1.5050207@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=toralf.foerster@gmx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome