NetBSD Problem Report #44712
From email@example.com Sat Mar 12 03:33:36 2011
Received: from mail.netbsd.org (mail.netbsd.org [184.108.40.206])
by www.NetBSD.org (Postfix) with ESMTP id 2FA5063B874
for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Mar 2011 03:33:36 +0000 (UTC)
Date: Fri, 11 Mar 2011 22:33:33 -0500 (EST)
Subject: wscons VT switching gets wedged
>Synopsis: wscons VT switching gets wedged
>Arrival-Date: Sat Mar 12 03:35:00 +0000 2011
>Last-Modified: Fri Dec 23 05:29:59 +0000 2011
>Originator: David A. Holland
>Release: NetBSD 5.99.41 (20101130)
System: NetBSD macaran 5.99.41 NetBSD 5.99.41 (MACARAN) #3: Tue Nov 30 21:52:01 EST 2010 dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Tonight while starting an X server (on screen 1; there was another one
running as screen 0, which might or might not be important) I hit
ctrl-alt-f1 at, apparently, just the wrong time. This left wscons
unable to switch VTs. Hitting ctrl-alt-Fn (for any n) did nothing;
explicitly switching with wsconscfg(*) yielded EBUSY.
It looks as if the EBUSY comes from line 1943 of wsdisplay.c, meaning
that the SC_SWITCHPENDING flag got set and some race condition
associated with starting up the X server caused the operation that's
supposed to clear the flag to get lost.
The EBUSY might instead be coming from line 1972 but I don't think so
judging from what SCR_GRAPHICS is documented to mean and the fact that
I have an ordinary x86 text console.
On the other hand it looks as if SC_SWITCHPENDING should be cleared by
suspending and resuming wsdisplay0. I tried to do that and couldn't
get it to do anything; but maybe I was doing it wrong.
(*) (Why is this functionality found in wscons*cfg* rather than
From: David Holland <firstname.lastname@example.org>
Subject: Re: xsrc/44712: wscons VT switching gets wedged
Date: Fri, 23 Dec 2011 05:10:14 +0000
On Sat, Mar 12, 2011 at 03:35:00AM +0000, email@example.com wrote:
> >Synopsis: wscons VT switching gets wedged
Ran into this again tonight, so it's still a live issue at least as of
May also be the same as PR 22423.
David A. Holland
Responsible-Changed-When: Fri, 23 Dec 2011 05:29:59 +0000
regardless of what the X server may be doing, the bug is in wscons
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.