patchset-9 release (Re: [unionfs][patch] improvements of the unionfs - Problem Report, kern/91010)

Kris Kennaway kris at obsecurity.org
Sun Mar 19 18:19:58 UTC 2006


On Wed, Mar 15, 2006 at 06:25:33PM +0900, Daichi GOTO wrote:
> I have updated the patchset-9 of unionfs.

Another panic, this time from umount -f:

panic: union_lock: wrong vnode (un == null)

db> wh
Tracing pid 17750 tid 100151 td 0xc7c38a20
kdb_enter(c07273ef,2,c0720d69,ee2d2aa0,c7c38a20) at kdb_enter+0x30
panic(c0720d69,c0599f59,c0599bef,ee2d2ab8,c07605c0) at panic+0x13f
union_lock(ee2d2afc,0,0,2002,ca29ed20) at union_lock+0x68
VOP_LOCK_APV(c07605c0,ee2d2afc,ca29ede8,c6643488,8d3) at VOP_LOCK_APV+0xa6
vn_lock(ca29ed20,2002,c7c38a20,8d3,c6643488) at vn_lock+0xd3
vflush(c6643400,1,2,c7c38a20,c666bd80) at vflush+0x186
unionfs_unmount(c6643400,8080000,c7c38a20,c7c38a20,0) at unionfs_unmount+0x54
dounmount(c6643400,8080000,c7c38a20,415,800ff05) at dounmount+0x338
unmount(c7c38a20,ee2d2d04,c074769a,3ed,c69ea738) at unmount+0x270
syscall(3b,3b,3b,804a625,a000aa1) at syscall+0x2ea
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (22, FreeBSD ELF32, unmount), eip = 0x280c54c3, esp = 0xbfbfe44c, ebp = 0xbfbfe508 ---
db> show lockedvnods
Locked vnodes

0xc7347d20: tag ufs, type VLNK
    usecount 0, writecount 0, refcount 1 mountedhere 0
    flags ()
     lock type ufs: EXCL (count 1) by thread 0xc692c360 (pid 17230)#0 0xc05274eb at lockmgr+0x587
#1 0xc0594a97 at vop_stdlock+0x32
#2 0xc06fda82 at VOP_LOCK_APV+0xa6
#3 0xc066b4a1 at ffs_lock+0x19
#4 0xc06fda82 at VOP_LOCK_APV+0xa6
#5 0xc05ad540 at vn_lock+0xd3
#6 0xc059f500 at vrele+0x149
#7 0xc04ef97f at union_hashrem+0x28c
#8 0xc04f4257 at union_reclaim+0x1b
#9 0xc06fd958 at VOP_RECLAIM_APV+0xc4
#10 0xc05a02cc at vgonel+0x1b2
#11 0xc059cd48 at vtryrecycle+0x135
#12 0xc059c64b at vnlru_free+0x18e
#13 0xc059cdce at getnewvnode+0x47
#14 0xc066a126 at ffs_vget+0xfc
#15 0xc0671b7b at ufs_lookup+0xb83
#16 0xc06fb53d at VOP_CACHEDLOOKUP_APV+0xc4
#17 0xc0592219 at vfs_cache_lookup+0xcb

        ino 297887, on dev da0s1e

0xcb5d52a0: tag ufs, type VDIR
    usecount 3, writecount 0, refcount 6 mountedhere 0
    flags ()
    v_object 0xc8fa2d20 ref 0 pages 1
     lock type ufs: EXCL (count 1) by thread 0xc692c360 (pid 17230)#0 0xc05274eb at lockmgr+0x587
#1 0xc0594a97 at vop_stdlock+0x32
#2 0xc06fda82 at VOP_LOCK_APV+0xa6
#3 0xc066b4a1 at ffs_lock+0x19
#4 0xc06fda82 at VOP_LOCK_APV+0xa6
#5 0xc05ad540 at vn_lock+0xd3
#6 0xc0596ba5 at lookup+0xe5
#7 0xc05967f9 at namei+0x434
#8 0xc05a69c6 at kern_lstat+0x4f
#9 0xc05a6951 at lstat+0x2f
#10 0xc06e4c52 at syscall+0x2ea
#11 0xc06cebef at Xint0x80_syscall+0x1f

        ino 3044707, on dev da0s1e

0xc6d66540: tag ufs, type VDIR
    usecount 1, writecount 0, refcount 3 mountedhere 0xc6643400
    flags ()
     lock type ufs: EXCL (count 1) by thread 0xc7c38a20 (pid 17750)#0 0xc05274eb at lockmgr+0x587
#1 0xc0594a97 at vop_stdlock+0x32
#2 0xc06fda82 at VOP_LOCK_APV+0xa6
#3 0xc066b4a1 at ffs_lock+0x19
#4 0xc06fda82 at VOP_LOCK_APV+0xa6
#5 0xc05ad540 at vn_lock+0xd3
#6 0xc0599c72 at dounmount+0x51
#7 0xc0599bef at unmount+0x270
#8 0xc06e4c52 at syscall+0x2ea
#9 0xc06cebef at Xint0x80_syscall+0x1f

        ino 612352, on dev da0s1d

0xca29ed20: tag unionfs, type VLNK
    usecount 0, writecount 0, refcount 2 mountedhere 0
    flags (VI_DOOMED)
 VI_LOCKed     lock type unionfs: EXCL (count 1) by thread 0xc692c360 (pid 17230)#0 0xc05274eb at lockmgr+0x587
#1 0xc04ef789 at union_hashrem+0x96
#2 0xc04f4257 at union_reclaim+0x1b
#3 0xc06fd958 at VOP_RECLAIM_APV+0xc4
#4 0xc05a02cc at vgonel+0x1b2
#5 0xc059cd48 at vtryrecycle+0x135
#6 0xc059c64b at vnlru_free+0x18e
#7 0xc059cdce at getnewvnode+0x47
#8 0xc066a126 at ffs_vget+0xfc
#9 0xc0671b7b at ufs_lookup+0xb83
#10 0xc06fb53d at VOP_CACHEDLOOKUP_APV+0xc4
#11 0xc0592219 at vfs_cache_lookup+0xcb
#12 0xc06fb43b at VOP_LOOKUP_APV+0xa6
#13 0xc0596f3a at lookup+0x47a
#14 0xc05967f9 at namei+0x434
#15 0xc05a69c6 at kern_lstat+0x4f
#16 0xc05a6951 at lstat+0x2f
#17 0xc06e4c52 at syscall+0x2ea

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20060319/9c31a0ab/attachment.pgp


More information about the freebsd-fs mailing list