Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tmpfs panic



On Sat, Apr 20, 2013 at 09:46:02AM +0100, Patrick Welche wrote:
> On Sat, Apr 20, 2013 at 01:05:32AM +0200, Thomas Klausner wrote:
> > On Fri, Apr 19, 2013 at 07:07:44PM +0100, Patrick Welche wrote:
> > > Good news is I have a core file, though something seems odd:
> > > 
> > > (gdb) target kvm netbsd.1.core
> > > #0  0x0000000000000000 in ?? ()
> > > (gdb) bt
> > > #0  0x0000000000000000 in ?? ()
> > > #1  0x0000000000000000 in ?? ()
> > > (gdb) print panicstr
> > > $1 = 0xffffffff80d43b00 "kernel diagnostic assertion 
> > > \"(node)->tn_spec.tn_dir.tn_readdir_lastp == NULL || 
> > > tmpfs_dircookie((node)->tn_spec.tn_dir.tn_readdir_lastp) == 
> > > (node)->tn_spec.tn_dir.tn_readdir_lastn\" failed: file \"../.."...
> > 
> > Reminds me of my PR 47739. Good that you have a core file, I don't
> > have one.

Just got a working core file:

(gdb) bt
#0  0xffffffff804e40de in cpu_reboot (howto=260, bootstr=<optimized out>)
    at ../../../../arch/amd64/amd64/machdep.c:705
#1  0xffffffff80696bad in vpanic (
    fmt=0xffffffff8096f688 "kernel %sassertion \"%s\" failed: file \"%s\", line 
%d ", ap=0xfffffe811b1769d0) at ../../../../kern/subr_prf.c:284
#2  0xffffffff80834368 in kern_assert (fmt=<unavailable>)
    at ../../../../../../lib/libkern/kern_assert.c:50
#3  0xffffffff806de80c in VP_TO_TMPFS_DIR (vp=<optimized out>)
    at ../../../../fs/tmpfs/tmpfs.h:357
#4  tmpfs_readdir (v=<optimized out>) at ../../../../fs/tmpfs/tmpfs_vnops.c:938
#5  0xffffffff807daa33 in VOP_READDIR (vp=0xfffffe81591b9be8, 
    uio=<optimized out>, cred=<optimized out>, eofflag=<optimized out>, 
    cookies=<optimized out>, ncookies=<optimized out>)
    at ../../../../kern/vnode_if.c:952
#6  0xffffffff807c507b in vn_readdir (fp=0xfffffe811bc1c940, 
    bf=0x7f7ff770b000 <Address 0x7f7ff770b000 out of bounds>, segflg=0, 
    count=<optimized out>, done=0xfffffe811b176bec, l=0xfffffe81105f3040, 
    cookies=0x0, ncookies=0x0) at ../../../../kern/vfs_vnops.c:470
#7  0xffffffff807c07c1 in sys___getdents30 (l=0xfffffe81105f3040, 
    uap=0xfffffe811b176c80, retval=0xfffffe811b176c30)
    at ../../../../kern/vfs_syscalls.c:4611
#8  0xffffffff806affe4 in sy_call (rval=0xfffffe811b176c30, 
    uap=0xfffffe811b176c80, l=0xfffffe81105f3040, sy=0xffffffff80c99460)

dmesg is full of

WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
WARNING: SPL NOT LOWERED ON SYSCALL 16445 -151703264 EXIT 0 7
WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
...
WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
sys___getdents30() at netbsd:sys___getdents30+0x76
WARNING: SPL NOT LOWERED ON SYSCALL 24678 -1 EXIT f7b2b400 6
WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
WARNING: SPL NOT LOWERED ON TRAP EXIT 6 0
...

P


Home | Main Index | Thread Index | Old Index