Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 10:36:42 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-current@FreeBSD.org, robert@mpe.mpg.de
Cc:        current@FreeBSD.org
Subject:   Re: panic: device_set_ivars(NULL, ...) (was: fatal trap 12 when booting without ACPI)
Message-ID:  <200405261036.42284.jhb@FreeBSD.org>
In-Reply-To: <200405261034.i4QAY9mq009144@robert2.mpe-garching.mpg.de>
References:  <200405261034.i4QAY9mq009144@robert2.mpe-garching.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <ServerWorks NB6635 3.0LE host to PCI bridge> 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: <ServerWorks NB6635 3.0LE host to PCI bridge> 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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405261036.42284.jhb>