[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#189298: xserver-xfree86: X-server is unable to load XKB keymaps



On Thu, Apr 17, 2003 at 02:58:32PM +0300, sjl wrote:
> > > X-server doesn't seem to be able to load XKB keymaps anymore, not even
> > > the default ie. one with US-mappings.
> > > 
> > > This makes the system difficult to use for anyone who uses a non-US
> > > keyboard (for example, tilde and curly brackets are not available and
> > > makes C coding, etc. impossible).
> > 
> > What was the last version of the xserver-xfree86 package you used that
> > didn't have this problem?  I only started getting a lot of complaints
> > about XKB with XFree86 4.2.1-6 (because I backported fixes for memory
> > leaks and crashes -- figures that they'd break other stuff).
> 
> I used XFree86 4.3.0, which I downloaded as pre-compiled binaries from
> ftp://ftp.xfree86.org/, until I noticed that current debian-testing does
> carry somewhat recent XFree86 4.x.x release too (in one of my systems I
> use Asus A7N-266VM w/ integrated GeForce2 MX GPU and is not supported in
> previous releases).
> 
> So how I did to get into this "state of affairs"? I used to run Debian
> stable, which I upgraded into testing using dist-upgrade after I changed
> /etc/apt/sources.list.

I did a little research about the possible source of this problem, which
basically doesn't affect anything else but the usage of Alt-Gr key in
keyboard (ie. there is no modeswitch key available).

The XKB error message in original bug report is generated by xkbcomp
binary, which I'm sure you're all too well aware of. I tried running
'xkbcomp /etc/X11/xkb/keymap/xfree86' manually and results very, hmm,
quite revealing:

--- clip ---
Warning:          Attempt to alias <XFER> to non-existent key <I01>
                  Ignored
Warning:          Attempt to alias <NFER> to non-existent key <I03>
                  Ignored
Warning:          Attempt to alias <AE13> to non-existent key <I05>
                  Ignored
expected keysym, got XF86_Switch_VT_1: line 8 of xfree86
last scanned symbol is: XF86_Switch_VT_1
expected keysym, got XF86_Switch_VT_2: line 11 of xfree86
last scanned symbol is: XF86_Switch_VT_2
expected keysym, got XF86_Switch_VT_3: line 14 of xfree86
last scanned symbol is: XF86_Switch_VT_3
expected keysym, got XF86_Switch_VT_4: line 17 of xfree86
last scanned symbol is: XF86_Switch_VT_4
expected keysym, got XF86_Switch_VT_5: line 20 of xfree86
last scanned symbol is: XF86_Switch_VT_5
expected keysym, got XF86_Switch_VT_6: line 23 of xfree86
last scanned symbol is: XF86_Switch_VT_6
expected keysym, got XF86_Switch_VT_7: line 26 of xfree86
last scanned symbol is: XF86_Switch_VT_7
expected keysym, got XF86_Switch_VT_8: line 29 of xfree86
last scanned symbol is: XF86_Switch_VT_8
expected keysym, got XF86_Switch_VT_9: line 32 of xfree86
last scanned symbol is: XF86_Switch_VT_9
expected keysym, got XF86_Switch_VT_10: line 35 of xfree86
last scanned symbol is: XF86_Switch_VT_10
expected keysym, got XF86_Switch_VT_11: line 38 of xfree86
last scanned symbol is: XF86_Switch_VT_11
expected keysym, got XF86_Switch_VT_12: line 41 of xfree86
last scanned symbol is: XF86_Switch_VT_12
expected keysym, got XF86_Ungrab: line 45 of xfree86
last scanned symbol is: XF86_Ungrab
expected keysym, got XF86_ClearGrab: line 48 of xfree86
last scanned symbol is: XF86_ClearGrab
expected keysym, got XF86_Next_VMode: line 51 of xfree86
last scanned symbol is: XF86_Next_VMode
expected keysym, got XF86_Prev_VMode: line 54 of xfree86
last scanned symbol is: XF86_Prev_VMode
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
Segmentation fault
--- clip ---

No wonder there is something wrong with XKB definition loading when
XFree86 starts.

Now I didn't have time, at least this morning, to examine this further,
but I did download xkbcomp binary for XFree86 4.3.0 from ftp.xfree86.org
and noticed it worked fine (I ran it against both 4.2.1
/etc/X11/xkb/keymap/xfree86 and 4.3.0 /etc/X11/xkb/keymap/xfree86
successfully).

-- 
Sami Laine @ UTU, +358504118464




Reply to: