From owner-freebsd-current@FreeBSD.ORG Fri Jun 20 09:33:52 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F84337B401; Fri, 20 Jun 2003 09:33:52 -0700 (PDT) Received: from pozo.com (pozo.com [216.101.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB7E243F75; Fri, 20 Jun 2003 09:33:50 -0700 (PDT) (envelope-from null@pozo.com) Received: from quad.pozo.com (quad.pozo.com [192.168.0.61]) by pozo.com (8.12.9/8.12.9) with ESMTP id h5KGXnpH000970 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Fri, 20 Jun 2003 09:33:50 -0700 (PDT) (envelope-from null@pozo.com) Message-Id: <5.2.1.1.2.20030620093216.00a7f918@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Fri, 20 Jun 2003 09:33:49 -0700 To: Robert Watson From: Manfred Antar In-Reply-To: References: <5.2.1.1.2.20030620085142.00a72ae8@pozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: current@freebsd.org Subject: Re: Current kernel Fatal Trap 12 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 20 Jun 2003 16:33:52 -0000 At 12:21 PM 6/20/2003 -0400, Robert Watson wrote: >If you have a version of the kernel in question on disk and with debugging >symbols, could you attach gdb -k to it and send us the results of: > > l *0xc01f6212 > >That will provide a bit more information about where the panic is >occuring. This is likely a NULL pointer dereference. > >Robert N M Watson FreeBSD Core Team, TrustedBSD Projects >robert@fledge.watson.org Network Associates Laboratories > >On Fri, 20 Jun 2003, Manfred Antar wrote: > >> For the past week i have not been able to boot with current kernel. >> The last kernel that works is from Sat June 14th. >> When I build and try and boot a current kernel I get: >> >> Fatal trap 12: page fault while in kernel mode >> fault virtual address = 0x38 >> fault code = supervisor read, page not present >> instruction pointer = 0x8:0xc01f6212 >> stack pointer = 0x10:0xc04b1cec >> frame pointer = 0x10:0xc04b1cec >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, def32 1, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 0 >> current process = 0 (swapper) >> trap number = 12 >> panic: page fault >> Uptime: 1s >> >> This continues to scroll by many times and I can't get to the debugger. >> The machine is i386 SMP dual pentium-pro overdrive processors. >> Same thing happens with kernel configured as UNIprocessor. >> Here it is: (src)4998}cd /sys/i386/compile/pro2/ (pro2)4999}gdb -k kernel.debug GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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 "i386-undermydesk-freebsd"... (kgdb) l *0xc01f6212 0xc01f6212 is in device_shutdown (../../../kern/subr_bus.c:1499). 1494 } 1495 1496 int 1497 device_shutdown(device_t dev) 1498 { 1499 if (dev->state < DS_ATTACHED) 1500 return (0); 1501 return (DEVICE_SHUTDOWN(dev)); 1502 } 1503 (kgdb) ================================== || null@pozo.com || || Ph. (415) 681-6235 || ==================================