kern/173747: Fatal trap 12: page fault while in kernel mode when deleting files on ZFS pool

Bruce Marriner bruce at
Wed Nov 21 00:30:00 UTC 2012

>Number:         173747
>Category:       kern
>Synopsis:       Fatal trap 12: page fault while in kernel mode when deleting files on ZFS pool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 00:30:00 UTC 2012
>Originator:     Bruce Marriner
>Release:        9.1-RC3
FreeBSD 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012     root at  amd64
I have a large ZFS pool (~9TB) that is 99% full. It is used for rsync backups using hard-links to create "daily snapshots".  When trying to delete files the system is crashing and rebooting with the below error.  I am able to move or write to the problem file but that does not solve the problem.  I have run zfs scrub which repaired problems but this problem still exists afterwards.

Fatal trap 12: page fault while in kernel mode
cpuid = 5; apic id = 33
fault virtual address   = 0x160
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff815cdc76
stack pointer           = 0x28:0xffffff8685838870
frame pointer           = 0x28:0xffffff8685838930
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         = 1788 (rm)
trap number             = 12
panic: page fault
cpuid = 5
KDB: stack backtrace:
#0 0xffffffff809208a6 at kdb_backtrace+0x66
#1 0xffffffff808ea8be at panic+0x1ce
#2 0xffffffff80bd8240 at trap_fatal+0x290
#3 0xffffffff80bd857d at trap_pfault+0x1ed
#4 0xffffffff80bd8b9e at trap+0x3ce
#5 0xffffffff80bc315f at calltrap+0x8
#6 0xffffffff80c68504 at VOP_REMOVE_APV+0x34
#7 0xffffffff8098709d at kern_unlinkat+0x32d
#8 0xffffffff80bd7ae6 at amd64_syscall+0x546
#9 0xffffffff80bc3447 at Xfast_syscall+0xf7

There are specific files that I know cause the problem.  Trying to delete them causes the problem every time.  


More information about the freebsd-bugs mailing list