From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 7 15:14:57 2013 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9A83F504; Mon, 7 Jan 2013 15:14:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 77E7FFB4; Mon, 7 Jan 2013 15:14:57 +0000 (UTC) Received: from ralph.baldwin.cx (c-68-39-198-164.hsd1.de.comcast.net [68.39.198.164]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id BB231B972; Mon, 7 Jan 2013 10:14:56 -0500 (EST) From: John Baldwin To: freebsd-amd64@freebsd.org Subject: Re: amd64/175091: Crash: Fatal trap 12: page fault while in kernel mode Date: Mon, 7 Jan 2013 09:32:36 -0500 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <201301070805.r0785IeP031201@red.freebsd.org> In-Reply-To: <201301070805.r0785IeP031201@red.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201301070932.37097.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 07 Jan 2013 10:14:56 -0500 (EST) Cc: Rasmus Skaarup , freebsd-gnats-submit@freebsd.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2013 15:14:57 -0000 On Monday, January 07, 2013 03:05:18 AM Rasmus Skaarup wrote: > >Number: 175091 > >Category: amd64 > >Synopsis: Crash: Fatal trap 12: page fault while in kernel mode > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Mon Jan 07 08:10:01 UTC 2013 > >Closed-Date: > >Last-Modified: > >Originator: Rasmus Skaarup > >Release: 9.1-RELEASE > >Organization: > > >Environment: > FreeBSD thirdhost 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 > 09:23:10 UTC 2012 > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > >Description: > On of my virtualized FreeBSD machines has been panic'ing two times within > the last two weeks. After the first panic I ran freebsd-update and > upgraded to 9.1-RELEASE succesfully. Today the machine panic'ed again. > > I have another virtualized FreeBSD machine running on the same host, and it > does not exhibit this behaviour. > > Here is the output from dmesg, after reboot: > > **** > Fatal trap 12: page fault while in kernel mode > cpuid = 2; apic id = 02 > fault virtual address = 0x48 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff80bd5139 > stack pointer = 0x28:0xffffff81625536c0 > frame pointer = 0x28:0xffffff8162553750 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 62083 (httpd) > trap number = 12 > panic: page fault > cpuid = 2 > KDB: stack backtrace: > #0 0xffffffff809208a6 at kdb_backtrace+0x66 > #1 0xffffffff808ea8be at panic+0x1ce > #2 0xffffffff80bd8240 at trap_fatal+0x290 > #3 0xffffffff80bd857d at trap_pfault+0x1ed > #4 0xffffffff80bd8b9e at trap+0x3ce > #5 0xffffffff80bc315f at calltrap+0x8 > #6 0xffffffff80b41133 at vm_fault_hold+0x1b13 > #7 0xffffffff80b41cc3 at vm_fault+0x73 > #8 0xffffffff80bd84b4 at trap_pfault+0x124 > #9 0xffffffff80bd8c6c at trap+0x49c > #10 0xffffffff80bc315f at calltrap+0x8 > Uptime: 13h6m22s > ********* Can you enable crashdumps by setting 'dumpdev="AUTO"' in /etc/rc.conf? Also, can you run 'gdb /boot/kernel/kernel' and then at the prompt run 'l *vm_fault_hold+0x1b13' and reply with the output? -- John Baldwin