Subject: Re: mutex_enter with held simple_lock message while building system/kernel
To: Nicolas Joly <njoly@pasteur.fr>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 07/24/2007 21:22:29
On Mon, Jul 23, 2007 at 01:55:46PM +0200, Nicolas Joly wrote:

> i just updated -current sources on my Dell Insipiron 2600 i386 laptop.
> Since, i'm not able to build a new kernel anymore ...
> 
> The system drops into ddb with the following message:
> 
> mutex_enter with held simple_lock 0xc0d1a24c CPU0 /local/src/NetBSD/src/sys/uvm/uvm_pdaemon.c:699
> 
> breakpoint(caf20000,d000000,cb8bfacc,c056dbde,cb8bfacc) at netbsd:breakpoint+0x4
> cpu_Debugger(cb8bfacc,1,fffb,c0a3ef17,c056b841) at netbsd:cpu_Debugger+0xb
> simple_lock_only_held(0,c0a400ed,0,caf0b100,c13c8b3c) at netbsd:simple_lock_only
> _held+0x110
> mutex_vector_enter(c0d1a2b0,bcfc,0,c0ca5a00,caf124b0) at netbsd:mutex_vector_ent
> er+0x18f
> uvm_swapisfull(c12f1f30,0,2bb,5000,0) at netbsd:uvm_swapisfull+0x12
> uvmpd_scan_queue(c0d1a24c,c0a381b4,36b,c0a381e0,c0c83114) at netbsd:uvmpd_scan_q
> ueue+0x406
> uvmpd_scan(c0d1a24c,c0a381b4,fe,0,c0d1a2a0) at netbsd:uvmpd_scan+0x89
> uvm_pageout(caf0b1c0,0,c01002d2,fbff,c01002d2) at netbsd:uvm_pageout+0x134

This one should be fixed, too.

Andrew