Summary: | Failed to load radeon_drv.so undefined symbol: drmGetLibVersion | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hans-Christian Armingeon <mog.johnny> |
Component: | [OLD] Core system | Assignee: | X11 External Driver Maintainers <x11-drivers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | bensberg, jerzy.kozera |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xorg log
dmesg lsmod .config ld.so.conf xorg.conf X -configure output xorg.conf snippet |
Description
Hans-Christian Armingeon
2005-06-14 08:53:28 UTC
Created attachment 61211 [details]
xorg log
Is here anybody who could give me a starting point, what to look at? My system is currently useless, because X doesn't start! Johnny please attach the lsmod and dmesg output. Created attachment 61291 [details]
dmesg
Created attachment 61292 [details]
lsmod
The kernel log shows lots of issues. you may like to rebuild it, make sure you have the partition consistent and the radeon module working (and maybe the alsa ones too) Well, I know. But X doesn't work with older kernels, that worked before, too. Johnny PS: thanks for your support, I think we're getting closer rebuilding the kernel didn't change anythin.Johnny include your .configure. it should load the radeon module (and the agpgart module). If the module doesn't exist it could complain Created attachment 61333 [details]
.config
you meant the kernel config? I attached the kernel config. Correct me if I'm wrong, but I believe undefined symbols are a problem with the shared library loader, not kernel modules. This would mean xorg's dlloader (or metrolink?) can't resolve code provided by libdrm.so when loading radeon_drv.so. # grep drmGetLibVersion /usr/lib/Server/modules/linux/* Binary file /usr/lib/Server/modules/linux/libdrm.so matches I think so, too. # grep drmGetLibVersion /usr/lib/Server/modules/linux/* Binary file /usr/lib/Server/modules/linux/libdrm.so matches Where can I set the path for the X library loader? In ldconfig? DO I have o set a path in xorg.config? Created attachment 61479 [details]
ld.so.conf
Created attachment 61480 [details]
xorg.conf
Has anyone got an Idea, what went wrong? Thanks in advance, Johnny Have you tried using `X -configure` to generate an xorg.conf? Created attachment 62000 [details]
X -configure output
Yes, I tried. See attached file.
Hmm, another libbitmap problem. This error is likely unrelated to the dlloader problem you've seen earlier. I'm not sure where or why this symbol is being duplicated. The temporary solution to the libbitmap thing might be USE="-bitmap-fonts". As for the unresolved symbols, I'm pretty sure you'll need to resolve those manually in your existing xorg.conf, adding Load "blah" for modules you need. Since I'm lazy, but still want to provide a useful reference, I'll attach a small excerpt from my xorg.conf Modules section. Created attachment 62016 [details]
xorg.conf snippet
I build xorg without the bitmap stuff, and now I have the old error. _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/jathgentoo:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: Linux 2.6.11.4-21.7-default i686 [ELF] Current Operating System: Linux jathgentoo 2.6.11-gentoo-r11 #1 Sun Jun 19 11:11:08 CEST 2005 i686 Build Date: 27 June 2005 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.0.log", Time: Mon Jun 27 19:42:49 2005 (==) Using config file: "/etc/X11/xorg.conf" Using vt 7 dlopen: /usr/lib/modules/extensions/libdri.so: undefined symbol: drmGetLibVersion (EE) Failed to load /usr/lib/modules/extensions/libdri.so (EE) Failed to load module "dri" (loader failed, 7) dlopen: /usr/lib/modules/extensions/libglx.so: undefined symbol: glTexSubImage3D (EE) Failed to load /usr/lib/modules/extensions/libglx.so (EE) Failed to load module "glx" (loader failed, 7) (EE) Failed to load module "speedo" (module does not exist, 0) dlopen: /usr/lib/modules/drivers/radeon_drv.so: undefined symbol: drmGetLibVersion (EE) Failed to load /usr/lib/modules/drivers/radeon_drv.so (EE) Failed to load module "radeon" (loader failed, 7) (EE) No drivers available. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.X.Org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. I can confirm this. I have similiar problem - X complains about undefined symbols after emerging xorg-x11-6.8.99.13: [snip] dlopen: /usr/lib/modules/extensions/libglx.so: undefined symbol: glTexSubImage3D (EE) Failed to load /usr/lib/modules/extensions/libglx.so (EE) Failed to load module "glx" (loader failed, 7) dlopen: /usr/lib/modules/extensions/libdri.so: undefined symbol: drmGetLibVersion (EE) Failed to load /usr/lib/modules/extensions/libdri.so (EE) Failed to load module "dri" (loader failed, 7) dlopen: /usr/lib/modules/drivers/radeon_drv.so: undefined symbol: drmGetLibVersion (EE) Failed to load /usr/lib/modules/drivers/radeon_drv.so (EE) Failed to load module "radeon" (loader failed, 7) (EE) No drivers available. [/snip] Althought 6.8.2-1 works without problems.. But maybe it's somehow related? # emerge info Portage 2.0.51.19 (hardened/x86, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11.12-grsec i686) ================================================================= System uname: 2.6.11.12-grsec i686 AMD Duron(TM) Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5-r1,dev-lang/python-2.4.1-r1 [2.4.1 (#1, Jun 17 2005, 16:43:25)] dev-lang/python: 2.3.5-r1, 2.4.1-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-pipe -O2 -march=athlon-4 -fstack-protector -fstack-protector-all -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O2 -march=athlon-4 -fstack-protector -fstack-protector-all -fomit-frame-pointer" DISTDIR="/tmp/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="pl_PL" LINGUAS="pl" MAKEOPTS="-j1" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X alsa avi berkdb cdr crypt cups curl dlloader eds encode fam flac gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal hardened imagemagick imlib java jpeg kde libwww mad mailwrapper mikmod mmx mmx2 mmxext mono motif mozilla mpeg mysql ncurses nls nptl ogg oggvorbis opengl pam pdflib perl pic png postgres python qt readline scanner sdl slang spell sse ssl svg tcpd tiff truetype userlocales vorbis x86 xml xml2 xv zlib linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS Well, I am still having this problem. I don't have the hardened use flag, that's the only difference. Johnny I've changed CFLAGS to "-pipe -O2 -march=i686 -fno-stack-protector -fno-stack-protector-all -fomit-frame-pointer -fno-pic -nopie" and recompiled xorg-x11-6.8.99.13 - Xorg still does not start. Similar problem here after emerging xorg-x11-6.8.99.15 (up from 6.8.2-r2): dlopen: /usr/lib/modules/extensions/libdri.so: undefined symbol: drmGetLibVersion (EE) Failed to load /usr/lib/modules/extensions/libdri.so (EE) Failed to load module "dri" (loader failed, 7) dlopen: /usr/lib/modules/extensions/libglx.so: undefined symbol: glTexSubImage3D (EE) Failed to load /usr/lib/modules/extensions/libglx.so (EE) Failed to load module "glx" (loader failed, 7) dlopen: /usr/lib/modules/drivers/via_drv.so: undefined symbol: xf86I2CWriteByte (EE) Failed to load /usr/lib/modules/drivers/via_drv.so (EE) Failed to load module "via" (loader failed, 7) (EE) No drivers available. # emerge --info Gentoo Base System version 1.6.13 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12 i686) ================================================================= System uname: 2.6.12 i686 AMD Athlon(tm) XP 2800+ dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.5 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="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -Os -pipe -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks notitles sandbox sfperms strict test userpriv usersandbox" LINGUAS="en eo es nl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow X aac aim alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt curl dlloader doc dri eds emboss encode esd fam fbcon ffmpeg flac gd gdbm gif glx gpm gstreamer hardened icq imagemagick imlib jabber jpeg kde kdeenablefinal libg++ libwww lm_sensors mad mbox mikmod mime mmap mmx mp3 mpeg mysql ncurses nls ogg oggvorbis opengl pam pdflib png python qt quicktime readline sasl sdl slang speex spell sse ssl svg svga tcltk threads tidy tiff truetype truetype-fonts tryetype type1-fonts unicode vorbis win32codecs wnf xface xine xml xml2 xmms xpm xsl xv xvid yahoo zlib video_cards_via linguas_en linguas_eo linguas_es linguas_nl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS I noticed you all are using +dlloader, have you tried without? yes, I trie. But my installation is currently dead. I think, that this has something to do with the hardened stuff. The previous version dowsn't work, if I don't have the hardened flag in my us. The current version doesn't have the hardened use flag any longer Well, switching hardened on and off isn't the best idea. You have to make sure you're on a non-hardened profile and you rebuild everything that's changed, IE, emerge -uavDN world. Dead bug; if you still have problems, file a new one please. |