Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 11:49:15 +0200
From:      =?ISO-8859-1?Q?=D6zkan_KIRIK?= <ozkan.kirik@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Peter Holm <peter@holm.cc>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: stable/10 r258317 - UFS lock problem
Message-ID:  <CAAcX-AH%2Bfzpz_HGKFn_aLR_fzf0E0qLZ5OB4f3LO6P3Jg38%2BFw@mail.gmail.com>
In-Reply-To: <20131209170710.GU59496@kib.kiev.ua>
References:  <CAAcX-AHM6WXmWM1aTmaRETJFSMvAGqXsrCHo9a3nxhU9%2BHQhSQ@mail.gmail.com> <20131206201329.GK59496@kib.kiev.ua> <CAAcX-AHbwsSZHREL-RpFFojMWEwLDR0sCSkPTddmZMPbuV0E5A@mail.gmail.com> <20131207183044.GA19655@x2.osted.lan> <CAAcX-AEWiEzHaqt8=aYxHhD80astwXUJ3Q9Ub52WCv54Cd-5bw@mail.gmail.com> <CAAcX-AFKzW=tPgb5jKzNNZQazrdwhDo2SxQGuwLw71iHGezQog@mail.gmail.com> <20131209170710.GU59496@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for late response,

All screen shots from ddb are at
http://89.252.153.9/okirik/freebsd_ufs_bug_report.zip
Archive contains, ps, show pcpu, show allpcpu, show lockedvnods, show
locks, show alllocks, trace, where, alltrace  outputs.

Thanks for your interests,
With best regards.
Ozkan KIRIK


On Mon, Dec 9, 2013 at 7:07 PM, Konstantin Belousov <kostikbel@gmail.com>wrote:

> 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@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.htmlpage,
> You did not read this page.
>
> Without information listed, I cannot even guess what the problem is.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AH%2Bfzpz_HGKFn_aLR_fzf0E0qLZ5OB4f3LO6P3Jg38%2BFw>