Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107133 - modular xorg: xorg-server will not load chips driver
Summary: modular xorg: xorg-server will not load chips driver
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-24 19:59 UTC by Jonas Nicolaisen
Modified: 2005-11-20 21:35 UTC (History)
0 users

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


Attachments
the xorg log file. (Xorg.0.log,8.03 KB, text/plain)
2005-09-24 20:22 UTC, Jonas Nicolaisen
Details
the relevant xorg.conf. (xorg.conf,2.22 KB, text/plain)
2005-09-24 20:23 UTC, Jonas Nicolaisen
Details
Example xorg logfile with working vesa driver. (Xorg.0.log,27.35 KB, text/plain)
2005-09-24 20:38 UTC, Jonas Nicolaisen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Nicolaisen 2005-09-24 19:59:50 UTC
When using xorg-server-0.99.1-r9 and xf86-video-chips-1.0.0 ...

on startx, I get the following error:

dlopen: (path) chips_drv.so: undefined symbol: CHIPSMMIOSync
(EE) failed to load module "chips" (loader failed, 7)

So the driver is not even loaded. 
Looks like its using the dlloader instead of the ELF loader I used previously
(in xorg 6.8.2). There is however no dlloader use flag anymore, so it is no
longer optional. In my old xorg 6.8.2, I _disabled_ the dlloader via USE flag
(more accurately, I never _enabled_ it). So I always naively used the elf
loader, and never had problems... 

Other drivers (vesa, fbdev) load fine (with dlopen) and work.

The problem is with dlopen, chips_drv.so and an undefined symbol. CHIPSMMIOSync
is not defined in chips_drv.so (nm tells me that), so dlopen is actually right.
Now the problem is, WHERE is it defined??? Not in anything that is in my drivers
or libs directory.

But the driver itself has always worked, I
Comment 1 Jonas Nicolaisen 2005-09-24 19:59:50 UTC
When using xorg-server-0.99.1-r9 and xf86-video-chips-1.0.0 ...

on startx, I get the following error:

dlopen: (path) chips_drv.so: undefined symbol: CHIPSMMIOSync
(EE) failed to load module "chips" (loader failed, 7)

So the driver is not even loaded. 
Looks like its using the dlloader instead of the ELF loader I used previously
(in xorg 6.8.2). There is however no dlloader use flag anymore, so it is no
longer optional. In my old xorg 6.8.2, I _disabled_ the dlloader via USE flag
(more accurately, I never _enabled_ it). So I always naively used the elf
loader, and never had problems... 

Other drivers (vesa, fbdev) load fine (with dlopen) and work.

The problem is with dlopen, chips_drv.so and an undefined symbol. CHIPSMMIOSync
is not defined in chips_drv.so (nm tells me that), so dlopen is actually right.
Now the problem is, WHERE is it defined??? Not in anything that is in my drivers
or libs directory.

But the driver itself has always worked, I´ve used it for years.


Reproducible: Always
Steps to Reproduce:
1. install xorg-server (following the migration guide by spyderous)
2. install xf86-video-chips and put it in xorg.cfg
3. startx

Actual Results:  
dlopen complains about undefined symbol, then X server crashes with the above
mentioned error.

Expected Results:  
dlopen should load the chips driver (undefined symbol problem needs to be fixed
- upstream???), then the X server should start.

Using stable x86 system with only the modular X unmasked. Xorg 6.8.2 worked
(compiled with -dlloader)

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10 i586)
=================================================================
System uname: 2.6.12-gentoo-r10 i586 Pentium MMX
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=pentium-mmx -O2 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium-mmx -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/
ftp://gentoo.inode.at/source/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://xxxxxxxxx/gentoo-portage"
USE="X a52 alsa apm berkdb crypt dga ffmpeg gdbm gif gtk2 jpeg mad mmx ncurses
nls nptl nptlonly oggvorbis pam pcmcia perl pic png python readline ssl stream
svg tiff truetype trusted unicode usb userlocales x86 xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS

Will attach Xorg.0.log and xorg.conf soon.
Comment 2 Jonas Nicolaisen 2005-09-24 20:22:42 UTC
Created attachment 69187 [details]
the xorg log file.
Comment 3 Jonas Nicolaisen 2005-09-24 20:23:35 UTC
Created attachment 69188 [details]
the relevant xorg.conf.
Comment 4 Jonas Nicolaisen 2005-09-24 20:38:31 UTC
Created attachment 69189 [details]
Example xorg logfile with working vesa driver.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-09-24 21:49:03 UTC
This is an upstream bug. Please file a bug at bugs.freedesktop.org, xorg product
-- modular component if it's not reproduceable with 6.8.99.15, otherwise under
the chips driver.

Post the URL here once you have. Thanks!
Comment 6 Jonas Nicolaisen 2005-09-25 12:35:33 UTC
fdo bug # 4588

https://bugs.freedesktop.org/show_bug.cgi?id=4588
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2005-11-20 21:35:28 UTC
This should be fixed in the latest modular rc.
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2005-11-20 21:35:41 UTC
Marking fixed.