Re: Lockup with -current via SSH

Jason R Thorpe <[email protected]> Tue, 25 Feb 2003 08:40:18 -0800
Newsgroups gmane.os.netbsd.devel.smp,gmane.os.netbsd.current
Organization Wasabi Systems, Inc.
Message-ID <[email protected]>
On Tue, Feb 25, 2003 at 12:05:05AM -0500, Allen Briggs wrote:

 > I think it may be something different.  I have run out of time to track
 > this right now, but a kernel with LOCKDEBUG DEBUG DIAGNOSTIC is blowing
 > up in biodone() with locks that are either uninitialized or not equal
 > to SIMPLELOCK_LOCKED or SIMPLELOCK_UNLOCKED.
 > 
 > With raidframe configured, I got a "simple_lock: uninitialized lock" on
 > boot right after the "Searching for RAID components..." message.

I think we need a macro in buf.h to initialize a buffer for use.  First
we had to initialize the list of dependencies when softdeps appeared,
now we need to initialize a simplelock.  Best to hide it all in one
place :-)

-- 
        -- Jason R. Thorpe <[email protected]>