From owner-freebsd-stable@FreeBSD.ORG Tue Jan 13 16:33:59 2009 Return-Path: Delivered-To: FreeBSD-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BFFD10656BA for ; Tue, 13 Jan 2009 16:33:59 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id CF4A88FC29 for ; Tue, 13 Jan 2009 16:33:58 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id n0DGXpLJ019673; Tue, 13 Jan 2009 16:33:51 GMT Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LMmD9-0001vF-97; Tue, 13 Jan 2009 16:33:51 +0000 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id n0DGXpEs072615; Tue, 13 Jan 2009 16:33:51 GMT (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id n0DGXoLV072614; Tue, 13 Jan 2009 16:33:50 GMT (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: "L1NYX01D@GMAIL.COM" In-Reply-To: <54540134.20090112212757@gmail.com> References: <54540134.20090112212757@gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 13 Jan 2009 16:33:50 +0000 Message-Id: <1231864430.70382.26.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: FreeBSD-stable@FreeBSD.org Subject: Re: FreeBSD 7.0 kernel panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 16:33:59 -0000 On Mon, 2009-01-12 at 21:27 +0300, L1NYX01D@GOOGLEMAIL.COM wrote: > Hello, FreeBSD-stable. > > Last week I have a lot of kernel panics like: Firstly: are these new panics on a system that has been reliable until now, or has something changed on the system recently (hardware change, different software in use, increased load, etc)? Is there any way you can reliably reproduce this? And is the panic message and backtrace always the same? > > Fatal trap 12: page fault while in kernel mode > > cpuid = 0; apic id = 00 > > fault virtual address = 0x9 > > fault code = supervisor read, page not present > > instruction pointer = 0x20:0xc079f1af > > stack pointer = 0x28:0xe5697c80 > > frame pointer = 0x28:0xe5697cbc > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > > processor eflags = resume, IOPL = 0 > > current process = 14 (swi4: clock) > > trap number = 12 > > panic: page fault > > cpuid = 0 > > Uptime: 51m49s > > Physical memory: 2032 MB > > Dumping 177 MB: 162 146 130 114 98 82 66 50 34 18 2 > > > > #0 doadump () at pcpu.h:195 > > 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); > > (kgdb) bt > > #0 doadump () at pcpu.h:195 > > #1 0xc078d1b7 in boot (howto=260) at > > /usr/src/sys/kern/kern_shutdown.c:409 > > #2 0xc078d479 in panic (fmt=Variable "fmt" is not available. > > ) at /usr/src/sys/kern/kern_shutdown.c:563 > > #3 0xc0a0eaac in trap_fatal (frame=0xe5697c40, eva=9) at /usr/src/sys/i386/i386/trap.c:899 > > #4 0xc0a0f42f in trap (frame=0xe5697c40) at /usr/src/sys/i386/i386/trap.c:280 > > #5 0xc09f565b in calltrap () at > > /usr/src/sys/i386/i386/exception.s:139 > > #6 0xc079f1af in softclock (dummy=0x0) at > > /usr/src/sys/kern/kern_timeout.c:202 > > #7 0xc076f31b in ithread_loop (arg=0xc5101250) at > > /usr/src/sys/kern/kern_intr.c:1036 > > #8 0xc076c119 in fork_exit (callout=0xc076f170 , arg=0xc5101250, frame=0xe5697d38) > > at /usr/src/sys/kern/kern_fork.c:781 > > #9 0xc09f56d0 in fork_trampoline () at > > /usr/src/sys/i386/i386/exception.s:205 > > (kgdb) > > What I should do? In kgdb, enter "frame 6" then "list". The output should show where in the code this occurred. You can then print any variables that look interesting by: p c p c->ctime Gavin