lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201204241842.53014.toralf.foerster@gmx.de>
Date:	Tue, 24 Apr 2012 18:42:52 +0200
From:	Toralf Förster <toralf.foerster@....de>
To:	Michael Tokarev <mjt@....msk.ru>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: hibernate a system booted from external USB drive - is it posible?


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