kernel panic while detecting cpu in FreeBSD 9

Chad C chad at psys.us
Tue Apr 17 16:52:44 UTC 2012


Hello,
I posted to the FreeBSD forum and was told to seek help on the stable 
mailing list.  I recently build a new system and attempted to install 
FreeBSD 9 amd64 using the dvd.  Shortly after the boot loader menu while 
the kernel attempts to detect the processor cores I receive a kernel 
trap 12 error.  Kernel trap messages begin scrolling non stop but I was 
able to get a picture when they paused and here is the text:


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:0xffffffff80823368
stack pointer        = 0x28:0xffffffff811a5030
frame pointer        = 0x28:0xffffffff811a5070
code segment        = base 0x0, limit 0xfffff, type 0x1b
             = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags    = resume, IOPL = 0
current process        = 0 ()
trap number        = 12
panic: page fault
cpuid = 0


The first suggestion from a forum poster was bad memory but I swapped 
out the memory and still received the panics.  Also tested the memory 
with memtest86+ and the bios memory test feature.  Both reported no 
errors.  I finally was able to get it to boot and install by breaking to 
the loader prompt and typing "kern.smp.disabled=1".  But the installed 
system also panics at the same point during boot and the only way to get 
it to boot is by disabling smp at the loader prompt.

I recompiled the kernel with "options DDB" and and tried tracing the 
problem, but since it happens so soon into the boot process I cannot get 
a crash dump.  Here is some of my system hardware if that helps as well:
     MSI P67A-GD65 (B3) mainboard
     intel core i5-2500K (quad core)
     G.SKILL Ripjaws X Series 8GB (2 x 4GB) DDR3 1600

My original FreeBSD forum post is at: 
http://forums.freebsd.org/showthread.php?t=31156 if that helps as well.  
The last forum poster suggest the problem might be in 
sys/amd64/amd64/mp_machdep.c and redirected me here.

Thanks for any assistance,

-Chad







More information about the freebsd-stable mailing list