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

Bug#395510: xserver-xorg-input-evdev: New evdev driver crashes server with "undefined symbol: set_bit".



Package: xserver-xorg-input-evdev
Version: 1:1.1.2-3
Severity: important

Just trying out the new evdev driver, here's what prints in the
terminal:
======================================
OK: X :2 vt6 -layout test

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux orac 2.6.18 #1 SMP PREEMPT Fri Oct 27
11:16:58 BST 2006 i686
Build Date: 07 July 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.2.log", Time: Fri Oct 27 14:27:32 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) VIA(0): [dri] DRIScreenInit failed.  Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/input/evdev_drv.so: undefined symbol: set_bit

error(127):
=======================================
Ignore the messages about DRI, I'm running this from an X :0 which has
grabbed the DRI capability. Here's my xorg.conf:
===========================================
# xorg.conf (Xorg X Window System server configuration file)

Section "DRI"
  Mode 0666
EndSection

Section "Files"
  # local font server
  FontPath "unix/:7101"
  # if the local font server has problems, we can fall back on these
  FontPath "/usr/share/fonts/X11/misc"
  FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
  FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
  FontPath "/usr/share/fonts/X11/Type1"
  FontPath "/usr/share/fonts/X11/100dpi"
  FontPath "/usr/share/fonts/X11/75dpi"
EndSection

Section "Module"
  Load "bitmap"
  Load "dbe"
  Load "ddc"
  Load "dri"
  Load "evdev"
  Load "extmod"
  Load "freetype"
  Load "glx"
  Load "int10"
  Load "record"
  Load "type1"
  Load "v4l"
  Load "vbe"
EndSection

Section "ServerFlags"
  Option "BlankTime" "0"
  Option "AllowMouseOpenFail" "true"
EndSection

# Keyboards.
Section "InputDevice"
  Identifier "Default Keyboard"
  Driver "keyboard"
  Option "XkbRules" "xorg"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
  Identifier "Evdev Keyboard" # Make this "Default Keyboard" once tested.
  Driver "evdev"
  Option "evBits"  "+1"
  Option "keyBits" "~1-255 ~352-511"
  Option "Pass"    "3"
  Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
  Identifier "Remote"
  Driver "evdev"
  Option "Device" "/dev/input/remote"
EndSection

Section "InputDevice"
  Identifier "Evdev Remote"
  Driver "evdev"
  Option "Name" "cx88 IR*"
  Option "evBits"  "+1"
  Option "keyBits" "~1-255 ~352-511"
  Option "Pass"    "3"
  Option "XkbLayout" "gb"
EndSection

# Mice.
Section "InputDevice"
  Identifier "Evdev Mouse"
  Driver "evdev"
  Option "evBits"  "+1-2"
  Option "keyBits" "~272-287"
  Option "relBits" "~0-2 ~6 ~8"
  Option "Pass"    "3"
EndSection

Section "InputDevice"
  Identifier "All Mice"
  Driver "mouse"
  Option "Device" "/dev/input/mice"
  Option "Protocol" "ExplorerPS/2"
EndSection

Section "InputDevice"
  Identifier "No Mouse"
  Driver "void"
EndSection

# Display devices.
Section "Monitor"
  Identifier "Default Monitor"
EndSection

Section "Monitor"
  Identifier "PAL TV"
  HorizSync 10-68
  VertRefresh 50
  DisplaySize 182 146 # Fudge factor to get 100dpi fonts.
EndSection

Section "Monitor"
  Identifier "800x600 TV"
  HorizSync 10-68
  VertRefresh 25-75
  DisplaySize 203 152 # Fudge factor to get 100dpi fonts.
EndSection

# Graphics cards.
Section "Device"
  Identifier "Default Video Card"
  Driver "vesa"
EndSection

Section "Device"
  Identifier "Savage S-Video"
  Driver "savage"
  Option "AGPMode" "4"
  Option "TvOn" "True"
  Option "PAL" "True"
EndSection

Section "Device"
  Identifier "VIA VGA"
  Driver "via"
  Option "ActiveDevice" "CRT"
EndSection

Section "Device"
  Identifier "VIA S-Video"
  Driver "via"
  Option "ActiveDevice" "TV"
  Option "TVType" "PAL"
  Option "TVOutput" "S-Video"
  Option "EnableAGPDMA" "True"
EndSection

# Connections of display devices to graphics cards.
Section "Screen"
  Identifier "Default Screen"
  Device "Default Video Card"
  Monitor "Default Monitor"
  DefaultDepth 24
  SubSection "Display"
   Depth 24
   Modes "640x480" # Deliberately bad to provoke configuration.
  EndSubSection
EndSection

Section "Screen"
  Identifier "Savage S-Video"
  Device "Savage S-Video"
  Monitor "800x600 TV"
  DefaultDepth 24
  SubSection "Display"
   Depth 24
   Modes "800x600 Tuned"
  EndSubSection
EndSection

Section "Screen"
  Identifier "VIA VGA"
  Device "VIA VGA"
  Monitor "Default Monitor"
  DefaultDepth 24
  SubSection "Display"
   Depth 24
   # Only 1280x1024 has square pixels (it's a 5:4 display, the others are 4:3).
   Modes "1280x1024" "1024x768" "800x600" "640x480"
  EndSubSection
EndSection

