kexec fails to boot kernels where CONFIG_RANDOMIZE_BASE=y is set

Vivek Goyal vgoyal at redhat.com
Wed Aug 20 07:33:15 PDT 2014


On Tue, Aug 19, 2014 at 05:07:24PM +0800, WANG Chao wrote:
> On 08/18/14 at 10:57am, Vivek Goyal wrote:
> > Hi Thomas,
> > 
> > I think kexec is broken with CONFIG_RANDOMIZE_BASE=y. Chao had raised
> > this issue some time back when this option was introduced. I don't
> > remember the details though that why it is broken.
> 
> The following fix the problem for kdump case:
> 
> commit 0d52644
> Author: WANG Chao <chaowang at redhat.com>
> Date:   Fri Mar 28 15:05:00 2014 +0800
> 
>     x86, kaslr: add alternative way to locate kernel text mapping area
> 
> 
> For kexec case, it hangs in purgatory:
> 
> [  556.859384] kexec: Starting new kernel
> I'm in purgatory

Chao, 

Do you know why does it hang in purgatory in case of kexec?

Thanks
Vivek



More information about the kexec mailing list