emerge -uDp world told me to upgrade xorg-x11 which I had not installed, because I had xfree-4.3.0-r8 installed... Well okay... here we go, emerge -uDp world and after that: # Xorg -configure [...] Elf_RelocateEntry() Unsupported relocation type 10 Elf_RelocateEntry() Unsupported relocation type 10 [...] Elf_RelocateEntry() Unsupported relocation type 10 Elf_RelocateEntry() Unsupported relocation type 10 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 -config /root/xorg.conf.new [...] Elf_RelocateEntry() Unsupported relocation type 10 Elf_RelocateEntry() Unsupported relocation type 10 Elf_RelocateEntry() Unsupported relocation type 10 Symbol XAAGetScreenIndex from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetScreenIndex from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetCachePlanarMonoStipple from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetCachePlanarMonoStipple from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetCachePlanarMonoStipple from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetCachePlanarMonoStipple from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetScreenIndex from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetScreenIndex from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetScreenIndex from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetScreenIndex from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetCachePlanarMonoStipple from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol XAAGetCachePlanarMonoStipple from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! *** If unresolved symbols were reported above, they might not *** be the reason for the server aborting. Fatal server error: Caught signal 11. Server aborting 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. Aborted So well, I decided to configure the way I did with xfree: # xorgconfig same problem. I also tried adding BusID "PCI:0:11:0" and Option "NoDDC" to /etc/X11/xorg.conf so xorg.conf became almost the same as the XF86Config I used with xfree. Finally I tried using the /etc/X11/XF86Config.20050106 which is the XF86Config I used with xfree, but still no luck... so I guess I'm a bit out of options right now since xfree seems to have disappeared from portage... Reproducible: Always Steps to Reproduce: 1. emerge x11-org 2. env-update 3. source /etc/profile 4. Xorg -configure 5. X -config /root/xorg.conf.new 6. xorgconfig 7. X 8. X -config /etc/X11/XF86Config.20050106 Actual Results: See above. And I will attach log and config files in a minute... Expected Results: A functional X server Gentoo Base System version 1.4.16 Portage 2.0.51-r3 (default-alpha-1.4, gcc-3.3.2, glibc-2.3.2-r12, 2.4.26 alpha) ================================================================= System uname: 2.4.26 alpha EV4 distcc 2.16 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.23 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="alpha" AUTOCLEAN="yes" CFLAGS="-O2 -pipe " CHOST="alpha-unknown-linux-gnu" COMPILER="" CXXFLAGS="-O2 -pipe " FEATURES="autoaddcvs buildpkg ccache distlocks" MAKEOPTS="-j2" USE="X alpha berkdb bitmap-fonts crypt cups encode esd f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla ncurses oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang ssl tcpd truetype xml2 xmms xv zlib"
Created attachment 47893 [details] /root/xorg.conf.new
Created attachment 47894 [details] /var/log/Xorg.0.log
Created attachment 47895 [details] /etc/X11/xorg.conf created with xorgconfig
USE=dlloader please.
As for removal of xfree, see http://www.gentoo.org/news/en/gwn/20041229-newsletter.xml#doc_chap2_sect8.
Created attachment 49176 [details] /etc/X11/Xorg.0.log creates after Xorg -configure
So now I use dlloader, the "Elf_RelocateEntry() Unsupported relocation type 10" things are gone but it still does not work! # Xorg -configure [...] Using vt 7 List of video drivers: atimisc r128 radeon mga nv tga s3virge sis rendition i740 tdfx cirrus tseng fbdev ati vga v4l glint dlopen: /usr/X11R6/lib/modules/drivers/atimisc_drv.so: undefined symbol: ATIMemoryTypeNames_88800CX (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" 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' Above, I attached the /etc/X11/Xorg.0.log created after Xorg -configure
Created attachment 49177 [details] Xorg.0.log created after X -config /root/xorg.conf.new # 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.4.26 alpha [ELF] Current Operating System: Linux alpha 2.4.26 #1 Fri Apr 16 14:47:13 CEST 2004 alpha Build Date: 20 January 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: Fri Jan 21 20:44:33 2005 (++) Using config file: "/root/xorg.conf.new" Using vt 7 *** If unresolved symbols were reported above, they might not *** be the reason for the server aborting. Fatal server error: Caught signal 11. Server aborting 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. Aborted
Created attachment 49178 [details] /etc/X11/xorg.conf created with xorgconfig # xorgconfig This creates /etc/X11/xorg.conf which I use for: # X -config /etc/X11/xorg.conf 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.4.26 alpha [ELF] Current Operating System: Linux alpha 2.4.26 #1 Fri Apr 16 14:47:13 CEST 2004 alpha Build Date: 20 January 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: Sat Jan 22 09:36:47 2005 (++) Using config file: "/etc/X11/xorg.conf" Using vt 7 *** If unresolved symbols were reported above, they might not *** be the reason for the server aborting. Fatal server error: Caught signal 11. Server aborting 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. Aborted
Created attachment 49180 [details] Xorg.0.log created by X -config /etc/X11/xorg.conf
The 4th attachment is of course /var/log/Xorg.0.log (not /etc/X11/...) I also tried adding BusID "PCI:0:11:0" and Option "NoDDC" to /etc/X11/xorg.conf, but like before, no luck... So, at this moment I have no way running X on my alpha since the xfree (which worked for me) disappeared from portage...
have you tried the vesa driver?
No, why? Is Matrox Millennium vesa compatible?
About the vesa driver, what do you mean? AFAIK, I only have the following drivers! # ls -l /usr/X11R6/lib/modules/drivers total 4405 -rwxr-xr-x 1 root root 98863 Jan 22 11:45 ati_drv.o -rwxr-xr-x 1 root root 307601 Jan 22 11:45 atimisc_drv.o -rwxr-xr-x 1 root root 85297 Jan 22 11:45 cirrus_alpine.o -rwxr-xr-x 1 root root 21279 Jan 22 11:45 cirrus_drv.o -rwxr-xr-x 1 root root 65767 Jan 22 11:45 cirrus_laguna.o -rwxr-xr-x 1 root root 33818 Jan 22 11:45 fbdev_drv.o -rwxr-xr-x 1 root root 672042 Jan 22 11:45 glint_drv.o -rwxr-xr-x 1 root root 95853 Jan 22 11:45 i740_drv.o drwxr-xr-x 2 root root 1024 Jan 22 11:49 linux -rwxr-xr-x 1 root root 416358 Jan 22 11:45 mga_drv.o -rwxr-xr-x 1 root root 157671 Jan 22 11:45 nv_drv.o -rwxr-xr-x 1 root root 221589 Jan 22 11:45 r128_drv.o -rwxr-xr-x 1 root root 330932 Jan 22 11:45 radeon_drv.o -rwxr-xr-x 1 root root 97816 Jan 22 11:45 rendition_drv.o -rwxr-xr-x 1 root root 202436 Jan 22 11:45 s3virge_drv.o -rwxr-xr-x 1 root root 1186139 Jan 22 11:45 sis_drv.o -rwxr-xr-x 1 root root 155058 Jan 22 11:45 tdfx_drv.o -rwxr-xr-x 1 root root 94055 Jan 22 11:45 tga_drv.o -rwxr-xr-x 1 root root 183968 Jan 22 11:45 tseng_drv.o -rwxr-xr-x 1 root root 39821 Jan 22 11:45 vga_drv.o
Please don't fiddle around with the severity. If you want attention, just say so. Try the vga driver.
At least I got the attention now, and in fact it _IS_ a blocker since I can't do anything but textmode using the current portage! The vga driver says 16 bit is not supported by this driver. And when I choose 8 bit I get no screen so this is no option either... -------------------------------------------------------------- (==) Using config file: "/etc/X11/xorg.conf" Using vt 7 (EE) VGA(0): Given depth (16) is not supported by this driver. (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found -------------------------------------------------------------- (==) Using config file: "/etc/X11/xorg.conf" Using vt 7 Could not init font path element /usr/share/fonts/CID/, removing from list! Could not init font path element /usr/share/fonts/local/, removing from list!
For the x11 herd, a blocker is something that destroys an installed system. Not something that just prevents you from using X. What do you get when trying 8- or 24-bit? Attach a log please.
Created attachment 50941 [details] Xorg.0.log (vga driver at 24 bit) This is the 24 bit try with the vga driver # X 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.4.26 alpha [ELF] Current Operating System: Linux alpha 2.4.26 #1 Fri Apr 16 14:47:13 CEST 2004 alpha Build Date: 20 January 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: Thu Feb 10 20:42:13 2005 (==) Using config file: "/etc/X11/xorg.conf" Using vt 7 (EE) VGA(0): Driver can't support depth 24 (EE) Screen(s) found, but none have a usable configuration. 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.
Created attachment 50944 [details] Xorg.0.log (vga driver at 8 bit This is the 8 bit try with the standard vga driver The result is just a black screen... # X 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.4.26 alpha [ELF] Current Operating System: Linux alpha 2.4.26 #1 Fri Apr 16 14:47:13 CEST 2004 alpha Build Date: 20 January 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: Thu Feb 10 20:55:52 2005 (==) Using config file: "/etc/X11/xorg.conf" Using vt 7 Could not init font path element /usr/share/fonts/CID/, removing from list! Could not init font path element /usr/share/fonts/local/, removing from list!
Looks like I'm not the only one having problems with Matrox Millennium and the xorg mga driver... https://bugs.freedesktop.org/show_bug.cgi?id=1194 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=125762
So what's the status, is anything done with the logfiles I included here? And if it's not possible to get xorg work together with "Matrox Millennium I" with the current versions, is it a possible to get XFree back into gentoo for the time being until xorg fixed the mga driver?
Do you have a /dev/mouse?
Yes, and xfree was working OK with the same mouse... # ls -l /dev/mouse lr-xr-xr-x 1 root root 10 Aug 6 2004 /dev/mouse -> misc/psaux # ls -lL /dev/mouse crw-r----- 1 root root 10, 1 Feb 10 20:57 /dev/mouse
Do me a favor and just make sure you get output when you `cat /dev/mouse` and move the mouse around. Also, what you can try is building xorg with USE=dlloader, then use gdb to debug it. http://xorg.freedesktop.org/wiki/DebuggingTheXserver should help with this.
The mouse works OK, gpm works with no problem, and as I said, xfree too! # ps -fC gpm UID PID PPID C STIME TTY TIME CMD root 28880 1 0 Jan24 ? 00:00:28 /usr/sbin/gpm -m /dev/misc/psaux -t ps2 And here an xdump of the moving mouse # cat /dev/mouse |xdump 00000000 38 ff ff 38 fd fd 38 fd fe 38 fc fd 38 fc fd 38 8..8..8..8..8..8 00000010 fa fe 38 f9 fe 38 f8 fd 38 f8 fd 38 f7 fe 38 f6 ..8..8..8..8..8. 00000020 ff 38 f6 ff 38 f6 fe 38 f5 fe 38 f6 ff 38 f5 ff .8..8..8..8..8.. 00000030 38 f5 fe 18 f5 00 38 f6 fe 18 f5 00 18 f7 00 38 8.....8........8 00000040 f8 ff 38 fa ff 18 fd 00 18 ff 00 08 01 00 08 01 ..8............. 00000050 02 08 01 00 08 02 01 08 02 01 08 02 00 08 02 01 ................ 00000060 08 01 00 fa fa fa fa fa fa fa 08 06 06 08 0e 08 ................ 00000070 08 15 07 08 17 07 08 11 02 08 0c 00 08 09 00 08 ................ 00000080 08 00 08 06 00 28 06 fd 28 04 ff 28 02 fc 28 01 .....(..(..(..(. 00000090 fd 28 01 fc 28 00 fb 28 00 fc 28 00 f9 28 00 fb .(..(..(..(..(.. 000000a0 38 ff f8 38 ff f8 28 00 f8 38 fe f8 38 fe f5 38 8..8..(..8..8..8 000000b0 fd f7 38 fb f4 38 fb f4 38 f9 f4 38 f9 f6 38 f9 ..8..8..8..8..8. 000000c0 f6 38 f7 f7 38 f8 f8 38 f7 f9 38 f8 f9 38 fa fb .8..8..8..8..8.. 000000d0 38 f9 fc 38 f9 fe 38 fa fe 18 f9 00 18 f9 00 18 8..8..8......... 000000e0 fc 04 18 fc 02 18 fc 05 18 fc 05 18 fa 06 18 fc ................ 000000f0 07 18 fd 07 18 fd 07 18 ff 05 18 ff 06 08 00 03 ................ 00000100 08 00 02 08 00 01 28 02 fe 38 fe fe 38 fd fc 38 ......(..8..8..8 00000110 fc f9 38 fc fb 38 fb f8 38 fb f9 38 fc f8 38 fb ..8..8..8..8..8. 00000120 f9 38 fb f9 38 fb f9 38 fd fa 38 fd fb 38 fe ff .8..8..8..8..8.. 00000130 38 ff fe 38 ff ff 08 02 00 08 04 01 08 07 02 08 8..8............ 00000140 0b 03 08 09 01 08 08 00 08 05 00 08 04 00 08 04 ................ 00000150 00 08 04 00 08 03 00 08 03 00 08 03 00 08 02 00 ................ 00000160 28 01 ff 28 01 fe 28 01 ff 28 01 fe 28 01 fe 28 (..(..(..(..(..( 00000170 01 fc 28 01 ff 28 00 fd 28 00 ff 28 01 ff 28 00 ..(..(..(..(..(. 00000180 ff 28 01 ff 28 01 fe 28 01 fe 28 00 fc 28 01 fc .(..(..(..(..(.. 00000190 28 01 fb 28 01 f9 28 01 fa 28 00 fa 28 00 f8 28 (..(..(..(..(..( 000001a0 01 f9 28 00 fb 28 00 f8 28 01 f8 28 00 f8 28 00 ..(..(..(..(..(. 000001b0 f9 28 00 f9 28 00 fa 38 fe fb 28 00 f9 38 fe fa .(..(..8..(..8.. 000001c0 38 fe f9 38 fe f9 38 fd f8 38 fd f9 38 fd fb 38 8..8..8..8..8..8 000001d0 fd fb 38 fe fb 38 fd fa 38 fd fc 38 fc fc 38 fc ..8..8..8..8..8. 000001e0 fc 38 fc fc 38 fb fe 38 fb fe 18 fb 00 38 fa fe .8..8..8.....8.. 000001f0 18 fa 00 18 f9 00 18 fb 01 18 fb 01 18 fc 01 18 ................ 00000200 fa 03 18 fa 03 18 fa 04 18 fa 06 18 f9 09 18 f9 ................ 00000210 0b 18 f9 0c 18 fa 0e 18 fb 0d 18 fe 10 08 00 10 ................ 00000220 08 00 10 08 03 11 08 03 0f 08 03 10 08 06 0e 08 ................ 00000230 07 0e 08 0a 0d 08 0b 0c 08 0c 0a 08 0c 07 08 0c ................ 00000240 04 08 0d 00 28 0b fe 28 0b fb 28 0a f6 28 0c f3 ....(..(..(..(.. 00000250 28 0b f2 28 0a ee 28 0a ee 28 07 ec 28 07 ed 28 (..(..(..(..(..( 00000260 04 ee 28 03 f1 28 01 f3 28 00 f7 28 00 fa 38 ff ..(..(..(..(..8. 00000270 fd 28 01 ff 08 01 00 08 02 00 08 01 00 08 00 01 .(.............. And I already use dlloader (see comment #4 and #7) # cat /etc/portage/package.use >=x11-base/xorg-x11-6.7.0 dlloader I'll try to debug xorg...
I am getting the same unresolved symbols problem as initially reported in this bug, but rebuilding with USE="dlloader" did not resolve the situation. Any other suggestions?
Please file a new bug, Ian.
Works with dlloader, closing.