From owner-freebsd-stable@FreeBSD.ORG Wed Dec 7 18:20:36 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AB451065673 for ; Wed, 7 Dec 2011 18:20:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 069E38FC12 for ; Wed, 7 Dec 2011 18:20:35 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id pB7IKVPC059288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Dec 2011 20:20:31 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id pB7IKULB011916; Wed, 7 Dec 2011 20:20:31 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id pB7IKU5t011915; Wed, 7 Dec 2011 20:20:30 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 7 Dec 2011 20:20:30 +0200 From: Kostik Belousov To: Dmitry Morozovsky Message-ID: <20111207182030.GI50300@deviant.kiev.zoral.com.ua> References: <20111207133035.GF50300@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+J83dzIsWsNHBAa3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-stable@freebsd.org Subject: Re: tmpfs deadlock on stable/9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 18:20:36 -0000 --+J83dzIsWsNHBAa3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2011 at 09:59:32PM +0400, Dmitry Morozovsky wrote: > On Wed, 7 Dec 2011, Kostik Belousov wrote: >=20 > > > I have ports tinderbox runnign on stable/9-amd64, with working direct= ories on=20 > > > tmpfs. I have two consecutive tmpfs deadlocks like > > >=20 > > > root@beaver:/usr/local/tb/scripts# ps t2 > > > PID TT STAT TIME COMMAND > > > 2337 2 Is 0:00.04 /bin/tcsh =20 > > > 3079 2 I 0:00.01 sudo -sE =20 > > > 3260 2 I 0:00.02 /bin/tcsh =20 > > > 20309 2 I+ 0:00.06 /bin/sh ./tc tinderbuild -nullfs -norebuild -= b=20 > > > 9-i386-RiNet > > > 27035 2 S+ 0:00.13 make PACKAGES=3D/usr/local/tb/packages/9-i386= -RiNet -k=20 > > > -j1 all > > > 46470 2 I+ 0:00.00 sh -ev > > > 46471 2 I+ 0:00.01 /bin/sh /usr/local/tb/scripts/lib/portbuild= =20 > > > 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 > > > 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 > > >=20 > > > (this is parallel build, last 2 rm's are deadlocked on tmpfs)=20 > > >=20 > > > what kind of additional info should I send? I have debugging turned o= n in=20 > > > kernel, if it's needed. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ke= rneldebug-deadlocks.html > >=20 > > No, I do not promise to look into it. >=20 > It is available at http://bsd.woozle.net/tmpfs-lock-20111207.txt (~260k) >=20 > BTW, at least some of the debugger commands referenced (show locks, show= =20 > 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. --+J83dzIsWsNHBAa3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7frm4ACgkQC3+MBN1Mb4jZVwCffi2t/CZOZhSUtclyAbvTuMNc +L8AoKmshEHuBP2AqqoD2KtWU934TUlU =gour -----END PGP SIGNATURE----- --+J83dzIsWsNHBAa3--