Bug 197934 - Kernel panic when creating backup with tar
Summary: Kernel panic when creating backup with tar
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 22:00 UTC by pvoigt
Modified: 2015-03-22 20:02 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pvoigt 2015-02-22 22:00:38 UTC
A few days ago I had a kernel panic when doing a backup of my home partition. The resulting tar file is about 16 GiB.

The following lines are the corresponding lines from my rsyslog:

Feb 18 23:23:15 spock kernel: kernel trap 12 with interrupts disabled
Feb 18 23:23:15 spock kernel:
Feb 18 23:23:15 spock kernel:
Feb 18 23:23:15 spock kernel: Fatal trap 12: page fault while in kernel mode
Feb 18 23:23:15 spock kernel: cpuid = 2; apic id = 02
Feb 18 23:23:15 spock kernel: fault virtual address = 0x20
Feb 18 23:23:15 spock kernel: fault code = supervisor read data, page not present
Feb 18 23:23:15 spock kernel: instruction pointer = 0x20:0xffffffff80974c3c
Feb 18 23:23:15 spock kernel: stack pointer = 0x28:0xfffffe045c8cc920
Feb 18 23:23:15 spock kernel: frame pointer = 0x28:0xfffffe045c8cc950
Feb 18 23:23:15 spock kernel: code segment = base rx0, limit 0xfffff, type 0x1b
Feb 18 23:23:15 spock kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Feb 18 23:23:15 spock kernel: processor eflags = resume, IOPL = 0
Feb 18 23:23:15 spock kernel: current process = 72239 (smbiod21)
Feb 18 23:23:15 spock kernel: trap number = 12
Feb 18 23:23:15 spock kernel: panic: page fault
Feb 18 23:23:15 spock kernel: cpuid = 2
Feb 18 23:23:15 spock kernel: KDB: stack backtrace:
Feb 18 23:23:15 spock kernel: #0 0xffffffff80963000 at kdb_backtrace+0x60
Feb 18 23:23:15 spock kernel: #1 0xffffffff80928125 at panic+0x155
Feb 18 23:23:15 spock kernel: #2 0xffffffff80d24f1f at trap_fatal+0x38f
Feb 18 23:23:15 spock kernel: #3 0xffffffff80d25238 at trap_pfault+0x308
Feb 18 23:23:15 spock kernel: #4 0xffffffff80d2489a at trap+0x47a
Feb 18 23:23:15 spock kernel: #5 0xffffffff80d0a782 at calltrap+0x8
Feb 18 23:23:15 spock kernel: #6 0xffffffff80914c20 at __mtx_unlock_sleep+0x60
Feb 18 23:23:15 spock kernel: #7 0xffffffff80914ba9 at __mtx_unlock_flags+0x69
Feb 18 23:23:15 spock kernel: #8 0xffffffff81a21054 at smb_iod_sendall+0x264
Feb 18 23:23:15 spock kernel: #9 0xffffffff81a21760 at smb_iod_thread+0xf0
Feb 18 23:23:15 spock kernel: #10 0xffffffff808f8b6a at fork_exit+0x9a
Feb 18 23:23:15 spock kernel: #11 0xffffffff80d0acbe at fork_trampoline+0xe
Feb 18 23:23:15 spock kernel: Uptime: 21d12h47m48s
Comment 1 Christian Ullrich 2015-03-22 20:02:42 UTC
I have a very similar crash occurring, also on 10.1-REL (p1), at least once every 24 hours, starting on 2015-03-17. My cores only cover the latest three crashes:


#0  doadump (textdump=<value optimized out>) at pcpu.h:219
219     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump (textdump=<value optimized out>) at pcpu.h:219
#1  0xffffffff80935fc2 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:452
#2  0xffffffff80936384 in panic (fmt=<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:759
#3  0xffffffff80d5673f in trap_fatal (frame=<value optimized out>,
    eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:865
#4  0xffffffff80d56a58 in trap_pfault (frame=0xfffffe023a60ea00,
    usermode=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:676
#5  0xffffffff80d560ba in trap (frame=0xfffffe023a60ea00)
    at /usr/src/sys/amd64/amd64/trap.c:440
#6  0xffffffff80d3bff2 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:232
#7  0xffffffff8091dd71 in __mtx_lock_sleep (c=0xfffff800850c8d90,
    tid=18446735283908809872, opts=0,
    file=0x200 <Address 0x200 out of bounds>, line=2)
    at /usr/src/sys/kern/kern_mutex.c:433
