Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286502 - Follow xcb/xorg-server upgrade guide causes evdev to stop working
Summary: Follow xcb/xorg-server upgrade guide causes evdev to stop working
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-26 10:34 UTC by Pacho Ramos
Modified: 2009-11-16 04:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2009-09-26 10:34:57 UTC
Hello

I am updating to xorg-server-1.6 and, then, I have followed xcb upgrade guide:
http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml

The problem is that, just after ending it, I got evdev not working (and then, no mouse neither keyboard working) due new evdev being built against old xorg-server, then, I get this in my Xorg.0.log:
(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.2.5
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.1
(EE) module ABI major version (2) doesn't match the server's version (4)
(II) UnloadModule: "evdev"
(II) Unloading /usr/lib64/xorg/modules/input//evdev_drv.so
(EE) Failed to load module "evdev" (module requirement mismatch, 0)
(EE) No input driver matching `evdev'
(EE) config/hal: NewInputDeviceRequest failed (15)
(II) config/hal: Adding input device HID 04b4:0033
(II) LoadModule: "evdev"
(II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.2.5
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.1
(EE) module ABI major version (2) doesn't match the server's version (4)
(II) UnloadModule: "evdev"
(II) Unloading /usr/lib64/xorg/modules/input//evdev_drv.so
(EE) Failed to load module "evdev" (module requirement mismatch, 0)
(EE) No input driver matching `evdev'
(EE) config/hal: NewInputDeviceRequest failed (15)

I am not rebuilding the driver for getting it working again.

My emerge --info:
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-tuxonice-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-tuxonice-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.12
Timestamp of tree: Wed, 23 Sep 2009 11:00:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache cvs distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/wschlich-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups daap dbus dell djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif git glitz gnome gnome-keyring gpm gstreamer gtk hal iconv ieee1394 imagemagick isdnlog java jpeg kdeenablefinal kdehiddenvisibility kpathsea laptop latex libnotify lm_sensors lyx lzma mad mikmod mmx mmxext modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron networkmanager nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs t1lib tcpd threads thunar tiff truetype unicode usb v4l2 vcd vdpau vorbis webkit x264 xattr xcb xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Gef 2009-09-26 11:41:05 UTC
ABI mismatch between xorg an drivers... You may have forgotten to rebuild all xf86 drivers, as advised at the end of xorg-server upgrade :

echo
        ewarn "You must rebuild all drivers if upgrading from xorg-server 1.5"
        ewarn "or earlier, because the ABI changed. If you cannot start X because"
        ewarn "of module version mismatch errors, this is your problem."

        echo
        ewarn "You can generate a list of all installed packages in the x11-drivers"
        ewarn "category using this command:"
        ewarn "emerge portage-utils; qlist -I -C x11-drivers/"

        ebeep 5
        epause 10
Comment 2 Rafał Mużyło 2009-09-26 11:52:48 UTC
And comment 1 combined with this little gem:
"I am not rebuilding the driver for getting it working again."
can lead to only one resolution.
Comment 3 Pacho Ramos gentoo-dev 2009-09-26 13:15:26 UTC
(In reply to comment #1)
> ABI mismatch between xorg an drivers... You may have forgotten to rebuild all
> xf86 drivers, as advised at the end of xorg-server upgrade :
> 

Yes, I know, but I think that should be noted in the guide that, if X are restarted (for example, if I logout from my X session when using gdm) after ending xcb "stage", X won't work, having to login vie SSH for fixing the problem

(In reply to comment #2)
> And comment 1 combined with this little gem:
> "I am not rebuilding the driver for getting it working again."
> can lead to only one resolution.
> 

It was a typo:
not -> now


Comment 4 Rafał Mużyło 2009-09-26 16:17:43 UTC
Well, libxcb upgrade and xorg-server upgrade are independent problems,
you were simply misfortunate to have them happen at the same time.

I'd still say it's INVALID, but waiting for a second opinion.
Comment 5 Pacho Ramos gentoo-dev 2009-09-26 16:40:53 UTC
It will depend in how they will be stabilized: if new X and xcb go to stable at the same time, the problem will appear
Comment 6 Sebastian Luther (few) 2009-09-28 17:06:00 UTC
It's not clear for me in which order you updated xcb and xorg-server. The xorg guide says to first update xcb. Did the xorg-server-1.5 stop working after the xcb update or did you first update xorg and then xcb? In either case you have to rebuild the drivers as mentioned above right after the xorg update.
Comment 7 Pacho Ramos gentoo-dev 2009-09-28 18:55:11 UTC
The problem appeared just after updating to new libxcb and while rebuilding broken packages. On that situation, X got restarted and, then, not working due to new xorg-server being rebuilt and evdev not still re-emerged. 
Comment 8 Sebastian Luther (few) 2009-09-28 19:42:54 UTC
(In reply to comment #7)
> On that situation, X got restarted and, then, not working due
> to new xorg-server being rebuilt and evdev not still re-emerged. 

It should be clear that you shouldn't restart X without rebuild all it's drivers. As the post install message says:

"If you cannot start X because of module version mismatch errors, this is your problem."


Comment 9 Jian Li 2009-11-16 04:14:29 UTC
I got the same problem,and now it is working fine.
I check again the portage elog,notice the message for "media-libs/mesa",then I rebuild it and "xf86-input-evdev" later,
the problem was fixed.