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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/