Subject: Re: panic with nfs: locking against myself
To: None <tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 03/18/2003 14:32:40
On Tue, Mar 18, 2003 at 11:48:49AM -0600, Frederick Bruckman wrote:
> On Tue, 18 Mar 2003, Pavel Cahyna wrote:
> 
> > # mount -t nfs -o rw,-q,-i omega:/usr/pkgsrc /usr/pkgsrc/
> >
> > # su - build
> > $ cd /usr/pkgsrc/print/teTeX
> > $ make clean
> >
> > at this moment the kernel crashes with
> >
> > panic: lockmgr: locking against myself
> 
> I bet it's the "-q". For what it's worth, I build with source and
> objdirs on NFS mounts all the time, mounted with "-3Tbi". Try it
> without the "-q".
> 
> It's not even clear from the man page what "-q" does.

I don't see how it's particularly unclear: "-q" enables NQNFS, which uses
leases to allow client caching.  This is *not* part of NFS version 3; it
is a BSD extension.

-- 
 Thor Lancelot Simon	                                      tls@rek.tjls.com
   But as he knew no bad language, he had called him all the names of common
 objects that he could think of, and had screamed: "You lamp!  You towel!  You
 plate!" and so on.              --Sigmund Freud