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 18:53:42
That fixed it.
Thanks :)
Should I file a PR?
On Jun 15, 2005, at 6:06 PM, Christos Zoulas wrote:
> 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:42b0a71c279777893712841!
>