From owner-freebsd-stable@FreeBSD.ORG Wed Oct 3 15:54:58 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8548C106566C for ; Wed, 3 Oct 2012 15:54:58 +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 F332D8FC0A for ; Wed, 3 Oct 2012 15:54:57 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q93Ft4pL028442; Wed, 3 Oct 2012 18:55:04 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q93FsqeE070201; Wed, 3 Oct 2012 18:54:52 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q93FsqAg070200; Wed, 3 Oct 2012 18:54:52 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 3 Oct 2012 18:54:52 +0300 From: Konstantin Belousov To: Rick Macklem Message-ID: <20121003155452.GY35915@deviant.kiev.zoral.com.ua> References: <506BFECE.3020006@yahoo.de> <37099006.1631279.1349270651574.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oYrjhH26xX5Rz9aF" Content-Disposition: inline In-Reply-To: <37099006.1631279.1349270651574.JavaMail.root@erie.cs.uoguelph.ca> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 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: Norbert Aschendorff , freebsd-stable@freebsd.org Subject: Re: panic "Sleeping thread owns a non-sleepable lock" via cv_timedwait_signal, was "rsync over NFS" 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, 03 Oct 2012 15:54:58 -0000 --oYrjhH26xX5Rz9aF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 03, 2012 at 09:24:11AM -0400, Rick Macklem wrote: > Norbert Aschendorff wrote: > > Another logs - even with a /var/crash crash report :) > >=20 > > Please note: The /var/crash files stem from another crash than the big > > syslog does! > >=20 > > The syslog file inside the tarball is about 4.7 MB; it contains > > everything since the start of the crash. > >=20 > > New /var/crash files: > > http://lbo.spheniscida.de/Files/nfs-rsync-crash-witnessII.tgz > > New syslog file: > > http://lbo.spheniscida.de/Files/nfs-rsync-crash-witnessIII-only-message= s.tgz > >=20 > > (Both < 100 KB) > >=20 > > The used kernel is called GENERIC-OWN-WITNESS and has all three > > WITNESS > > options enabled and nothing else. > >=20 > I'll take a look at these later to-day. >=20 > > But I just get an idea: Should I try it without Rick's NFSv4 > > numeric-uid-gid patch? Or is that completely unrelated? > > @Rick: Can you assure that it is impossible that the patch added this > > bug? > Doesn't seem likely, but I'd never guarantee that a patch isn't broken > and/or can never have weird side effects. So, it might be worth trying > backing the patch out and seeing if it still crashes. >=20 > Thanks for doing this testing, rick So do you use nullfs exported mounts ? And stable ? Can you try to remove nullfs from the set up ? I wonder if there are any calls to VFS_FHTOVP() with LK_INTERLOCK set. Specifically, nullfs probably does not handle LK_INTERLOCK properly both for nullfs_vget and nullfs_fhtovp() at all. --oYrjhH26xX5Rz9aF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlBsX8wACgkQC3+MBN1Mb4jVUgCdGLTaqb5MUC28ZAAFgkejgltV MsgAnj4I7ucVhtjvuscj+PBZUIel/XiS =Zqwx -----END PGP SIGNATURE----- --oYrjhH26xX5Rz9aF--