From owner-freebsd-current@freebsd.org Wed Oct 28 17:16:21 2015 Return-Path: Delivered-To: freebsd-current@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 B4E1DA1E957 for ; Wed, 28 Oct 2015 17:16:21 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 963511B7A for ; Wed, 28 Oct 2015 17:16:21 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id t9SHGCdJ021372; Wed, 28 Oct 2015 10:16:16 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201510281716.t9SHGCdJ021372@gw.catspoiler.org> Date: Wed, 28 Oct 2015 10:16:12 -0700 (PDT) From: Don Lewis Subject: Re: 11.0-CURRENT r290039 privileged instruction fault while in kernel mode To: kostikbel@gmail.com cc: freebsd-current@FreeBSD.org In-Reply-To: <20151028095326.GD2257@kib.kiev.ua> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2015 17:16:21 -0000 On 28 Oct, Konstantin Belousov wrote: > On Tue, Oct 27, 2015 at 04:09:28PM -0700, Don Lewis wrote: >> I just got this crash while running poudriere on a freshly upgraded >> 11.0-CURRENT machine. The instruction pointer value looks pretty >> strange. >> >> >> FreeBSD zipper.catspoiler.org 11.0-CURRENT FreeBSD 11.0-CURRENT #30 r290039: Tue Oct 27 00:08:00 PDT 2015 dl@zipper.catspoiler.org:/usr/obj/usr/src/sys/GENERIC amd64 >> >> panic: >> >> GNU gdb 6.1.1 [FreeBSD] >> Copyright 2004 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and you are >> welcome to change it and/or distribute copies of it under certain conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for details. >> This GDB was configured as "amd64-marcel-freebsd"... >> >> Unread portion of the kernel message buffer: >> >> >> Fatal trap 1: privileged instruction fault while in kernel mode >> cpuid = 4; apic id = 14 >> instruction pointer = 0x20:0xffffffff8240fef5 > What is the instruction at the reported address ? (kgdb) disassemble/r Dump of assembler code for function cpu_lock: 0xffffffff8240fef0 <+0>: 25 bb 40 82 ff and $0xff8240bb,%eax => 0xffffffff8240fef5 <+5>: ff (bad) 0xffffffff8240fef6 <+6>: ff (bad) 0xffffffff8240fef7 <+7>: ff 00 incl (%rax) 0xffffffff8240fef9 <+9>: 00 71 02 add %dh,0x2(%rcx) 0xffffffff8240fefc <+12>: 00 00 add %al,(%rax) 0xffffffff8240fefe <+14>: 00 00 add %al,(%rax) 0xffffffff8240ff00 <+16>: 00 00 add %al,(%rax) 0xffffffff8240ff02 <+18>: 00 00 add %al,(%rax) 0xffffffff8240ff04 <+20>: 00 00 add %al,(%rax) 0xffffffff8240ff06 <+22>: 00 00 add %al,(%rax) 0xffffffff8240ff08 <+24>: 01 00 add %eax,(%rax) 0xffffffff8240ff0a <+26>: 00 00 add %al,(%rax) 0xffffffff8240ff0c <+28>: 00 00 add %al,(%rax) 0xffffffff8240ff0e <+30>: 00 00 add %al,(%rax) End of assembler dump.