panic: GPF in kernel

Stefan Bethke stb at
Mon Feb 27 07:39:23 UTC 2012

Setting up new hardware (i5 CPU, 16 GB RAM) and doing a burn-in test running make buildworld in a loop.  After a couple of hours, I got this panic.  8-stable is from January, ZFS root.

Does this correlate with any recently fixed bugs, or is this likely a hardware issue?

# uname -a
FreeBSD 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Feb 24 23:22:57 UTC 2012     root at  amd64

Fatal trap 9: general protection fault while in kernel mode
cpuid = 3; apic id = 06
instruction pointer	= 0x20:0xffffffff805460c5
stack pointer	        = 0x28:0xffffff84830119d0
frame pointer	        = 0x28:0xffffff8483011a60
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 38198 (cc1)
trap number		= 9
panic: general protection fault
cpuid = 3
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x37
panic() at panic+0x187
trap_fatal() at trap_fatal+0x290
trap() at trap+0x180
calltrap() at calltrap+0x8
--- trap 0x9, rip = 0xffffffff805460c5, rsp = 0xffffff84830119d0, rbp = 0xffffff8483011a60 ---
pmap_remove_pages() at pmap_remove_pages+0x275
vmspace_exit() at vmspace_exit+0x9a
exit1() at exit1+0x3b3
sys_exit() at sys_exit+0xe
amd64_syscall() at amd64_syscall+0x24f
Xfast_syscall() at Xfast_syscall+0xfc
--- syscall (1, FreeBSD ELF64, sys_exit), rip = 0x84ba3c, rsp = 0x7fffffffdf68, rbp = 0x7fffffffdfa0 ---

(kgdb) bt
#0  doadump () at /freebsd/checkout/src/sys/kern/kern_shutdown.c:263
#1  0xffffffff802eab00 in boot (howto=260)
    at /freebsd/checkout/src/sys/kern/kern_shutdown.c:441
#2  0xffffffff802eafa1 in panic (fmt=Variable "fmt" is not available.
    at /freebsd/checkout/src/sys/kern/kern_shutdown.c:614
#3  0xffffffff8054dc80 in trap_fatal (frame=0x9, eva=Variable "eva" is not available.
    at /freebsd/checkout/src/sys/amd64/amd64/trap.c:825
#4  0xffffffff8054e2a0 in trap (frame=0xffffff8483011920)
    at /freebsd/checkout/src/sys/amd64/amd64/trap.c:621
#5  0xffffffff80534cb8 in calltrap ()
    at /freebsd/checkout/src/sys/amd64/amd64/exception.S:228
#6  0xffffffff805460c5 in pmap_remove_pages (pmap=0xffffff01982838d8)
    at /freebsd/checkout/src/sys/amd64/amd64/pmap.c:4087
#7  0xffffffff8051a61a in vmspace_exit (td=0xffffff017efca8a0)
    at /freebsd/checkout/src/sys/vm/vm_map.c:405
#8  0xffffffff802b93d3 in exit1 (td=0xffffff017efca8a0, rv=Variable "rv" is not available.
    at /freebsd/checkout/src/sys/kern/kern_exit.c:298
#9  0xffffffff802ba61e in sys_exit (td=Variable "td" is not available.
    at /freebsd/checkout/src/sys/kern/kern_exit.c:106
#10 0xffffffff8054d1ff in amd64_syscall (td=0xffffff017efca8a0, traced=0)
    at subr_syscall.c:114
#11 0xffffffff80534fac in Xfast_syscall ()
    at /freebsd/checkout/src/sys/amd64/amd64/exception.S:387
#12 0x000000000084ba3c in ?? ()
Previous frame inner to this frame (corrupt stack?)

Stefan Bethke <stb at>   Fon +49 151 14070811

More information about the freebsd-stable mailing list