Hi, I am having serious trouble with my xorg installation. The problem is, that radeon_drv.so fails to load because of the undefined symbol drmGetLibVersion. Has anybody got an idea what went wrong? Thanksin advence, Johnny Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r10 i686) ================================================================= System uname: 2.6.11-gentoo-r10 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1 sys-apps/sandbox: 1.2.9 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-r1, 2.15.92.0.2-r9, 2.16-r1, 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -mmmx -fno-pie -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib/fax /usr/lib/gcc/i686-pc-linux-gnu/3.4.3 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4 /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -mmmx -fno-pie -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowex 3dnowext X X509 Xaw3d a52 aac aalib accessibility accounting acl acpi activefilter ada adns afs aim alsa ao apache2 apm applet ares arts artswrappersuid artworkextra asterisk async athena atm auctex audiofile authdaemond avantgo avi bash-completion bcmath berkdb bidi bind-mysql bitmap-fonts bl blas blender-game bluetooth bmp bonobo bootsplash boundchecking bri brltty buffysize bzip2 bzlib c++ cairo calendar callbacks camaelon caps cdda cddb cdio cdparanoia cdr cgi chasen chroot clearcase clearpasswd clisp cmucl codecs cpdflib cpudetection crypt cscope ctype cups curl curlwrappers customlog dbase dbm dbus dbx dedicated devfs26 devmap dga dhcp dio directfb divx4linux djbfft dlloader dlz dpms drac dts dv dvb dvd dvdr dvdread edl eds elf emacs emboss encode erandom esd ethereal evo examples exif extensions f77 faac faad fam fame fastcgi fax fb fbcon fbdev festival ffmpeg fftw filepro firebird firefox flac flash flatfile flexresp flood floppy-boot floppyboot floppyd florz fltk fluidsynth font-server foomaticdb fortran fping fpx frascend freetts freetype frlargefiles frxp ftp gb gcc-libffi gcj gcl gd gd-external gdbm geoip ggi gif gimpprint ginac glitz glut gnokii gnome gnome-print gnomedb gnustep gnutls gphoto2 gpm gps graphviz gsl gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal haskell hdf5 howl httpd hub ibm iconv icq icu idea idled idn ieee1394 imagemagic imagemagick imap imlib imlib2 immqt inetd inifile inline innodb insecure-drivers intl ipalias ipv6 irda irmc isdn jabber jack jack-tmpfs java javascript jbig jce jikes jit jks jms joystick jpeg jpeg2k junit jython kcal kde kdeenablefinal kdexdeltas kerberos kig-scripting koffice-plugin kqemu krb4 ladcca ladspa large-domain latex lcd lcms ldap ldb leim lesstif libcaca libclamav libg++ libgda libsamplerate libwww lirc live lm_sensors logitech-mouse logrotate lua lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska matrox mbox mbrola mcal mcve md5sum mecab memlimit messages mgetty mhash mikmod mime ming mjpeg mmap mmx mmx2 mmxext mng modelock motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mpi mplayer mppe-mppc msn mule multicall multiprocess multislot multitarget mysql mysql41 mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses neXt netboot netcdf nethack network neural nfs nis nls nntp non-flattened nptl nptlonly oav objc odbc offensive ofx ogg oggvorbis openexr opengl osc oscar oss pam pam_chroot pam_console pam_timestamp pascal pcap pcapnav pcmcia pcntl pcre pcsc-lite pda pdflib perforce perl pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils png pnp portaudio posix postfix postgres povray ppds prelude pri procmail profile pvm pwdb pxeserial pyste python qemu-fast qhull qt quicktime quotas radius rar rdesktop readline real resperl rhino rpm rrdtool rtc ruby samba sample sasl sbcl sblive scanner sdk sdl sendfile serial server session sftplogging sguil shaper shared sharedmem silc simplexml skey slang slp smartcard smime sms smtp smux sndfile snmp snortsam soap sockets socks5 softmmu softquota soundtouch sox spamassassin speex spell spl sql sqlite srp sse ssl static-modules stats stencil-buffer stream streamzap subject-rewrite subtitles subversion svg svga sysvipc szip tcltk tcpd termcap-compat test tetex tga theora threads tidy tiff timidity tokenizer toolbar transcode transparent-proxy truetype truetype-fonts type1-fonts ucs2 udpfromto underscores unicode urandom usb userlocales utf8 v4l v4l2 vcd vchroot vda vdesktop vhosts vidix vim-with-x virus-scan visualization vlm vmdbmysql vmdbpostgres vorbis vpopmail wddx webdav wifi win32codecs winbind wmf wxgtk1 wxwindows x11vnc xanim xbase xface xforms xfs xim xine xinerama xinetd xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz yv12 zaptel zero-penalty-hit zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
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.