lkml.org 
[lkml]   [2008]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -mm 2/2] kexec jump -v11: save/restore device state
From
Date
On Thu, 2008-06-12 at 09:02 -0400, Vivek Goyal wrote:
[...]
> Few things I don't understand.
>
> - Are you saying that hibernated image will be saved in initrd
> (rootfs.gz)? But that saving is only in RAM, we never write back
> it to disk?

No. Hibernated image should be saved in a dedicated raw partition as you
said below.

> - I thought we probably have to dedicate a raw partition kind of thing
> for saving image and then modify boot loader command line to something
> similar to, "resume=partition". Then initrd can go hunting for image
> in respective partition (as specified by command line parameter) and if
> image is not available then continue with normal boot.

Yes. But the boot-loader command line only need to be changed during
system install or hibernation setup. We need not change the location of
"hibernation partition" frequently.

So I think one boot-loader command line is sufficient for:

- normal boot
- normal boot a system to be hibernated
- boot helper system to restore the hibernated system

Best Regards,
Huang Ying



\
 
 \ /
  Last update: 2008-06-13 03:19    [W:0.051 / U:1.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site