Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2012 00:24:17 -0400
From:      Chad C <chad@psys.us>
To:        freebsd-stable@freebsd.org
Subject:   Re: kernel panic while detecting cpu in FreeBSD 9
Message-ID:  <4F8E41F1.3000500@psys.us>
In-Reply-To: <20120417191603.GO2358@deviant.kiev.zoral.com.ua>
References:  <4F8D9FCC.6000705@psys.us> <20120417191603.GO2358@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Updated the mainboard UEFI to latest version but am still getting the 
same kernel page fault.

I compiled "options DDB" and "options GDB" into the generic kernel.  
After rebooting and entering DDB I get the following from various commands:

On bootup I am now getting the following:

real memory = 8589934592 (8192 MB)
avail memory = 8198332416 (7818 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
panic: AP #2 (PHY# 4) failed!
cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at KDB_backtrace+0x37
panic() at panic+0x187
cpu_mp_start() at cpu_mp_start+0x589
mp_start() at mp_start+0x85
mi_startup() at mi_startup+0x77
btext() at btext+0x2c
KDB: enter: panic
[ thread pid 0 tid 0 ]
Stopped at    kdb_enter+0x3b: movq    $0,0x905dc2(%rip)
db>


Typing "s" and "c" at the db prompt gives the following:

db> s
[ thread pid 0 tid 0 ]
Stopped at    kdb_enter+0x46: addq    $0x8,%rsp
db> c
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x18
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff808316e8
stack pointer           = 0x28:0xffffffff81412ab0
frame pointer           = 0x28:0xffffffff81412af0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = trace trap, resume, IOPL = 0
current process         = 0 ()
[ thread pid 0 tid 0 ]
Stopped at    _thread_lock_flags+0x28:    movq    0x18(%r12),%rax


And trace gives me the following output:

db> trace
Tracing pid 0 tid 0 td 0xffffffff8112f830
_thread_lock_flags() at _thread_lock_flags+0x28
kern_reboot() at kern_reboot+0x33
panic() at panic+0x171
cpu_mp_start() at cpu_mp_start+0x589
mp_start() at mp_start+0x85
mi_startup() at mi_startup+0x77
btext() at btext+0x2c



-Chad




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