Section "Screen"
  Identifier "VIA VGA 800x600"
  Device "VIA VGA"
  Monitor "Default Monitor"
  DefaultDepth 24
  SubSection "Display"
   Depth 24
   Modes "800x600" # Non-square pixels on the 1280x1024 LCD display.
  EndSubSection
EndSection

Section "Screen"
  Identifier "VIA S-Video"
  Device "VIA S-Video"
  Monitor "PAL TV"
  DefaultDepth 24
  SubSection "Display"
   Depth 24
   Modes "720x576Noscale" "720x576" "720x576Over"
  EndSubSection
EndSection

# X server configurations. The script /usr/local/bin/X will choose one of these
# in the following order of preference:
# 1) $(hostname)-$USER
# 2) $(hostname)
# 3) "Default Layout"
#
# The default display is CRT/VGA/keyboard/mouse.
Section "ServerLayout"
  Identifier "Default Layout"
  Screen "Default Screen"
  InputDevice "Default Keyboard" "CoreKeyboard"
  InputDevice "All Mice" "CorePointer"
EndSection

# MythTV on Hal runs in 800x600 with a remote control
Section "ServerLayout"
  Identifier "hal-mythtv"
  Screen "Savage S-Video"
  InputDevice "Default Keyboard" "CoreKeyboard"
  InputDevice "No Mouse" "CorePointer"
  InputDevice "Remote" "SendCoreEvents" "True"
EndSection

Section "ServerLayout"
  Identifier "test"
  Screen "VIA VGA"
  InputDevice "Evdev Keyboard" "CoreKeyboard"
  InputDevice "All Mice" "CorePointer"
  #InputDevice "Evdev Remote" "SendCoreEvents" "True"
EndSection

# Orac with CLE266.
Section "ServerLayout"
  Identifier "orac"
  Screen "VIA VGA"
  InputDevice "Default Keyboard" "CoreKeyboard"
  InputDevice "All Mice" "CorePointer"
EndSection

# Ernie is a RAM based MythTV frontend, booted from the network.
Section "ServerLayout"
  Identifier "ernie-mythtv"
  Screen "VIA VGA 800x600"
  InputDevice "Default Keyboard" "CoreKeyboard"
  InputDevice "No Mouse" "CorePointer"
  InputDevice "Remote" "SendCoreEvents" "True"
EndSection

# Twiki is a USB flash-key based MythTV frontend.
Section "ServerLayout"
  Identifier "twiki-mythtv"
  Screen "VIA S-Video"
  InputDevice "Default Keyboard" "CoreKeyboard"
  InputDevice "No Mouse" "CorePointer"
EndSection
===========================================
The evdev inpt defeinition for "Evdev Keyboard" is straight out of the
man page. Here'e a trimmed Xorg.2.log:
===========================================

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN 
Current Operating System: Linux orac 2.6.18 #1 SMP PREEMPT Fri Oct 27 11:16:58 BST 2006 i686
Build Date: 07 July 2006
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.2.log", Time: Fri Oct 27 14:27:32 2006
(==) Using config file: "/etc/X11/xorg.conf"
(++) ServerLayout "test"
(**) |-->Screen "VIA VGA" (0)
(**) |   |-->Monitor "Default Monitor"
(**) |   |-->Device "VIA VGA"
(**) |-->Input Device "Evdev Keyboard"
(**) |-->Input Device "All Mice"
(**) FontPath set to:
	unix/:7101,
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(**) Option "AllowMouseOpenFail" "true"
(**) Option "BlankTime" "0"
(**) Ignoring ABI Version
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 1.0
	X.Org XInput driver : 0.6
	X.Org Server Extension : 0.3
	X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.0
(++) using VT number 6

(II) LoadModule: "bitmap"
(II) Reloading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Loading font Bitmap
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "ddc"
(II) Loading /usr/lib/xorg/modules/libddc.so
(II) Module ddc: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 0.0.0, module version = 1.1.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.6
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 7.1.1, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "type1"
(II) Loading /usr/lib/xorg/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.2
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Type1
(II) LoadModule: "v4l"
(II) Loading /usr/lib/xorg/modules/drivers/v4l_drv.so
(II) Module v4l: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 0.1.1
	ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.1.0
	ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "via"
(II) Loading /usr/lib/xorg/modules/drivers/via_drv.so
(II) Module via: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 0.2.1
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "evdev"
(II) Reloading /usr/lib/xorg/modules/input/evdev_drv.so
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.1.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.6
(II) v4l driver for Video4Linux
(II) VIA: driver for VIA chipsets: CLE266, KM400/KN400, K8M800,
	PM800/PM880/CN400
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset CLE266 found
(!!) VIA Technologies does not support or endorse this driver in any way.
(!!) For support please contact the driver maintainer or your X vendor.
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/lib/xorg/modules/libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.2.0
	ABI class: X.Org Video Driver, version 1.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/lib/xorg/modules/libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 0.1.0
	ABI class: X.Org Video Driver, version 1.0
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(EE) AIGLX: Screen 0 is not DRI capable
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
======================================
That's as far as it gets, in the log file, then it bombs out with the
message on the terminal and the screen is left blank.
Is anyone using this driver? I've been holding off the update to this
version until I get a chance to test it and this seems like a pretty
broken driver

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages xserver-xorg-input-evdev depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  xserver-xorg-core            2:1.1.1-10  X.Org X server -- core server

xserver-xorg-input-evdev recommends no packages.

-- no debconf information



Reply to: