tmpfs deadlock on stable/9
Kostik Belousov
kostikbel at gmail.com
Wed Dec 7 18:20:36 UTC 2011
On Wed, Dec 07, 2011 at 09:59:32PM +0400, Dmitry Morozovsky wrote:
> On Wed, 7 Dec 2011, Kostik Belousov wrote:
>
> > > I have ports tinderbox runnign on stable/9-amd64, with working directories on
> > > tmpfs. I have two consecutive tmpfs deadlocks like
> > >
> > > root at beaver:/usr/local/tb/scripts# ps t2
> > > PID TT STAT TIME COMMAND
> > > 2337 2 Is 0:00.04 /bin/tcsh
> > > 3079 2 I 0:00.01 sudo -sE
> > > 3260 2 I 0:00.02 /bin/tcsh
> > > 20309 2 I+ 0:00.06 /bin/sh ./tc tinderbuild -nullfs -norebuild -b
> > > 9-i386-RiNet
> > > 27035 2 S+ 0:00.13 make PACKAGES=/usr/local/tb/packages/9-i386-RiNet -k
> > > -j1 all
> > > 46470 2 I+ 0:00.00 sh -ev
> > > 46471 2 I+ 0:00.01 /bin/sh /usr/local/tb/scripts/lib/portbuild
> > > 9-i386-RiNet 9-i386 RiNet -nullfs gsm-1.0.13.tbz /usr/ports/audio/gsm
> > > 46677 2 I+ 0:00.00 /bin/sh /buildscript /usr/ports/audio/gsm 2
> > > 46766 2 I+ 0:00.00 /pnohang 7200 /tmp/make.log4 gsm-1.0.13 make build
> > > 46767 2 I+ 0:00.02 make build
> > > 46768 2 I+ 0:00.00 /pnohang 7200 /tmp/make.log4 gsm-1.0.13 make build
> > > 46789 2 I+ 0:00.00 [sh]
> > > 46790 2 D+ 0:00.01 make -f Makefile -j4 all
> > > 46918 2 I+ 0:00.00 sh -ev
> > > 46926 2 I+ 0:00.00 sh -ev
> > > 46928 2 Z+ 0:00.09 <defunct>
> > > 46938 2 D+ 0:00.00 mv gsm_create.o ./src/gsm_create.o
> > > 46940 2 D+ 0:00.00 mv gsm_print.o ./src/gsm_print.o
> > >
> > > (this is parallel build, last 2 rm's are deadlocked on tmpfs)
> > >
> > > what kind of additional info should I send? I have debugging turned on in
> > > kernel, if it's needed.
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-deadlocks.html
> >
> > No, I do not promise to look into it.
>
> It is available at http://bsd.woozle.net/tmpfs-lock-20111207.txt (~260k)
>
> BTW, at least some of the debugger commands referenced (show locks, show
> alllocks) are no longer exist
This means that you do not have witness in your kernel.
Look at the reference I pointed you once more.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20111207/d4cf062c/attachment.pgp
More information about the freebsd-stable
mailing list