Re: panic: System call lstat returning with 1 locks held

From: Yar Tikhiy <yar_at_comp.chem.msu.su>
Date: Wed, 6 Feb 2008 17:48:02 +0300
On Wed, Feb 06, 2008 at 02:49:49PM +0100, Attilio Rao wrote:
[...]
> Want to see if this bt has been helpful? :)
> Can you try the attached patch and see if kernel rings a bell?:
> http://www.freebsd.org/~attilio/ntfs_debug.diff

The kernel just panics. :-)

-- 
Yar

panic: ntfs_ntput: lock should be unreleased!
cpuid = 0
Uptime: 1m14s
Physical memory: 499 MB
Dumping 32 MB: 17 1

#0  doadump () at pcpu.h:195
195     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc075ba7e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:417
#2  0xc075bd09 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:571
#3  0xc2fe9b65 in ntfs_ntput (ip=Variable "ip" is not available.
)
    at /usr/src/sys/modules/ntfs/../../fs/ntfs/ntfs_subr.c:467
#4  0xc2fe76a4 in ntfs_reclaim (ap=0xd614eb04)
    at /usr/src/sys/modules/ntfs/../../fs/ntfs/ntfs_vnops.c:262
#5  0xc0a51205 in VOP_RECLAIM_APV (vop=0xc2fed320, a=0xd614eb04)
    at vnode_if.c:1566
#6  0xc07d84ff in vgonel (vp=0xc2fd3990) at vnode_if.h:819
#7  0xc07d9fb7 in vflush (mp=0xc2fb6a70, rootrefs=0, flags=1, td=0xc2fdeaa0)
    at /usr/src/sys/kern/vfs_subr.c:2406
#8  0xc2fe6c4f in ntfs_unmount (mp=0xc2fb6a70, mntflags=134217728,
    td=0xc2fdeaa0) at /usr/src/sys/modules/ntfs/../../fs/ntfs/ntfs_vfsops.c:489
#9  0xc07d37c6 in dounmount (mp=0xc2fb6a70, flags=134217728, td=0xc2fdeaa0)
    at /usr/src/sys/kern/vfs_mount.c:1299
#10 0xc07d3d90 in unmount (td=0xc2fdeaa0, uap=0xd614ecfc)
    at /usr/src/sys/kern/vfs_mount.c:1195
#11 0xc0a45d53 in syscall (frame=0xd614ed38)
    at /usr/src/sys/i386/i386/trap.c:1034
#12 0xc0a2ca50 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:203
#13 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
Received on Wed Feb 06 2008 - 13:48:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC