stable/10 r258317 - UFS lock problem
Konstantin Belousov
kostikbel at gmail.com
Mon Dec 9 17:07:24 UTC 2013
On Mon, Dec 09, 2013 at 01:55:27PM +0200, ?zkan KIRIK wrote:
> Hi,
>
> I compiled GENERIC kernel with;
>
> makeoptions DEBUG=-g
> options DDB
> options INVARIANTS
> options INVARIANT_SUPPORT
> options WITNESS
> options WITNESS_SKIPSPIN
> options DEBUG_LOCKS
> options DEBUG_VFS_LOCKS
> options DIAGNOSTIC
>
>
> When I run portsnap fetch extract, I catched these situations on console:
>
> lock order reversal:
> 1st Oxfffffe0080531888 bufwait (bufwait) ? ,usr/src/sys/kern/vfs
> bio.c:3050
> 2nd Oxfffff8000d48a400 dirhash (dirhash)
> /usr/src/sys/ufs/ufs/ufs_dirhash.c:284
> KDB: stack backtrace:
> kdb_trace_self_wrapper() at db_trace_self_wrapper.0x2b/frame
> Oxfffffe009aaa3700
> db_backtrace() at kdb backtrace.0x39/frame Oxfffffe009aaa37b0
> witness_checkorder() at witness_checkorder.Oxd23/frame Oxfffffe009aaa3840
> _sx_xlock() at _sx xlock.0x75/frame Oxfffffe009aaa3880
> ufsdirhash_remove() at ufsdirhash remove.0x47/frame Oxfffffe009aaa38b0
> ufs_dirremove() at ufs_dirremove.0x11b/frame Oxfffffe009aaa3900
> ufs_rmdir() at ufs_rmdir.Oxe3/frame Oxfffffe009aaa3940
> VOP_RMDIR_APV() at VOP RHDIR APV.0x12d/frame Oxfffffe009aaa3970
> kern_rmdirat() at kern rmdirat.0x1b8/frame Oxfffffe009aaa3ae0
> amd64_syscall() at amd64_syscal1.0x282/frame Oxfffffe009aaa3bf0
> Xfast_syscall() at Xfast_syscall.Oxfb/frame Oxfffffe009aaa3bf0
> --- syscall (137. FreeBSD ELF64. sys_rmdir). rip = Ox80088alfa. rsp =
> Ox7fffffffd998, rbp = Ox7fffffffda60 ---
>
>
> "ps" output over ssh is below:
>
> # ps ax | grep D+
> 29730 0 D+ 0:00.00 tar -xz --numeric-owner -f
> /var/db/portsnap/files/cafbda170898ff0143598e1363c08fc3ac82ba2f4d43334fc53b251dbcd28063.gz
> -C /usr/ports/games/highmoon/ (bsdtar)
>
>
>
>
>
> On Sun, Dec 8, 2013 at 9:38 PM, ?zkan KIRIK <ozkan.kirik at gmail.com> wrote:
>
> > Hi,
> >
> > You're right Peter. Now i am compiling with DDB option.
> > But
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-deadlocks.html page,
You did not read this page.
Without information listed, I cannot even guess what the problem is.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20131209/604db426/attachment.sig>
More information about the freebsd-stable
mailing list