kexec fails to boot kernels where CONFIG_RANDOMIZE_BASE=y is set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 22, 2014 at 02:47:39PM +0200, Thomas D. wrote:
> On 2014-08-22 14:38, Vivek Goyal wrote:
> > So may be this failure happens because new kernel stomps over page tables
> > of old kernel. But if that theory is right, then we should be able to
> > kexec using 32bit entry point of bzImage.
> > 
> > Thomas, have you had any success with that?
> 
> When I execute kexec with "--entry-32bit" (I understand that you asked
> me to try that) the new kernel will boot as expected.

Good to know that --entry-32bit option makes kexec work with kASLR
enabled. So this indeed sounds like the issue of page tables being
stomped over by new kernel.

IIUC, there are bootloaders which can use 64bit entry point of kernel. I
think they must run into similar issue too.

Thanks
Vivek



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux