fsck_ufs locked in snaplk

Dmitry Morozovsky marck at rinet.ru
Tue Apr 25 15:06:14 UTC 2006


On Tue, 25 Apr 2006, Chris Dillon wrote:

CD> > Please, also add DDB to the kernel and show the result of the
CD> > show lockedvnodes
CD> > alltrace
CD> > ps
CD> > in the DDB after the deadlock, as asked by Kris Kennaway earlier
CD> > in this thread !
CD> > 
CD> 
CD> OK, I've added DDB, but all of the information I might gather I'll have to
CD> write down by hand since I have no serial console access. :-(

I just made lab machine with serial console, compile minimal kernel with quotas 
and KDB+WITNESS, and immediately after ``quotacheck /var && quotaon /var'' got

kdb_backtrace(d663aba0,c051f402,c05f7da3,c05fe731,c32cb414) at 
kdb_backtrace+0x29
vfs_badlock(c05f7da3,c05fe731,c32cb414) at vfs_badlock+0x11
assert_vop_locked(c32cb414,c05fe731,c30ed400,c04eac2c,c05f6cf4) at 
assert_vop_locked+0x4a
quotaon(c30c5300,c3069c00,0,804a3e0,0) at quotaon+0x166
ufs_quotactl(c3069c00,10000,0,804a3e0,c30c5300) at ufs_quotactl+0xb9
quotactl(c30c5300,d663ad04,4,1,206) at quotactl+0xf8
syscall(3b,3b,3b,8048fa8,2813cccc) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (148, FreeBSD ELF32, quotactl), eip = 0x280b694b, esp = 0xbfbfebcc, 
ebp = 0xbfbfebf8 ---
quotaon: 0xc32cb414 is not locked but should be
KDB: enter: lock violation

full console log after dropping to ddb is available (40k) at

http://woozle.net/FreeBSD/debug/kdb-quota-20060425.txt


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list