When I try to run Xfree86 4.3 on my newly installed Gentoo installation, X takes approx 3-5 minutes to start (though once it started in about 10 seconds). While X is starting, CPU usage for the "X" process is 100% and the system stays in text mode with a blank, black screen. After this time, it displays the TWM GUI normally, but usually locks up. While I can login to the system via SSH, the local terminal will not respond to CTRL-ALT-Fx, CTRL-ALT-DEL, CTRL-ALT-BS, etc. On several occasions, I was able to get it to reboot from the local terminal using the magic sysrq key, but I prefer not having that enabled in my kernel. Exactly one time, X didn't lock up and I could use TWM normally with the keyboard. The mouse (A Logitech PS/2 wheel mouse) didn't work, but was powered (it has an LED). After exiting from X, I was not able to get it to run again. I tried running XDM and Gnome2, but X doesn't seem to care what app I tell it to run. On two occasions, I WAS able to CTRL-ALT-F1 and saw the X log. The only thing abnormal that it reported was this: Symbol drmCtlUninstHandler from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Symbol drmGetInterruptFromBusID from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! I did not initially configure the kernel with anything AGP/DRM related but have tried several combinations, including a recommendation in the forum to turn off kernel support and use xfree-drm. Other than that, I have made minimal changes to the kernel other than disabling a few things which absolutely, positively have nothing to do with X or DRM. I suspect this has something to do with my USE flags. Here is my make.conf: USE="X mmx 3dnow sse gtk2 gnome apache2 usb zlib apm xv dga opengl sdl truetype tiff gif jpeg png mozilla mysql ncurses samba -pcmcia -motif -alsa -nas" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-mp -O2 -fomit-frame-pointer -pipe" CXXFLAGS="${CFLAGS}" #ACCEPT_KEYWORDS="~x86" I haven't tried removing "sdl" and "opengl" (etc) but will report back if it fixes the problem after recompiling X. (Even then it shouldn't happen). I have no idea why I even added them as this is to be a server. ::hits self:: On the off chance the system hardware has something to do with this, it is a home server with a single AthlonMP 1800+, Tyan TigerMP S2460 motherboard (latest BIOS), Adaptec 29160 disk controller, Seagate X15-36LP drive, 1GB reg ECC RAM (certified for this board), old Matrox G400 16MB, excessive cooling, overkill power supply, etc. This is a fresh stage 1 install of RC3 using the flags above. X works in both Redhat and Knoppix and has worked the last 15 or so times I've installed Gentoo, including at least 7 on this same system. Please specify if any more information is needed or any tests required, though I am re-emerging X as I type this. (BTW, X is on this system because it will be an X terminal server, among other things, else I wouldn't bother with it) Reproducible: Always Steps to Reproduce: 1. Emerge X 4.3 under the same conditions 2. Run it
I recompiled X with --emptytree, removing "xv dga opengl sdl" from the USE variables and no longer get the unresolved symbol errors in mga_drv.o (in fact, there are no errors of any kind shown), but X's behavior is still the same.
Try a different kernel ?
I should have mentioned, I *did* try a new kernel when I recompiled X. The system now uses a vanilla kernel with very few changes made to the default config (just those required for Gentoo and adding the necessary drivers, as well as modulizing a few things like USB support).
Are you using gpm on the console? I had problems with X-4.3 and gpm. I had gpm repeating it's data for X and XF86Config set up properly (ie: mouse device == /dev/gpmdata) but X still refused to start. Stopping gpm, setting the mouse device in XF86Config to /dev/psaux (for a PS/2 mouse) and then starting X resulted in everything working.
The only packages not mentioned in the install instructions that I have installed include: Gentoolkit Gentoo-stats Xfree and its dependencies Xfree-drm I recently installed the unmasked Xfree 4.2x and it seems to work without problem
Charles, can you try xfree-4.3.0-r2 please, and report?
Charles, closing this bug -- please reopen or e-mail me, if this problem persists with 4.3.0-r2
Sorry, wasn't able to test 4.3r2 for some time, because my main Gentoo system is a server (no X). I found that 4.3r2 works perfectly on my mother's Gentoo system. Confirming closed.
Looks opened accidentally.