From owner-freebsd-current Sat Sep 14 19:50:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE51B37B400 for ; Sat, 14 Sep 2002 19:50:41 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D8C343E77 for ; Sat, 14 Sep 2002 19:50:41 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 61CA566B8A; Sat, 14 Sep 2002 19:50:40 -0700 (PDT) Date: Sat, 14 Sep 2002 19:50:39 -0700 From: Kris Kennaway To: Kris Kennaway Cc: "Andrew P. Lentvorski" , Matthew Jacob , current@freebsd.org Subject: Re: NFS lock failure (was Re: FreeBSD 5.0 as a desktop 'failure' report) Message-ID: <20020915025039.GA2139@xor.obsecurity.org> References: <20020914202747.GB74535@xor.obsecurity.org> <20020914171333.M91535-100000@mail.allcaps.org> <20020915012837.GA943@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <20020915012837.GA943@xor.obsecurity.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 14, 2002 at 06:28:37PM -0700, Kris Kennaway wrote: > On Sat, Sep 14, 2002 at 05:51:32PM -0700, Andrew P. Lentvorski wrote: > > Folks, > >=20 > > Could someone *please* take a look at the NFS lock packets *on the wire= *? > > Without this, it becomes significantly harder to debug the failure. >=20 > Well, there's also the apparent problem of a non-blocking flock() > operation blocking on the named pipe..but thanks for your suggestions, > I'll go and try them out now. I see pretty much the same problem when running the test suite against localhost; the locking test blocks in fcntl() when it shouldn't be. 89182 tlock 0.000507 RET write 44/0x2c 89182 tlock 0.000071 CALL fcntl(0x7,0x7,0xbfbff680) 89182 tlock 0.000025 NAMI "/var/run/lock" 89183 tlock 1.568295 RET read RESTART 89182 tlock 0.000152 RET fcntl RESTART #define F_GETLK 7 /* get record locking information */ It looks like something is wrong with file locking. Kris --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9g/V+Wry0BWjoQKURAqtKAJ0ZMykg2xVa1T6YnjsTobmPbKuxAwCdFuvY vwXbF+dD10JZbn+fuaH6YVU= =jQwa -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message