Re: KASLR causes intermittent boot failures on some systems
From: Thomas Garnier
Date: Mon Apr 24 2017 - 20:41:57 EST
On Mon, Apr 24, 2017 at 4:07 PM, Baoquan He <bhe@xxxxxxxxxx> wrote:
> Yeah, according to my debugging tracking, it goes as Dan said. And the
> is_ram is REGION_DISJOINT. And till arch_add_memory, the parameters
> passed to arch_add_memory are "arch_add_memory, align_start:0x10000000000, align_size:0x3000000000",
> seems it's going well.
Hum ok, I hope it was another path given it seems the page table is
correctly setup on this one.
Maybe looking at the PTEs with and without crash might help? (setting
this if statement to 1:
http://lxr.free-electrons.com/source/arch/x86/mm/init_64.c#L360)
Thanks Baoquan,
--
Thomas