Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78778 - Error activating XKB configuration after upgrading to xorg-x11-6.8.1.902
Summary: Error activating XKB configuration after upgrading to xorg-x11-6.8.1.902
Status: RESOLVED DUPLICATE of bug 41743
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 23:26 UTC by Evan Langlois
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg.conf of the problem machine (xorg.conf,4.59 KB, text/plain)
2005-01-20 23:04 UTC, Evan Langlois
Details
Xorg.0.log of the problem machine (Xorg.0.log,44.78 KB, text/plain)
2005-01-20 23:05 UTC, Evan Langlois
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Langlois 2005-01-19 23:26:43 UTC
X server fails to start half the time with an error 11 (segmentation fault?).  When it does start I get a dialog box that says:
Error activating XKB configuration.
Probably internal X server problem.

X server version data:
Gentoo Linux (The X.Org Foundation 6.8.1.902, revision r0-0.1.1)
60801902

If you report this situation as a bug, please include:
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb

Heres the data it asks for:
taro ~ # xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc104", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc104", "us", "", ""
taro ~ # gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
 layouts = [us]
 model = pc104
 overrideSettings = false
 options = []
 update_handlers = []

This xorg.conf file hasn't changed in a long time, and suddenly it doesn't work.


Reproducible: Always
Steps to Reproduce:
1. startx


Actual Results:  
The keyboard still works.  I don't know what the problem is.  I'm using a PS/2
to USB keyboard adaptor with a PS/2 keyboard and a USB port on the computer. 
Thats never made a difference in the past though.


Flags n stuff ..

[ebuild   R   ] x11-base/xorg-x11-6.8.1.902  -3dfx +3dnow +bitmap-fonts -cjk
-debug +dlloader +dmx -doc +font-server -hardened -insecure-drivers +ipv6
-minimal +mmx -nls +opengl +pam +sdk -sse -static +truetype-fonts +type1-fonts
(-uclibc) +xprint +xv 0 kB

Also, I had to emerge linuxwacom again to make it work even though it was the
same version of linuxwacom.  The wacom is my main mouse (I like it).

[ebuild   R   ] x11-misc/linuxwacom-0.6.6  +gtk +gtk2 +sdk +tcltk 0 kB

taro ~ # emerge info
Portage 2.0.51-r13 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i586)
=================================================================
System uname: 2.6.10-gentoo-r6 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun 29 2004, 05:54:33)]
distcc 2.17 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k6-2 -ffast-math -fstrict-aliasing -DNDEBUG
-frename-registers -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k6-2 -ffast-math -fstrict-aliasing -DNDEBUG
-frename-registers -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache confcache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.binarycompass.org
http://gentoo.seren.com/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
http://gentoo.mirror.sdv.fr http://gentoo.math.bme.hu
http://chod.cwru.edu/gentoo
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://mirror.datapipe.net/gentoo http://gentoo.tiscali.nl/gentoo/
http://gentoo.llarian.net/ http://cudlug.cudenver.edu/gentoo/
http://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo
http://mirrors.tds.net/gentoo
http://mirror.clarkson.edu/pub/distributions/gentoo/ http://gentoo.netnitco.net"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3ds X X509 aac aalib acpi adns aim aliaschain alsa amd apache2
apm artworkextra asterisk async atm audiofile avantgo avi beep bitmap-fonts
bonobo bzip2 bzlib caps cdb cddb cdinstall cdparanoia cdr cgi chroot clamav
clearpasswd cnamefix composite cpdflib crypt cscope ctype cups dba dbx devfs
devfs26 devmap dga diet dillo dio directfb distcache divx4linux djbfft dlloader
dmx dnd dnsdb dri dvb dvd dvdread editor edl eds encode erandom escreen esd
ethereal etwin evms evms2 evo exif exiscan ext-png ext-zlib f77 faac faad fam
fastcgi fax fbcon fbdev ffmpeg fftw flac flash flatfile flood fluidsynth fmod
font-server foomaticdb fortran freetds freetts freetype fs ftp fwdzone gatos gb
gcj gd gd-external gdbm geoip ggi gif gimp gimpprint glade glgd glut gmp
gmtsuppl gmttria gnome gnomedb gnuplot gnutls gphoto2 gpm gps gs gsl gstreamer
gtk gtk2 gtkhtml guile hal hbci hdf hdf5 hostap-nopci hostap-noplx icq icu idl
ieee1394 image imagemagick imap imlib imlib2 inifile innodb ipalias ipv6
ipv6arpa irda irmc jabber jack jack-tmpfs java javascript jbig jce jit joystick
jp2 jpeg junit kadu-modules kadu-voice ladcca lcd lcms ldap libcaca libdsk
libg++ libgda libsamplerate libwww lirc live lmtp ltsp lufsusermount lzo lzw
lzw-tiff mad maildir makecheck matroska mbox mcve md5sum mdb memlimit mhash
milter ming mixer mldonkeypango mmap mmx mng monkey mono motif mozilla moznomail
mozsvg mpeg mpeg4 mplayer msn mssql multicall multipleip multitarget music mysql
mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas native ncurses neXt net
netboot netcdf nethack network neural nntp nocd nosource notlsbeforeauth nowin
nptl ntlm nviz oav objc odbc offensive oggvorbis opengl openssh operanom2 opie
oscar oss pam pcap pcntl pcre pcsc-lite pda pdflib perl php physfs pic plotutils
png pnp portaudio posix postgres ppds psyco pthreads python qemu-fast quicktime
quotes radeon readline remote rogue rtc samba sasl scanner sdk sdl semanticfix
session shared silc silverxp skey slang slp smartcard sndfile snmp sockets
socks5 softmmu sox speedo speex spell sqlite ssl stroke svg szip t1lib tcltk
tcpd tcsim tetex tga theora threads tiff timidity tokenizer tools transcode
transparent-proxy truetype truetype-fonts trusted type1 type1-fonts usagi usb
uudeview v4l v4l2 vhosts videos virus-scan wacom wddx wifi wmf wxwin wxwindows
xatrix xchattext xforms xinerama xml xml2 xmms xosd xprint xrandr xsl xv xvid
yahoo yaz yv12 zlib zvbi"
Unset:  PORTDIR_OVERLAY
Comment 1 Adam Jackson 2005-01-20 08:56:50 UTC
please verify that this isn't a dupe of

