Subject: Re: locking problem in nfsio with LOCKDEBUG
To: NetBSD current <current-users@netbsd.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 12/09/2003 13:18:05
On Tue, Dec 09, 2003 at 12:06:25PM +0100, Juergen Hannken-Illjes wrote:
> On Tue, Dec 09, 2003 at 11:53:37AM +0100, Nicolas Joly wrote:
> > 
> > The system fell in debugger, while processing about 110GB (530 text
> > files, high number of nfs operations) :
> > 
> > LK_SPIN spinout, excl 1, share 0
> > held by CPU 1
> > last locked at /local/src/NetBSD/src/sys/kern/kern_synch.c:978
> > last unlocked at /local/src/NetBSD/src/sys/kern/kern_lock.c:1364
> > _spinlock_acquire_count() at netbsd:_spinlock_acquire_count+0x7f
> > mi_switch() at netbsd:mi_switch+0x150
> > ltsleep() at netbsd:ltsleep+0x43b
> > nfssvc_iod() at netbsd:nfssvc_iod+0x106
> > start_nfsio() at netbsd:start_nfsio+0x16
> > Stopped in pid 285.1 (nfsio) at netbsd:cpu_Debugger+0x5:
> > 
[...]
> 
> Do you have sys/kern/kern_lock.c Rev. 1.74 or higher?

Just to be sure, i recompiled a updated kernel :

njoly@calimero [~]> ident /netbsd.ddb | grep kern_lock
     $NetBSD: kern_lock.c,v 1.74 2003/12/08 14:21:25 hannken Exp $

Just tried the same operations ... and got same results.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.