Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312029 - xorg-1.7 stablization and xf86-input-evdev module mismatch
Summary: xorg-1.7 stablization and xf86-input-evdev module mismatch
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: 2010-03-30 02:06 UTC by Robert Trace
Modified: 2010-03-30 02:29 UTC (History)
1 user (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 Robert Trace 2010-03-30 02:06:42 UTC
I'm testing the xorg-1.7 stablization (bug #308521).  On my stable system, I added the packages listed to package.keywords and did an "emerge -vuDNa world".

X built cleanly, but after restarting it, my keyboard and mouse weren't working.  A quick glance at the log showed why:

...
(II) config/hal: Adding input device Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)
(II) LoadModule: "evdev"
(II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(EE) module ABI major version (4) doesn't match the server's version (7)
(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)
...

xf86-input-evdev wasn't caught in the list of upgraded packages (since the latest version, 2.3.2, is already stable).  So, a quick manual rebuild of xf86-input-evdev and everything's fine now.

Perhaps this needs to be release noted for the X upgrade?

Reproducible: Always

Steps to Reproduce:
1. Run stable system w/xorg-1.6
2. Unmask upcoming xorg-1.7 according to bug #308521
3. emerge -vuDNa world
4. Restart X


Actual Results:  
No evdev-based devices function because of module version mismatch between xorg 1.6 and 1.7.

Expected Results:  
A mouse and keyboard that's at least semi-functional. :-)

I'd guess that this is a problem for any X package that cares about the X ABI and didn't get rebuilt as part of the upgrade, but I don't seem to have any other such beasts on my system.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-03-30 02:25:23 UTC
This is a known behavior and should be mentioned in the emerge output.
/usr/portage/x11-base/xorg-server/xorg-server-1.7.6.ebuild has the message in the lines 206 to 214: 

    ewarn "You must rebuild all drivers if upgrading from xorg-server 1.6"
    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/"

qlist -I -C x11-drivers/ or eix -I -C x11-drivers should mention the evdev driver.
Comment 2 Robert Trace 2010-03-30 02:29:35 UTC
(In reply to comment #1)
> This is a known behavior and should be mentioned in the emerge output.
> /usr/portage/x11-base/xorg-server/xorg-server-1.7.6.ebuild has the message in
> the lines 206 to 214: 

So it does.  I seem to have missed that somehow.

Sorry for the noise.