Subject: Re: simple_unlock: lock not held
To: NetBSD current-users <current-users@netbsd.org>
From: Chris Tribo <ctribo@dtcc.edu>
List: current-users
Date: 06/15/2005 16:17:00
Any suggestions on how I could easily reproduce it? I was just typing  
at the console when it happened, but I've been running that same  
kernel for a long time and never seen it before.

On Jun 11, 2005, at 2:31 AM, Martin Husemann wrote:

> On Fri, Jun 10, 2005 at 04:36:44PM -0400, Chris Tribo wrote:
>
>> simple_unlock: lock not held
>> lock:0xcd161128, currently at: /usr/src/sys/kern/tty.c:1979 on CPU 0
>> last locked: /usr/src/sys/kern/tty.c:1928
>> last unlocked: /usr/src/sys/kern/tty.c:1949
>>
>
> Looks to me that the TTY_UNLOCK(tp); in line 1979 should just be  
> removed -
> can you try a kernel without it?
>
> Martin
>
> !DSPAM:42aa854134142123647249!
>