Xorg lockup issues have been reported for months in this forum thread: http://forums.gentoo.org/viewtopic-t-334436-highlight-x+lockups.html There is a known issue with the 6.8.2 (and earlier, I think) Xorg server directly accessing PCI config space which can result in hardware lockups. Details of the issue and patches to correct the problem can be found here: https://bugs.freedesktop.org/show_bug.cgi?id=2880 In the interest of possibly correcting the long-standing lockup issues of gentoo Xorg users and fixing the current, broken Xorg server, the latest patch provided in the freedesktop bug report should be added to the current xorg-x11-6.8.2 ebuild. That patch can be found here: https://bugs.freedesktop.org/attachment.cgi?id=3382 I added that patch to the existing xorg-x11-6.8.2-r4 patch package and rebuilt the Xorg server. The patch applied cleanly, and the server built as expected. Only time will tell whether it resolved the intermittent lockup issues I've been experiencing since March. Reproducible: Didn't try Steps to Reproduce: 1. This is an intermittent issue that is difficult, if not impossible, to reproduce consistently. Intermittent, inconsistent lockups could, however, be a byproduct of the Xorg server playing around with PCI configuration registers behind the kernel's back. 2. 3. Actual Results: In my case, the lockups have resulted in a complete system freeze. No mouse or keyboard, no magic SysRq, no ssh access -- the only way to regain control of the system is by pushing the reset button. As the above-cited forum thread indicates, other users have reported being able to move the mouse and access their machines via ssh. Expected Results: Worked. Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) ================================================================= System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) 2700+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/more/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.ccccom.com http://gentoo.ccccom.com ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.blueyonder.co.uk" MAKEOPTS="-j2" PKGDIR="/more/portage/packages" PORTAGE_TMPDIR="/more/portage-build" PORTDIR="/more/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi alsa apm arts audiofile avi berkdb bitmap-fonts browserplugin bzlib cdparanoia cdr crypt cups curl curlwrappers dvd dvdr eds emboss encode esd exif fam fftw flac foomaticdb fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java javascript jpeg libg++ libwww lm_sensors mad maildir mbox mikmod mime mmx motif mozilla mp3 mpeg mysql mysqli ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl php png ppds python quicktime readline ruby samba sdl slang sndfile sox speex spell sse ssl svga tcltk tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wxwindows xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I just ran into this problem with xorg-x11-6.8.99.15-r4. About once every 2 minutes the machine would completely lockup only when X was running. Applied the patch listed as "Use system method for byte/word accesses (take 3)" (this seems to be the one that got applied to the Xorg CVS) Everything seems to be running fine now. It would be real nice to get this patch applied to the default ebuilds.
Actually, take3 isn't in CVS yet but it soon will be. When it is I'll add it.
Just to clarify things, it appears that the finalized patch for this issue is the last one in the list of attachments for the bug report: "Patch to implement byte and word level pci config access". That is also the patch that I have linked in my original comment. Please note, however, that in my case the patch did not resolve the lockup issue I was experiencing. I am now running the stock xorg-x11-6.8.2-r4 from portage. This is sooooo frustrating...
Hmm, it would appear you have a different problem then. Have you tried 6.8.99.15?
This has been applied upstream. If I make another 6.8.2 patchset I plan to include this patch.
I've experienced this bug after I emerged xorg-x11-6.8.2-r6 upgrading from xorg- x11-6.8.2-r1. No mouse, no keyb, no vt switching possible and no external ssh access. I downgraded to xorg-x11-6.8.2-r4 and everything is fine.
Same problems Here: DELL OPtiPlex GX270 P4 HT Video Intel i865G Effects: Sometimes screen is black, or I get some visual artefacts and no mouse, or reboot, or X restart. Several times a day, at random Tried with: Xorg 6.8.2r6, 6.8.2r4, 7.0 AGP aperture to 32Mo, NO ACPI in kernel, no fbdev support in kernel.... Nota: Sometimes I get Kernel panic at boot too. Actual Config: Gentoo Base System version 1.6.13 Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -pipe -Os -mmmx -msse -msse2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -pipe -Os -mmmx -msse -msse2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="fr_FR" LINGUAS="fr" 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 X acl alsa apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dvd eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal i8x0 idn imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal lcms ldap libg++ libwww mad mhash mikmod ming mmx mmx2 mng motif mozilla mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline recode samba sdl slang speex spell sqlite sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xine xml xml2 xmms xv xvid zlib linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS G
Same problems Here: DELL OPtiPlex GX270 P4 HT Video Intel i865G Effects: Sometimes screen is black, or I get some visual artefacts and no mouse, or reboot, or X restart. Several times a day, at random Tried with: Xorg 6.8.2r6, 6.8.2r4, 7.0 AGP aperture to 32Mo, NO ACPI in kernel, no fbdev support in kernel.... Nota: Sometimes I get Kernel panic at boot too. Actual Config: Gentoo Base System version 1.6.13 Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -pipe -Os -mmmx -msse -msse2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -pipe -Os -mmmx -msse -msse2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="fr_FR" LINGUAS="fr" 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 X acl alsa apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dvd eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal i8x0 idn imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal lcms ldap libg++ libwww mad mhash mikmod ming mmx mmx2 mng motif mozilla mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline recode samba sdl slang speex spell sqlite sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xine xml xml2 xmms xv xvid zlib linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS Gérard COLLIN
6.8.2 won't be receiving any more non-security changes, and this bug doesn't apply to 7.0.