kernel panic while detecting cpu in FreeBSD 9

Chad C chad at psys.us
Wed Apr 18 04:31:07 UTC 2012


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



More information about the freebsd-stable mailing list