https://bugs.freedesktop.org/show_bug.cgi?id=472

ie, comment out the Option "XkbRules" line in your xorg.conf and try again.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-20 11:05:14 UTC
If that doesn't fix it, please attach your xorg.conf and /var/log/Xorg.0.log as plain/text files.
Comment 3 Evan Langlois 2005-01-20 23:04:10 UTC
Created attachment 49086 [details]
xorg.conf of the problem machine
Comment 4 Evan Langlois 2005-01-20 23:05:20 UTC
Created attachment 49087 [details]
Xorg.0.log of the problem machine
Comment 5 Evan Langlois 2005-01-20 23:05:59 UTC
I didn't even have such a line in my Xorg.conf file.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-20 23:06:53 UTC
See at the very bottom:
(EE) Couldn't open compiled keymap file /var/tmp/server-0.xkm

Check the permissions on /var/tmp.
Comment 7 Evan Langlois 2005-01-21 00:02:49 UTC
Everyone has permission on that directory, and the issue happened even while running as root.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-21 00:04:03 UTC
How about the file itself?

Also, ls -l /usr/X11R6/lib/X11/xkbcomp
Comment 9 Evan Langlois 2005-01-21 00:57:57 UTC
Neither of those files exist.  The first I can understand, the second, I'm thinking should be there.  Any idea why it didn't get installed with xorg?

Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-21 01:20:40 UTC
Sorry, meant /usr/X11R6/lib/X11/xkb/xkbcomp

If that doesn't work ..

Hmm .. this is gonna seem a little weird, but try this:
chmod 777 /var/lib/xkb
X may freeze on the next startup
then chmod 755 it
then see if problem's fixed
Comment 11 Steve 2005-01-23 15:11:09 UTC
Same problem here. /usr/X11R6/lib/X11/xkbcomp does not exist on my system.  This happened after upgrading to xorg-x11 6.8.0-r4
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-23 15:35:01 UTC
Read comment #10, first sentence.
Comment 13 Evan Langlois 2005-01-24 15:30:19 UTC
OK - got around to restarting X (been so busy I didn't want to have to restart anything I was working on).   Anyway - the chmod stuff doesn't work.

As for xkbcomp ...
ekl@taro ~ $ ls -l /usr/X11R6/lib/X11/xkb/xkbcomp
0 -rwxr-xr-x  1 root root 0 Jan 19 00:53 /usr/X11R6/lib/X11/xkb/xkbcomp*

looks good to me
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-24 20:25:07 UTC
A size of 0 looks good to you?

*** This bug has been marked as a duplicate of 41743 ***
Comment 15 Evan Langlois 2005-01-24 22:11:16 UTC
lol - sorry.  I was looking at permissions, not sizes, and oddly, I just started using dispatch-conf.  Looks like a bad time to switch from etc-update!

Got the fix from the dup - thanks.