#8  0xffffffff8091dbba in __mtx_lock_flags (c=<value optimized out>,
    opts=1997313168, file=0x0, line=512) at /usr/src/sys/kern/kern_mutex.c:224
#9  0xffffffff81c4273a in smb_iod_thread (arg=0xfffff800850c8d00)
    at /usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c:595
#10 0xffffffff80901b1a in fork_exit (
    callout=0xffffffff81c42670 <smb_iod_thread>, arg=0xfffff800850c8d00,
    frame=0xfffffe023a60ec00) at /usr/src/sys/kern/kern_fork.c:996
#11 0xffffffff80d3c52e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:606
#12 0x0000000000000000 in ?? ()


#0  doadump (textdump=<value optimized out>) at pcpu.h:219
219     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump (textdump=<value optimized out>) at pcpu.h:219
#1  0xffffffff80935fc2 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:452
#2  0xffffffff80936384 in panic (fmt=<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:759
#3  0xffffffff80d5673f in trap_fatal (frame=<value optimized out>,
    eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:865
#4  0xffffffff80d56a58 in trap_pfault (frame=0xfffffe023a6369a0,
    usermode=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:676
#5  0xffffffff80d560ba in trap (frame=0xfffffe023a6369a0)
    at /usr/src/sys/amd64/amd64/trap.c:440
#6  0xffffffff80d3bff2 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:232
#7  0xffffffff8091dd71 in __mtx_lock_sleep (c=0xfffff8004153e538,
    tid=18446735286175623456, opts=0,
    file=0x200 <Address 0x200 out of bounds>, line=2)
    at /usr/src/sys/kern/kern_mutex.c:433
#8  0xffffffff8091dbba in __mtx_lock_flags (c=<value optimized out>,
    opts=-30840544, file=0x0, line=512) at /usr/src/sys/kern/kern_mutex.c:224
#9  0xffffffff81c41e22 in smb_iod_sendall ()
    at /usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c:542
#10 0xffffffff81c42760 in smb_iod_thread (arg=0xfffff8004153e500)
    at /usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c:637
#11 0xffffffff80901b1a in fork_exit (
    callout=0xffffffff81c42670 <smb_iod_thread>, arg=0xfffff8004153e500,
    frame=0xfffffe023a636c00) at /usr/src/sys/kern/kern_fork.c:996
#12 0xffffffff80d3c52e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:606
#13 0x0000000000000000 in ?? ()


#0  doadump (textdump=<value optimized out>) at pcpu.h:219
219     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump (textdump=<value optimized out>) at pcpu.h:219
#1  0xffffffff80935fc2 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:452
#2  0xffffffff80936384 in panic (fmt=<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:759
#3  0xffffffff80d5673f in trap_fatal (frame=<value optimized out>,
    eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:865
#4  0xffffffff80d56a58 in trap_pfault (frame=0xfffffe023a49f9b0,
    usermode=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:676
#5  0xffffffff80d560ba in trap (frame=0xfffffe023a49f9b0)
    at /usr/src/sys/amd64/amd64/trap.c:440
#6  0xffffffff80d3bff2 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:232
#7  0xffffffff8098301c in turnstile_broadcast (ts=0x0, queue=0)
    at /usr/src/sys/kern/subr_turnstile.c:838
#8  0xffffffff8091dfb0 in __mtx_unlock_sleep (c=0xfffff80039dd0638,
    opts=<value optimized out>, file=0xffffffff81c4c901 "ec", line=1)
    at /usr/src/sys/kern/kern_mutex.c:761
#9  0xffffffff8091df39 in __mtx_unlock_flags (c=<value optimized out>,
    opts=<value optimized out>, file=0xffffffff81c4c901 "ec", line=1)
    at /usr/src/sys/kern/kern_mutex.c:254
#10 0xffffffff81c42054 in smb_iod_sendall ()
    at /usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c:93
#11 0xffffffff81c42760 in smb_iod_thread (arg=0xfffff80039dd0600)
    at /usr/src/sys/modules/smbfs/../../netsmb/smb_iod.c:637
#12 0xffffffff80901b1a in fork_exit (
    callout=0xffffffff81c42670 <smb_iod_thread>, arg=0xfffff80039dd0600,
    frame=0xfffffe023a49fc00) at /usr/src/sys/kern/kern_fork.c:996
#13 0xffffffff80d3c52e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:606
#14 0x0000000000000000 in ?? ()