From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f71.google.com (mail-oi0-f71.google.com [209.85.218.71]) by kanga.kvack.org (Postfix) with ESMTP id 8D64F44084A for ; Mon, 10 Jul 2017 20:31:01 -0400 (EDT) Received: by mail-oi0-f71.google.com with SMTP id z82so9181349oiz.6 for ; Mon, 10 Jul 2017 17:31:01 -0700 (PDT) Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id b203si7352796oia.97.2017.07.10.17.31.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 17:31:00 -0700 (PDT) Received: from mail-ua0-f178.google.com (mail-ua0-f178.google.com [209.85.217.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CEAC422B4D for ; Tue, 11 Jul 2017 00:30:59 +0000 (UTC) Received: by mail-ua0-f178.google.com with SMTP id g40so64762888uaa.3 for ; Mon, 10 Jul 2017 17:30:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170710212403.7ycczkhhki3vrgac@node.shutemov.name> References: <75acbed7-6a08-692f-61b5-2b44f66ec0d8@virtuozzo.com> <20170710123346.7y3jnftqgpingim3@node.shutemov.name> <20170710141713.7aox3edx6o7lrrie@node.shutemov.name> <03A6D7ED-300C-4431-9EB5-67C7A3EA4A2E@amacapital.net> <20170710184704.realchrhzpblqqlk@node.shutemov.name> <20170710212403.7ycczkhhki3vrgac@node.shutemov.name> From: Andy Lutomirski Date: Mon, 10 Jul 2017 17:30:38 -0700 Message-ID: Subject: Re: KASAN vs. boot-time switching between 4- and 5-level paging Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: "Kirill A. Shutemov" Cc: Andy Lutomirski , Dmitry Vyukov , Andrey Ryabinin , Alexander Potapenko , "Kirill A. Shutemov" , Linus Torvalds , Andrew Morton , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andi Kleen , Dave Hansen , linux-arch , "linux-mm@kvack.org" , LKML , kasan-dev On Mon, Jul 10, 2017 at 2:24 PM, Kirill A. Shutemov 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. --Andy -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org