Date: Wed, 22 Mar 2017 09:58:22 +0000 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 Message-ID: <bug-217994-8-dHTekS8KyK@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-217994-8@https.bugs.freebsd.org/bugzilla/> References: <bug-217994-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217994 --- Comment #13 from Sylvain Garrigues <sylvain@sylvaingarrigues.com> --- (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 <http://gnu.org/licenses/gpl.htm= l> 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: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. 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 <native_lapic_setup+122> 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 <native_lapic_setup+141> 0xffffffff8107fd82 <+82>: mov $0x808,%ecx 0xffffffff8107fd87 <+87>: rdmsr=20=20 0xffffffff8107fd89 <+89>: and $0xffffff00,%eax 0xffffffff8107fd8e <+94>: cmpl $0x0,0xffffffff81edba40 0xffffffff8107fd96 <+102>: je 0xffffffff810800e2 <native_lapic_setup+946> 0xffffffff8107fd9c <+108>: mfence=20 0xffffffff8107fd9f <+111>: xor %edx,%edx 0xffffffff8107fda1 <+113>: mov $0x808,%ecx 0xffffffff8107fda6 <+118>: wrmsr=20=20 0xffffffff8107fda8 <+120>: jmp 0xffffffff8107fdd6 <native_lapic_setup+166> 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 <native_lapic_setup+249> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217994-8-dHTekS8KyK>