Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 00:24:51 GMT
From:      Bruce Marriner <bruce@sqls.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/173747: Fatal trap 12: page fault while in kernel mode when deleting files on ZFS pool
Message-ID:  <201211210024.qAL0OpZZ055806@red.freebsd.org>
Resent-Message-ID: <201211210030.qAL0U0xE045979@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 00:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Marriner
>Release:        9.1-RC3
>Organization:
>Environment:
FreeBSD backup.ameristarfence.com 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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

>How-To-Repeat:
There are specific files that I know cause the problem.  Trying to delete them causes the problem every time.  
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211210024.qAL0OpZZ055806>