[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 2 Feb 2015 20:10:18 +0800
From: Baoquan He <bhe@...hat.com>
To: Andy Lutomirski <luto@...capital.net>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, X86 ML <x86@...nel.org>,
Kees Cook <keescook@...omium.org>,
Vivek Goyal <vgoyal@...hat.com>,
Thomas Deutschmann <whissi@...ssi.de>
Subject: Re: [PATCH 0/6] randomize kernel physical address and virtual
address separately
On 02/01/15 at 05:13am, Andy Lutomirski wrote:
> I applied this to Linus' tree today, and I get:
>
> early console in decompress_kernel
> KASLR disabled by default...
>
> Decompressing Linux...
>
> XZ-compressed data is corrupt
>
> -- System halted
>
> If I comment out the output = 0x140000000 line, then it boots.
>
> With gzip instead of XZ, it just gets stuck at Decompressing Linux...
>
> Presumably this is because 0x140000000 is an invalid address in my VM.
> I added more RAM, and I get a nice reboot loop. QEMU thinks that it's
> a page fault causing a triple fault.
>
> If I add in my IDT code and #PF handler, nothing changes. If I
> re-enable relocations, I get:
>
> 32-bit relocation outside of kernel!
>
> Can you post the whole set of patches you're using or a link to a git tree?
Hi Andy,
Please check the related code here:
https://github.com/baoquan-he/linux/commits/kaslr-separate-random
Baoquan
Thanks
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists