From owner-freebsd-current@FreeBSD.ORG Wed May 26 03:34:03 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 D1D2B16A4CE; Wed, 26 May 2004 03:34:03 -0700 (PDT) Received: from mpehp1.mpe-garching.mpg.de (mpehp1.mpe-garching.mpg.de [130.183.70.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 132E143D45; Wed, 26 May 2004 03:34:02 -0700 (PDT) (envelope-from robert@mpe.mpg.de) Received: from robert2.mpe-garching.mpg.de (robert2.mpe-garching.mpg.de [130.183.136.59])with ESMTP id MAA26227; Wed, 26 May 2004 12:33:30 +0200 (METDST) Received: from robert2.mpe-garching.mpg.de (localhost.mpe-garching.mpg.de [127.0.0.1])i4QAY9mq009144; Wed, 26 May 2004 12:34:09 +0200 (CEST) (envelope-from krs@robert2.mpe-garching.mpg.de) Message-Id: <200405261034.i4QAY9mq009144@robert2.mpe-garching.mpg.de> To: John Baldwin In-Reply-To: Your message of "Tue, 25 May 2004 10:18:41 EDT." <200405251018.41994.jhb@FreeBSD.org> Date: Wed, 26 May 2004 12:34:09 +0200 From: Klaus Robert Suetterlin cc: current@FreeBSD.org Subject: 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 Reply-To: robert@mpe.mpg.de 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 10:34:03 -0000 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). Regards, Robert S.