From owner-freebsd-current@FreeBSD.ORG Wed May 26 07:36:39 2004 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 E9DE116A4CF for ; Wed, 26 May 2004 07:36:39 -0700 (PDT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id C352743D2D for ; Wed, 26 May 2004 07:36:39 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 22123 invoked from network); 26 May 2004 14:36:13 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 26 May 2004 14:36:13 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i4QEa3jh013768; Wed, 26 May 2004 10:36:03 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org, robert@mpe.mpg.de Date: Wed, 26 May 2004 10:36:42 -0400 User-Agent: KMail/1.6 References: <200405261034.i4QAY9mq009144@robert2.mpe-garching.mpg.de> In-Reply-To: <200405261034.i4QAY9mq009144@robert2.mpe-garching.mpg.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405261036.42284.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: current@FreeBSD.org Subject: Re: panic: device_set_ivars(NULL, ...) (was: fatal trap 12 when booting without ACPI) 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: Wed, 26 May 2004 14:36:40 -0000 On Wednesday 26 May 2004 06:34 am, Klaus Robert Suetterlin wrote: > I recompiled the kernel with all invariants and ddb enabled, which > seems to catch the problem already while setting some invariants. > See further down. > > Without invariants or ddb, I get the following: > > pcib5: at pcibus 5 on > motherboard > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x44 > fault code = supervisor write, age not present > instruction pointer = 0x8:0xc04f0919 > stack pointer = 0x10:0xc0821c34 > frame pointer = 0x10:0xc0821c34 > 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 > at line 815 in file /usr/src/sys/i386/i386/trap.c > Uptime: 1s > > > With invariants and ddb in I get: > > pcib5: at pcibus 5 on > motherboard panic: device_set_invars(NULL, ...) > at line 1353 in file ../../../kern/subr_bus.c > Debugger("panic") > Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0 > db> > > > ``db> where'' results in (truncated ``[...]'' alot of information): > > Debugger[...] > __panic[...] > device_set_invars[...] > legacy_add_child[...] > legacy_pcib_attach[...] > [...] > > Please tell me what data You need (like full where with argument > values and addresses). The full dmesg prior to this. You can use a serial console to capture it if needed. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org