Thread (6 messages) 6 messages, 2 authors, 2016-06-17

Re: x86 hibernate, resume with different kernel version

flat view

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2016-06-16 12:11:50

On Thu, Jun 16, 2016 at 12:03 PM, Johannes Stezenbach [off-list ref] wrote:
Hi,

it's not important for me but I hibernated kernel v4.5.7
and inadvertantly resumed using v4.6.2, and ISTR this
should work (confirmed by looking into git where I found
commit cc456c4e7cac3837a86aaa7ca3cb9f488d44d196).

My swap is an LVM volume inside dm-crypt, on boot the kernel read
the resume image but then immediately reset and invalidated it.
I'm using Debian sid, the initrd calls /bin/resume from
klibc-utils package.

So, should this still work?  I couldn't find any
information about it.
It should in theory, but may not in fact due to bugs discovered
recently.  This patch should help:
https://patchwork.kernel.org/patch/9172981/ (it has to be applied to
both the image and boot kernels).

Thanks,
Rafael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help