From owner-freebsd-bugs@freebsd.org Wed Mar 22 09:58:23 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DBE2D17428 for ; Wed, 22 Mar 2017 09:58:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F179915F4 for ; Wed, 22 Mar 2017 09:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v2M9wMLv029096 for ; Wed, 22 Mar 2017 09:58:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217994] Kernel panic in native_lapic_setup with 12-CURRENT on EC2 machine Date: Wed, 22 Mar 2017 09:58:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sylvain@sylvaingarrigues.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2017 09:58:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217994 --- Comment #13 from Sylvain Garrigues --- (In reply to Andriy Gapon from comment #12) root@ip-172-31-17-21:~ # kgdb7121 /mnt/boot/kernel/kernel GNU gdb (GDB) 7.12.1 [GDB v7.12.1 for FreeBSD] Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd12.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /mnt/boot/kernel/kernel...(no debugging symbols found)...done. (kgdb) disassemble native_lapic_setup Dump of assembler code for function native_lapic_setup: 0xffffffff8107fd30 <+0>: push %rbp 0xffffffff8107fd31 <+1>: mov %rsp,%rbp 0xffffffff8107fd34 <+4>: push %r15 0xffffffff8107fd36 <+6>: push %r14 0xffffffff8107fd38 <+8>: push %r13 0xffffffff8107fd3a <+10>: push %r12 0xffffffff8107fd3c <+12>: push %rbx 0xffffffff8107fd3d <+13>: sub $0x38,%rsp 0xffffffff8107fd41 <+17>: mov %edi,%r14d 0xffffffff8107fd44 <+20>: mov 0xffffffff81d6d320,%rax 0xffffffff8107fd4c <+28>: mov %rax,-0x30(%rbp) 0xffffffff8107fd50 <+32>: pushfq=20 0xffffffff8107fd51 <+33>: pop %rbx 0xffffffff8107fd52 <+34>: cli=20=20=20=20 0xffffffff8107fd53 <+35>: callq *0xffffffff81a216d0 0xffffffff8107fd5a <+42>: movslq %eax,%rsi 0xffffffff8107fd5d <+45>: cmpl $0x0,0xffffffff81edba40 0xffffffff8107fd65 <+53>: je 0xffffffff8107fdaa 0xffffffff8107fd67 <+55>: mov $0x803,%ecx 0xffffffff8107fd6c <+60>: rdmsr=20=20 0xffffffff8107fd6e <+62>: mov $0x810,%ecx 0xffffffff8107fd73 <+67>: bextr %ecx,%eax,%r12d 0xffffffff8107fd78 <+72>: cmpl $0x0,0xffffffff81edba40 0xffffffff8107fd80 <+80>: je 0xffffffff8107fdbd 0xffffffff8107fd82 <+82>: mov $0x808,%ecx 0xffffffff8107fd87 <+87>: rdmsr=20=20 0xffffffff8107fd89 <+89>: and $0xffffff00,%eax 0xffffffff8107fd8e <+94>: cmpl $0x0,0xffffffff81edba40 0xffffffff8107fd96 <+102>: je 0xffffffff810800e2 0xffffffff8107fd9c <+108>: mfence=20 0xffffffff8107fd9f <+111>: xor %edx,%edx 0xffffffff8107fda1 <+113>: mov $0x808,%ecx 0xffffffff8107fda6 <+118>: wrmsr=20=20 0xffffffff8107fda8 <+120>: jmp 0xffffffff8107fdd6 0xffffffff8107fdaa <+122>: mov 0xffffffff81edba38,%rax 0xffffffff8107fdb2 <+130>: mov $0x810,%ecx 0xffffffff8107fdb7 <+135>: bextr %ecx,0x30(%rax),%r12d 0xffffffff8107fdbd <+141>: mov 0xffffffff81edba38,%rcx 0xffffffff8107fdc5 <+149>: mov $0xffffff00,%eax 0xffffffff8107fdca <+154>: and 0x80(%rcx),%eax 0xffffffff8107fdd0 <+160>: mov %eax,0x80(%rcx) 0xffffffff8107fdd6 <+166>: imul $0x350,%rsi,%r13 0xffffffff8107fddd <+173>: cmpl $0x0,0xffffffff81edba40 0xffffffff8107fde5 <+181>: mov %rbx,-0x58(%rbp) 0xffffffff8107fde9 <+185>: je 0xffffffff8107fe29 0xffffffff8107fdeb <+187>: mov $0x80f,%ecx 0xffffffff8107fdf0 <+192>: rdmsr=20=20 0xffffffff8107fdf2 <+194>: mov %eax,%ecx 0xffffffff8107fdf4 <+196>: and $0xfffffc00,%ecx 0xffffffff8107fdfa <+202>: cmpl $0x0,0xffffffff81edba28 0xffffffff8107fe02 <+210>: mov $0x1ff,%edx 0xffffffff8107fe07 <+215>: mov $0x11ff,%eax 0xffffffff8107fe0c <+220>: cmove %edx,%eax 0xffffffff8107fe0f <+223>: or %ecx,%eax --=20 You are receiving this mail because: You are the assignee for the bug.=