Subject: Re: sparc64 -current kernel fails to boot
To: None <ad@netbsd.org>
From: Robert Swindells <rjs@fdy2.demon.co.uk>
List: current-users
Date: 12/21/2007 12:36:49
Andrew Doran wrote:
>On Thu, Dec 20, 2007 at 11:57:24PM -0500, Michael Lorenz wrote:

>> >current cpu  :                  0
>> >current lwp  : 0x0000000001818940
>> >owner field  : 0x00ff070000000000 wait/spin:                0/1
>> >
>> >panic: lock error
>> >cpu0: kdb breakpoint at 1429a40
>> >Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        nop
>> >db>
>> 
>> I've seen that on my U1, a kernel without LOCKDEBUG should work. Un  
>> the other hand - someone should fix the locking bug.

>The trace above indicates that lockdebug isn't enabled.

The LOCKDEBUG option isn't enabled in GENERIC.

With it enabled in a custom kernel I get:

> bt
lockdebug_abort(...)
mutex_vector_enter(...)
zstty_softint(...) at zstty_softint+0x10
zsparam(...)
zsopen(...)
cdev_open(...)
sunkbdiopen(...)
kbd_sun_open(...)
wssunkbd_enable(...)
kbd_enable(...)
...


Robert Swindells