From owner-freebsd-stable@FreeBSD.ORG Wed Mar 10 11:02:11 2010 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 BBE551065670 for ; Wed, 10 Mar 2010 11:02:11 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id 05B5F8FC1E for ; Wed, 10 Mar 2010 11:02:09 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4009045CD9; Wed, 10 Mar 2010 12:02:07 +0100 (CET) Received: from localhost (pdawidek.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5AD8645685; Wed, 10 Mar 2010 12:02:03 +0100 (CET) Date: Wed, 10 Mar 2010 12:02:02 +0100 From: Pawel Jakub Dawidek To: Borja Marcos Message-ID: <20100310110202.GA1715@garage.freebsd.pl> References: <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de> <20100309122954.GE3155@garage.freebsd.pl> <20100309125815.GF3155@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: FreeBSD Stable , Stefan Bethke Subject: Re: Many processes stuck in zfs 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, 10 Mar 2010 11:02:11 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 10, 2010 at 10:24:49AM +0100, Borja Marcos wrote: > Tested. Same deadlock remains. Ok, to track this down I need the following: Uncomment 'CFLAGS+=3D-DDEBUG=3D1' line in sys/modules/zfs/Makefile. Add the following lines to your kernel config: options WITNESS options WITNESS_SKIPSPIN options INVARIANTS options INVARIANT_SUPPORT options DEBUG_VFS_LOCKS options DEBUG_LOCKS options KDB options DDB Recompile your kernel and modules and reboot. Once the deadlock occur, enter DDB and send me the output of: ps show alllocks show lockedvnods show allchains alltrace Thanks. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuXfCoACgkQForvXbEpPzRhqQCg0UXbWyt1zs9AGxPJGgU5Dg2m mTAAoPcK3HVV1pG4nEGGiMtm9dLgzAbR =lVA9 -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--