kexec fails to boot kernels where CONFIG_RANDOMIZE_BASE=y is set

WANG Chao chaowang at redhat.com
Thu Aug 21 20:19:41 PDT 2014


On 08/21/14 at 02:10pm, Vivek Goyal wrote:
>
> If kernel is being moved physically, then we potentially have the issue of
> it stomping other things. So how do we make sure that it does not overwrite
> initramfs, or previous kernel's page tables or something else?

In case you don't read that part, memory of initrd, cmdline and others
won't be overwritten.

This work is done in x86/boot/compressed/aslr.c::mem_avoid_init().

Thanks
WANG Chao



More information about the kexec mailing list