Bug 1288 - xorgcfg fails to start
Summary: xorgcfg fails to start
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xorgcfg (show other bugs)
Version: 6.8.0
Hardware: PowerPC Linux (All)
: high normal
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Keywords:
: 2787 (view as bug list)
Depends on:
Blocks: 400
  Show dependency treegraph
 
Reported: 2004-09-04 05:29 UTC by Tom Gall
Modified: 2005-12-08 22:47 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dlmodule support patch against Xorg 6.8.2 (34.50 KB, patch)
2005-10-04 17:23 UTC, Alan Coopersmith
no flags Details | Splinter Review
cleaned-dlloader-fixes.patch (15.38 KB, patch)
2005-12-09 15:02 UTC, Adam Jackson
no flags Details | Splinter Review

Description Tom Gall 2004-09-04 05:29:16 UTC
tardis xc # xorgcfg 

X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: Linux 2.6.7-gentoo ppc64 [ELF] 
Current Operating System: Linux tardis 2.6.7-gentoo #1 SMP Sun Jul 4 12:16:16
CDT 2004 ppc64
Build Date: 04 September 2004
        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.8.log", Time: Sat Sep  4 07:28:17 2004
List of video drivers:
        atimisc
        r128
        radeon
        fbdev
        v4l
        ati
        vga
        nv
        mga
dlopen: /usr/X11R6/lib/modules/drivers/atimisc_drv.so: undefined symbol:
ATIPublicOptionSize
(EE) Failed to load /usr/X11R6/lib/modules/drivers/atimisc_drv.so
(EE) Failed to load module "atimisc" (loader failed, 7)
(++) Using config file: "/root/xorg.conf.new"
(EE) RADEON(0): Cannot read V_BIOS (5)


Xorg detected your mouse at device /dev/mouse.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'


X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: Linux 2.6.7-gentoo ppc64 [ELF] 
Current Operating System: Linux tardis 2.6.7-gentoo #1 SMP Sun Jul 4 12:16:16
CDT 2004 ppc64
Build Date: 04 September 2004
        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.8.log", Time: Sat Sep  4 07:28:18 2004
(++) Using config file: "/root/xorg.conf.new"
Could not init font path element /usr/share/fonts/CID/, removing from list!
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  1 (X_CreateWindow)
  Value in failed request:  0x27
  Serial number of failed request:  173
  Current serial number in output stream:  181
tardis xc # Could not init font path element /usr/share/fonts/CID/, removing
from list!
Comment 1 Tom Gall 2004-09-04 07:24:12 UTC
and to add to it a bit, running a 2.6.7 ppc64 kernel
Comment 2 Adam Jackson 2004-09-04 15:45:50 UTC
> dlopen: /usr/X11R6/lib/modules/drivers/atimisc_drv.so: undefined symbol:
> ATIPublicOptionSize

dlloader issue.  interesting, i'll take a look.
Comment 3 Stéphane Loeuillet 2004-09-10 06:01:59 UTC
looks like the usual dlloader problem i have with binary nvidia drivers with
6.7.0  and 6.8.0 (gentoo too, but x86)

as a workaround, re-emerge xorg like this for now
USE="-dlloader" emerge xorg-x11

(temporary, waiting a real fix)
Comment 4 Tom Gall 2004-09-10 12:46:49 UTC
Stephane,  this was a build from a cvs co, emerge portage was not used in any way during the build. 
This is a tradition, make World ;-)    so changing USE flags obviously is not appropriate here
Comment 5 Adam Jackson 2004-09-21 16:30:18 UTC
tom, i'm gonna go out on a limb here and say you have +hardened in your use
flags, correct?
Comment 6 Donnie Berkholz 2004-12-01 15:12:56 UTC
Tom, feel like responding?
Comment 7 Adam Jackson 2005-06-27 15:08:52 UTC
*** Bug 2787 has been marked as a duplicate of this bug. ***
Comment 8 Adam Jackson 2005-06-27 15:12:21 UTC
not a hardened issue, it turns out.  atimisc is referring to global data that's
normally only present in the ati stub driver, which is bad juju.  nv and cirrus
may have similar braindamage.

as alan mentioned in bug #1288, part of the solution is to add stubs to xorgcfg
to get things to resolve.  the other part (like with atimisc) is to not refer to
globally visible data from other modules directly, which is standard dlloader
practice.
Comment 9 Alan Coopersmith 2005-06-27 18:39:53 UTC
Created attachment 2982 [details]
Thaana Keyboard Map

This is the patch Henry Zhao wrote for Sun, which we're using in Solaris to 
fix this bug.	(Not sure how well this applies to current CVS, but hopefully
it helps ajax who said he was going to look into this soon.)
Comment 10 Adam Jackson 2005-10-03 18:03:12 UTC
alan, that patch seems to have been mangled, can you re-attach it if you get the
chance?
Comment 11 Alan Coopersmith 2005-10-04 17:23:09 UTC
Created attachment 3486 [details] [review]
dlmodule support patch against Xorg 6.8.2

Reattached patch against 6.8.2
Comment 12 Adam Jackson 2005-12-08 01:47:00 UTC
a quick review of this shows quite a bit of tweaking with the app-defaults and
some varargs tuning that i don't think is strictly needed.  i'll clean it up but
the principle looks good.
Comment 13 Adam Jackson 2005-12-09 15:02:08 UTC
Created attachment 4053 [details] [review]
cleaned-dlloader-fixes.patch

cleaned version of the patch, testing...
Comment 14 Adam Jackson 2005-12-09 16:50:50 UTC
mmm, not quite right.

as part of the fix for #4361 we have a hack in place now to sort the driver list
coming off the filesystem.  probably the best thing to do for now is to sort ati
before atimisc, which should fix the ordering problem.  it's still ugly, but
that's the ati driver for you.
Comment 15 Adam Jackson 2005-12-09 17:47:13 UTC
sorted, ati loads before atimisc, which keeps the symbols resolving themselves.

SOMEONE PLEASE KILL THE ATI WRAPPER FOR THE LOVE OF GOD


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.