Subject: Re: sparc64: simple_lock: lock held
To: None <current-users@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
Date: 12/04/2003 22:27:17
On Thu, Dec 04, 2003 at 01:14:05PM -0800, Andrey Petrov wrote:
> On Thu, Dec 04, 2003 at 09:28:57PM +0100, Juergen Hannken-Illjes wrote:
> > >From todays sources on sparc64 I get:
> > 
> >     simple_lock: lock held
> >     lock: 0x1ac2110, currently at: src/sys/arch/sparc64/sparc64/pmap.c:1851
> >     last locked: src/sys/arch/sparc64/sparc64/pmap.c:1851
> >     last unlocked: src/sys/arch/sparc64/sparc64/pmap.c:2162
> > 
> 
> Can you send your kernel config and provide details
> on load and problem appearence? 
> 
> I also wonder if you keep previous kernel sources on which problem
> doesn't happen.

Load was very high, offending process was sshd. I was not able to get a
core dump because of this held simple_lock. Last head of top was:

    load averages:  9.19,  8.73,  8.59                                     19:54:00
    52 processes:  1 runnable, 50 sleeping, 1 on processor
    CPU states:  2.0% user,  0.0% nice,  8.0% system,  0.8% interrupt, 89.2% idle
    Memory: 43M Act, 11M Inact, 2776K Wired, 5416K Exec, 38M File, 155M Free
    Swap: 512M Total, 512M Free

Kernel config is:

	include "arch/sparc64/conf/GENERIC"

	options         DIAGNOSTIC              # expensive kernel consistency checks
	options         DEBUG                   # expensive debugging checks/support
	options         LOCKDEBUG
	options         DDB_ONPANIC=0
	options         FFS_EI                  # FFS Endian Independent support

	makeoptions     DEBUG="-g"              # compile full symbol table

simple_lock_debugger was set to 1.

Last sources (without this problem) were from ~ Nov 23.

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)