Subject: Re: Lockup with -current via SSH
To: enami tsugutomo <enami@sm.sony.co.jp>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: current-users
Date: 02/25/2003 08:40:18
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 <thorpej@wasabisystems.com>