From owner-freebsd-fs@FreeBSD.ORG Tue Aug 2 15:59:47 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3304516A41F for ; Tue, 2 Aug 2005 15:59:47 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAB5143D45 for ; Tue, 2 Aug 2005 15:59:46 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j72FxjNV004316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Aug 2005 11:59:45 -0400 Received: from obsecurity.dyndns.org (fields.fields.utoronto.ca [128.100.216.11]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j72Fxi6P011271; Tue, 2 Aug 2005 11:59:45 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 63B00513BD; Tue, 2 Aug 2005 11:59:36 -0400 (EDT) Date: Tue, 2 Aug 2005 11:59:36 -0400 From: Kris Kennaway To: rick@snowhite.cis.uoguelph.ca Message-ID: <20050802155936.GA74261@xor.obsecurity.org> References: <200508021527.LAA45116@snowhite.cis.uoguelph.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <200508021527.LAA45116@snowhite.cis.uoguelph.ca> User-Agent: Mutt/1.4.2.1i Cc: openbsd-nfsv4@sfobug.org, fs@freebsd.org, kris@obsecurity.org Subject: Re: Re: FreeBSD6.0-BETA1 panics X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2005 15:59:47 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 02, 2005 at 11:27:35AM -0400, rick@snowhite.cis.uoguelph.ca wro= te: > > I suspect the server is returning bogus data, perhaps because of the > > locking problems. >=20 > My server doesn't support the lockd/statd protocol, so v3 mounts won't > have any advisory locking support. Is that likely to be the cause of this? > (I don't know anything about the inner workings of cvs.) I meant vnode locking in the kernel (i.e. race between the two nfsd processes reading files on the server). Everything is read-only here (and static on the server), so there is no write collision from the client. > > OK, I triggered another deadlock while running a simultaneous cvs > > checkout on the server (via ufs) and over nfs3 from a remote machine. >=20 > Ok, thanks for the info. I'll try and figure this one out. > (Given your original panic, I assume you're running a kernel with > DEBUG_LOCKS and DEBUG_VFS_LOCKS options? That would have caught the > obvious "forgot to unlock the vnode" type problems, which would suggest > a race between the local ufs syscall and newnfsd for vnode locking. > Could be a fun one to find:-) Only DEBUG_LOCKS, I think..I'll add the other. Kris --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC75hoWry0BWjoQKURAh1yAKDKldKhVLBg74bJgIF+4fyKIvJaowCgq5Ok dees2Pb3MoVJJ4XBbQu54ss= =Tk+3 -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--