Re: KASAN vs. boot-time switching between 4- and 5-level paging

From: Andy Lutomirski
Date: Mon Jul 10 2017 - 20:31:14 EST

On Mon, Jul 10, 2017 at 2:24 PM, Kirill A. Shutemov
<kirill@xxxxxxxxxxxxx> wrote:
> On Mon, Jul 10, 2017 at 01:07:13PM -0700, Andy Lutomirski wrote:
>> Can you give the disassembly of the backtrace lines? Blaming the
>> .endr doesn't make much sense to me.
> I don't have backtrace. It's before printk() is functional. I only see
> triple fault and reboot.
> I had to rely on qemu tracing and gdb.

Can you ask GDB or objtool to disassemble around those addresses? Can
you also attach the big dump that QEMU throws out that shows register
state? In particular, CR2, CR3, and CR4 could be useful.