Subject: Re: simple_unlock: lock not held
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@tac.gw.com>
List: current-users
Date: 06/16/2005 01:06:37
In article <19BDDE09-EF8A-4DF2-A811-45EDD57C4826@dtcc.edu>,
Chris Tribo <ctribo@dtcc.edu> wrote:
Yes, just compile an MP kernel with DIAGNOSTIC on.
on a tty type:
$ yes
^O
christos
>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!
>>
>
>