Re: deadlock in vt_kbd_con_stop
From: Jiri Kosina
Date: Tue May 01 2012 - 08:23:04 EST
On Tue, 1 May 2012, Clemens Ladisch wrote:
> Pressing the Scroll Lock key in the console stops scrolling rather permanently.
> (Ctrl+S/Q works fine.)
>
> =============================================
> [ INFO: possible recursive locking detected ]
> 3.4.0-rc5+ #354 Not tainted
> ---------------------------------------------
> swapper/5/0 is trying to acquire lock:
> (kbd_event_lock){-.....}, at: [<ffffffff8127802c>] vt_kbd_con_stop+0x1a/0x57
>
> but task is already holding lock:
> (kbd_event_lock){-.....}, at: [<ffffffff81277a84>] kbd_event+0x29/0x5b7
>
> other info that might help us debug this:
> Possible unsafe locking scenario:
>
> CPU0
> ----
> lock(kbd_event_lock);
> lock(kbd_event_lock);
>
> *** DEADLOCK ***
Seems like I have actually hit this yesterday for real, so it's not just a
theoretical scenario, see
https://lkml.org/lkml/2012/4/30/90
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/