NetBSD Problem Report #44137
From martin@aprisoft.de Tue Nov 23 12:57:09 2010
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 8606463B95F
for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Nov 2010 12:57:09 +0000 (UTC)
Message-Id: <20101123125702.B43CEAF580E@emmas.aprisoft.de>
Date: Tue, 23 Nov 2010 13:57:02 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: new X breaks keyboard
X-Send-Pr-Version: 3.95
>Number: 44137
>Category: xsrc
>Synopsis: new X breaks keyboard
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: xsrc-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 23 13:00:00 +0000 2010
>Closed-Date: Sun Nov 28 12:30:06 +0000 2010
>Last-Modified: Sun Nov 28 12:30:06 +0000 2010
>Originator: Martin Husemann
>Release: NetBSD 5.99.40
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD beasty.aprisoft.de 5.99.40 NetBSD 5.99.40 (NIGHT-OWL) #17: Tue Nov 23 11:45:26 CET 2010 martin@beasty.aprisoft.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:
After updating to newest current (inlcuding X) my keyboard no longer works
when in X.
The server log ends with:
[ 395.920] (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
[ 395.920] (**) Mouse0: (accel) keeping acceleration scheme 1
[ 395.920] (**) Mouse0: (accel) acceleration profile 0
[ 395.920] (**) Mouse0: (accel) acceleration factor: 2.000
[ 395.920] (**) Mouse0: (accel) acceleration threshold: 4
[ 395.975] (**) Option "CoreKeyboard"
[ 395.975] (**) Keyboard0: always reports core events
[ 395.975] (**) Option "Protocol" "standard"
[ 395.975] (**) Keyboard0: Protocol: standard
[ 395.975] (**) Option "XkbRules" "base"
[ 395.975] (**) Keyboard0: XkbRules: "base"
[ 395.975] (**) Option "XkbModel" "pc102"
[ 395.975] (**) Keyboard0: XkbModel: "pc102"
[ 395.975] (**) Option "XkbLayout" "de"
[ 395.975] (**) Keyboard0: XkbLayout: "de"
[ 395.975] (**) Option "XkbVariant" "nodeadkeys"
[ 395.975] (**) Keyboard0: XkbVariant: "nodeadkeys"
[ 395.975] (**) Option "CustomKeycodes" "off"
[ 395.975] (**) Keyboard0: CustomKeycodes disabled
[ 395.975] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
[ 395.977] Popen: `"/usr/X11R7/bin/xkbcomp" -w 1 "-R/usr/X11R7/lib/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/usr/X11R7/lib/X11/xkb/compiled/server-0.xkm"', fp = 0x7f7ffaf1c3e0
[ 395.978] Pclose: fp = 0x7f7ffaf1c3e0
[ 396.308] AllocNewConnection: client index = 1, socket fd = 13
[ 396.396] AllocNewConnection: client index = 2, socket fd = 14
[ 396.831] AllocNewConnection: client index = 2, socket fd = 14
[ 397.510] AllocNewConnection: client index = 3, socket fd = 15
[ 401.935] ProcessActionEvent(11,0)
[ 401.935] FixKeyState: Key 58 down
[ 401.935] FixKeyState: Key 58 down
[ 402.910] ProcessActionEvent(11,0)
[ 402.910] FixKeyState: Key 38 down
[ 402.910] FixKeyState: Key 38 down
58 = "m", 38 = "a" - and so forth (that's me trying to log in via xdm).
But: the focus window does not receive any characters.
>How-To-Repeat:
no idea, maybe keyboard map specific?
>Fix:
n/a
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: Matthew Green <mrg@eterna.com.au>
Subject: Re: xsrc/44137: new X breaks keyboard
Date: Tue, 23 Nov 2010 14:46:06 +0100
On Tue, Nov 23, 2010 at 01:00:00PM +0000, martin@NetBSD.org wrote:
> >Synopsis: new X breaks keyboard
> After updating to newest current (inlcuding X) my keyboard no longer works
> when in X.
I see the same problem; 5.99.40/amd64.
Thomas
From: Martin Husemann <martin@duskware.de>
To: gnats@NetBSD.org
Cc:
Subject: Re: xsrc/44137: keyboard broken
Date: Tue, 23 Nov 2010 16:18:05 +0100
This probably is a relevant hint:
xf86CreateRootWindow(0x7f7ffdb36700)
xf86CreateRootWindow() returns 1
Popen: `"/usr/X11R7/bin/xkbcomp" -w 1 "-R/usr/X11R7/lib/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/usr/X11R7/lib/X11/xkb/compiled/server-0.xkm"', fp = 0x7f7ffaf1c3e0
Pclose: fp = 0x7f7ffaf1c3e0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Internal error: Could not resolve keysym XF86_Switch_VT_1
> Internal error: Could not resolve keysym XF86_Switch_VT_2
> Internal error: Could not resolve keysym XF86_Switch_VT_3
> Internal error: Could not resolve keysym XF86_Switch_VT_4
> Internal error: Could not resolve keysym XF86_Switch_VT_5
> Internal error: Could not resolve keysym XF86_Switch_VT_6
> Internal error: Could not resolve keysym XF86_Switch_VT_7
> Internal error: Could not resolve keysym XF86_Switch_VT_8
> Internal error: Could not resolve keysym XF86_Switch_VT_9
> Internal error: Could not resolve keysym XF86_Switch_VT_10
> Internal error: Could not resolve keysym XF86_Switch_VT_11
> Internal error: Could not resolve keysym XF86_Switch_VT_12
> Internal error: Could not resolve keysym XF86_Ungrab
> Internal error: Could not resolve keysym XF86_ClearGrab
> Internal error: Could not resolve keysym XF86_Prev_VMode
> Internal error: Could not resolve keysym XF86_Next_VMode
> Internal error: Could not resolve keysym XF86Display
> Internal error: Could not resolve keysym XF86KbdLightOnOff
> Internal error: Could not resolve keysym XF86KbdBrightnessDown
> Internal error: Could not resolve keysym XF86KbdBrightnessUp
> Internal error: Could not resolve keysym XF86AudioMedia
> Internal error: Could not resolve keysym XF86AudioPrev
> Internal error: Could not resolve keysym XF86AudioNext
> Internal error: Could not resolve keysym XF86AudioMute
> Internal error: Could not resolve keysym XF86AudioPlay
> Internal error: Could not resolve keysym XF86AudioPause
> Internal error: Could not resolve keysym XF86AudioStop
> Internal error: Could not resolve keysym XF86Eject
> Internal error: Could not resolve keysym XF86AudioLowerVolume
> Internal error: Could not resolve keysym XF86AudioRaiseVolume
> Internal error: Could not resolve keysym XF86Eject
> Internal error: Could not resolve keysym XF86Eject
> Internal error: Could not resolve keysym XF86Calculator
> Internal error: Could not resolve keysym XF86WWW
> Internal error: Could not resolve keysym XF86Search
> Internal error: Could not resolve keysym XF86Favorites
> Internal error: Could not resolve keysym XF86Reload
> Internal error: Could not resolve keysym XF86Stop
> Internal error: Could not resolve keysym XF86Forward
> Internal error: Could not resolve keysym XF86Back
> Internal error: Could not resolve keysym XF86MyComputer
> Internal error: Could not resolve keysym XF86Mail
> Internal error: Could not resolve keysym XF86AudioMedia
> Internal error: Could not resolve keysym XF86PowerOff
> Internal error: Could not resolve keysym XF86Standby
> Internal error: Could not resolve keysym XF86WakeUp
> Internal error: Could not resolve keysym XF86Battery
> Internal error: Could not resolve keysym XF86WLAN
> Internal error: Could not resolve keysym XF86Sleep
"Errors from xkbcomp are not fatal to the X server" - yeah, sure, but to
the user ;-)
Martin
From: matthew green <mrg@eterna.com.au>
To: Thomas Klausner <wiz@NetBSD.org>, martin@netbsd.org
Cc: gnats-bugs@NetBSD.org
Subject: re: xsrc/44137: new X breaks keyboard
Date: Wed, 24 Nov 2010 07:43:02 +1100
> > >Synopsis: new X breaks keyboard
> > After updating to newest current (inlcuding X) my keyboard no longer works
> > when in X.
>
> I see the same problem; 5.99.40/amd64.
could you ktrace Xorg and show me what it is writing to xkbcomp's stdin?
mine looks like this and has no errors:
xkb_keymap "default" {
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc+us+inet(pc105)" };
xkb_geometry { include "pc(pc105)" };
};
also, testing whether backout out xkeyboard-config and/or
xf86-input-mouse updates helps would be useful. if you have old sets,
probably just easier to extract the old files.. only mouse_drv.so* and
the stuff in /usr/X11R7/lib/X11/xkb needs to be back dated.
.mrg.
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, martin@NetBSD.org
Subject: re: xsrc/44137: new X breaks keyboard
Date: Sun, 28 Nov 2010 14:53:59 +1100
i have managed to reproduce this problem, and to learn a work around.
you can work around this problem by extracting an older copy of
the xkeyboard-config files, and *then* a new one, and do not run
"postinstall fix obsolete".
one of the obsoleted files is causing this problem.
.mrg.
From: matthew green <mrg@eterna.com.au>
To: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, martin@NetBSD.org, gnats-bugs@NetBSD.org
Cc:
Subject: re: xsrc/44137: new X breaks keyboard
Date: Sun, 28 Nov 2010 17:03:53 +1100
hmm, it isn't something wrong with xkeyboard-config 2.0 as i had been
thinking, because going back to 1.9 did not fix the problem for a fresh
install.
ah ha! comparing the full /usr/X11R7 dirs for working/not working i
found that the recently removed XKeysymDB file is the cause of this
bug... i will see what to do about that.
From: "matthew green" <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44137 CVS commit: src
Date: Sun, 28 Nov 2010 07:47:54 +0000
Module Name: src
Committed By: mrg
Date: Sun Nov 28 07:47:53 UTC 2010
Modified Files:
src/distrib/sets/lists/xbase: mi
src/external/mit/xorg/lib/libX11: Makefile
Log Message:
re-install the phoenixed XKeysymDB, since keyboards don't work without it.
fixes PR #44137.
To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/distrib/sets/lists/xbase/mi
cvs rdiff -u -r1.9 -r1.10 src/external/mit/xorg/lib/libX11/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sun, 28 Nov 2010 08:22:38 +0000
State-Changed-Why:
please try this again with XKeysymDB re-installed. thanks!
State-Changed-From-To: feedback->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sun, 28 Nov 2010 12:30:06 +0000
State-Changed-Why:
Works again, thanks!
>Unformatted:
(Contact us)
$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.