FreeBSD-6.2, SMP, coredump -- fatal trap 12 : page fault while in kernel mode, current process: (swi1:net)

Yong Rao yrao at
Thu Jun 14 02:38:12 UTC 2007



Recently, in developing our driver, we found the core dump did not work
on the FBSD OS 6.2. It hung at the beginning of core dump when crash


We used the same configuration file to build the kernel on FBSD 6.0
(with SMP options). It worked. It dumped out the whole core file


What is the problem? How to solve this is issue? Or what option should
we add to get core dump work if we want to keep SMP option in the kernel

The following are the prints when the dump hung.

fatal trap 12 : page fault while in kernel mode
cpuid = 1 ; apic id = 00
fault virtual address 0x8
fault code = supervisor read , page not present
instruction pointer = 0x20:0xc059ac77
stack pointer = 0x28:0xe7fc2b30
frame pointer = 0x28:0xe7fc2b4c
code segment = base 0x0 limit 0xfffff , type 0x1b
= DPL0 , pres 1 , def32 1 , gran 1
processor eflags = interrupt enabled , resume , IOPL = 0
current process = 12 (swi1:net)
trap number 12
panic : page fault
cpuid = 0;
uptime 3hours 51 minutes 18 seconds

dumping 4030MB in 2 chunks
chunk 0 1MB
chunk 1 4031 MB   (stopped and hung here)



Our system: CPU: Dual Core AMD Opteron(tm) Processor 280 (2405.46-MHz
686-class CPU), 4x 1Gb RAM


FreeBSD localhost.localdomain 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed
Jun 13 18:28:22 PDT 2007
root at localhost.localdomain:/usr/src/sys/i386/compile/YONGSMPPOLL60  i386


Attached is our kernel build configuration file.



-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 10458 bytes
Url :

More information about the freebsd-smp mailing list