Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750986AbdL3WQy (ORCPT ); Sat, 30 Dec 2017 17:16:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41950 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbdL3WQx (ORCPT ); Sat, 30 Dec 2017 17:16:53 -0500 Date: Sat, 30 Dec 2017 16:16:51 -0600 From: Josh Poimboeuf To: Alexander Tsoy Cc: Andy Lutomirski , Linus Torvalds , Toralf =?utf-8?Q?F=C3=B6rster?= , stable , Linux Kernel , the arch/x86 maintainers Subject: Re: 4.14.9 doesn't boot (regression) Message-ID: <20171230221651.kbzn5xchjs5fexwm@treble> References: <33249a35-7d6a-f0f3-5a98-e6474f9366e3@gmx.de> <7A0A9B37-20FF-4B17-B4F5-D8B999269FC4@amacapital.net> <20171230034947.6jgk5t7c7jrl6dwg@treble> <1514623513.2379.1.camel@tsoy.me> <20171230170946.ywnkxkeolwk3jm6w@treble> <20171230175746.5snazk5sem4ribk6@treble> <20171231010325.6de26fa5@laptop.puleglot.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171231010325.6de26fa5@laptop.puleglot.ru> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Sat, 30 Dec 2017 22:16:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1696 Lines: 37 On Sun, Dec 31, 2017 at 01:03:25AM +0300, Alexander Tsoy wrote: > > Turns out my previous code to print iret frames was a bit ... > > misguided, to put it nicely. Not sure what I was smoking. > > > > Hopefully the below patch should fix it (in place of the previous > > patch). Would you mind testing again? > > > > With that patch I get: > > [ 2.160017] NMI backtrace for cpu 0 > [ 2.160017] CPU: 0 PID: 1 Comm: init Not tainted 4.15.0-rc5 #1 > [ 2.160017] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1.fc27 04/01/2014 > [ 2.160017] RIP: 0010:double_fault+0x0/0x30 > [ 2.160017] RSP: 0000:fffffe8000007fd0 EFLAGS: 00010086 > [ 2.160017] RAX: 00000000ffc00000 RBX: 0000000000000001 RCX: 00000000c0000101 > [ 2.160017] RDX: 00000000ffff8edc RSI: 0000000000000000 RDI: fffffe8000007f58 > [ 2.160017] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 > [ 2.160017] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffa3c01426 > [ 2.160017] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 > [ 2.160017] FS: 0000000000000000(0000) GS:ffff8edcffc00000(0000) knlGS:0000000000000000 > [ 2.160017] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 2.160017] CR2: fffffe8000006f08 CR3: 000000007c153000 CR4: 00000000000006b0 > [ 2.160017] Call Trace: > [ 2.160017] <#DF> > [ 2.160017] RIP: 0010:do_double_fault+0xb/0x140 > [ 2.160017] RSP: 0000:fffffe8000006f18 EFLAGS: 00010086 > [ 2.160017] Yes, that's more like it. I'll clean up the patches and submit them soon. These nasty bugs are always a good testcase for the stack dump code. Thanks for testing! -- Josh