From: "Toralf Förster" <toralf.foerster@gmx.de>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: hibernate a system booted from external USB drive - is it posible?
Date: Tue, 24 Apr 2012 18:42:52 +0200 [thread overview]
Message-ID: <201204241842.53014.toralf.foerster@gmx.de> (raw)
In-Reply-To: <4F943AE1.5050207@msgid.tls.msk.ru>
Michael Tokarev wrote at 19:07:45
> 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.
>
Yes - that its. I do not have an initrd, just buikding linux kernel from git :
$> make -j 3 && sudo su -c "mount /boot/; make modules_install && cp arch/i386/boot/bzImage /boot/linux-git"
which works well for a cold start, but during wakeup I get :
...
PM: Checking hibernation image partition /dev/sdb2
...
then the internal sda are recognized
...
PM: Hibernation image not present or could not be loaded.
Waiting 15sec before mounting root device...
...
now the USB devices are recognized>
- too late for me :-(
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
prev parent reply other threads:[~2012-04-24 16:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-22 16:49 hibernate a system booted from external USB drive - is it posible ? Toralf Förster
2012-04-22 17:07 ` Michael Tokarev
2012-04-24 16:42 ` Toralf Förster [this message]
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=201204241842.53014.toralf.foerster@gmx.de \
--to=toralf.foerster@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mjt@tls.msk.ru \
/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
all inboxes | Powered by JetHome®