Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232280 - x11-drivers/xf86-video-ati: random lockup after upgrade from version 6.6.3
Summary: x11-drivers/xf86-video-ati: random lockup after upgrade from version 6.6.3
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-19 01:35 UTC by Peng Liu
Modified: 2008-10-24 06:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log (xorglog.txt,70.53 KB, text/plain)
2008-07-19 01:37 UTC, Peng Liu
Details
xorg.conf (xorg.conf,4.87 KB, text/plain)
2008-07-19 01:39 UTC, Peng Liu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peng Liu 2008-07-19 01:35:55 UTC
After upgrade x11-drivers/xf86-video-ati from 6.6.3 to 6.8.0-r1  my system begin s random lockup something from fifteen minutes to an hour or so. And noticeable always happened when I am using Firefox.

I am using Xfce4, and the lockup almost always happens when I try to post my Xorg.0.log into gentoo forums in edit mode but not every time, and often happened when I am opening or switching in Firefox tabs. The time intervals ranging from less than fifteen minutes such as open previous saved Firefox sessions in Gentoo forums in edit mode and try to re-past my Xorg.0.log file to eight hours continues working without a lockup and leave the computer overnight to compile OpenOffice the computer will freeze in a screen-saver.

When lockup happens, I can still move my mouse around but the movement become sluggish, and the system will not react to any inputs from mouse buttons, keyboard inputs or even switch terminals or restart using Alt+Ctr+Del. But I can ssh from other machine and by using top I can see that X is using 99 percent of CPU.

I tried to upgrade to a newer masked version of xf86 ati driver which is 6.9.0 but my system still lockup. And I did upgrade and compiled my kernel to version 2.6.25.r6 as that upgrade just popped up last night, but still same lockup. Now I am downgrade back to 6.6.3 and it working stable now.

Reproducible: Sometimes

Steps to Reproduce:
1.Using x11-drivers/xf86-video-ati-6.8.0-r1 or 6.9.0
2.Using Firefox for a while or just try to post a text file more than 1000 lines (Xorg.0.log) in Gentoo forums with Code tags. 

Actual Results:  
Xorg(I think) as top shows as 'X' will use 99% CUP and lockup the whole system, make it unresponsive to mouse or keyboard input but mouse can still move.


Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 i686)
=================================================================
System uname: 2.6.25-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Fri, 18 Jul 2008 02:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/gentoo-china"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow X a52 acl alsa berkdb cjk cli cracklib crypt cups dbus dri dts dvd encode firefox freetype gdbm gif glitz gpm hal iconv isdnlog jpeg latex lm_sensors midi mmx mp2 mp3 mudflap ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png pppd python readline reflection samba sdl session spl srt sse ssl startup-notification svg tcpd tetex tiff truetype unicode x x264 x86 xorg xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peng Liu 2008-07-19 01:37:56 UTC
Created attachment 160782 [details]
Xorg.0.log

My Xorg.0.log after a Lockup
Comment 2 Peng Liu 2008-07-19 01:39:32 UTC
Created attachment 160784 [details]
xorg.conf

My xorg.conf (same as version 6.6.3 and 6.8.0-r1 and 6.9.0)
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-07-19 02:06:13 UTC
I had this problem too, I tracked down the cause/trigger to CONFIG_NO_HZ in the kernel. After disabling it, the system lockups went away.

Possibly you can still switch consoles using the chvt command.
Comment 4 Peng Liu 2008-07-19 02:13:47 UTC
Also my ati card info from lspci:

02:00.0 VGA compatible controller: ATI Technologies Inc R420 JI [Radeon X800PRO]
02:00.1 Display controller: ATI Technologies Inc R420 [Radeon X800 PRO/GTO] (Secondary)
Comment 5 Peng Liu 2008-07-19 03:51:06 UTC
Thanks but no, CONFIG_NO_HZ doesn't work for me, also tried with noapic, doesn't work either. I am coming back to 6.6.3 again.
Comment 6 Jérémy Just 2008-07-24 20:50:27 UTC
(In reply to comment #0)
> After upgrade x11-drivers/xf86-video-ati from 6.6.3 to 6.8.0-r1  my system
> begin s random lockup something from fifteen minutes to an hour or so.

  Same problem here with 6.8.0-r1: X locks and take 100% of CPU. I have to kill it through SSH. It doesn't seem to be specifically related to Firefox.

  The problem vanished when I downgraded to 6.6.3.


<<<<<<<<<<<< emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 AMD Athlon(TM) MP 2000+
Timestamp of tree: Thu, 24 Jul 2008 20:16:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-march=athlon-mp -O2 -fomit-frame-pointer -pipe"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
LANG="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran ftp gcj gdbm gif gpm gstreamer gtk gtkhtml hal iconv imagemagick imap isdnlog java jpeg jpeg2k kerberos latex ldap libnotify lirc lm_sensors mad midi mikmod mmx mp3 mpeg mplayer mudflap mule ncurses nls nntp nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sqlite sse ssl startup-notification svg symlink tcpd theora tiff truetype unicode usb v4l vorbis win32codecs wmf x86 xemacs xface xml xorg xpm xv xvid zlib" ALSA_CARDS="bt87x cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text X xosd" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="radeon fbdev dummy vesa vga v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
>>>>>>>>>>>>

<<<<<<<<<< lspci -v
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] (prog-if 00 [VGA controller])
        Subsystem: C.P. Technology Co. Ltd Unknown device 2046
        Flags: bus master, stepping, 66MHz, medium devsel, latency 64, IRQ 16
        Memory at e8000000 (32-bit, prefetchable) [size=128M]
        I/O ports at d800 [size=256]
        Memory at e5800000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at e7fe0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2
        Kernel driver in use: radeonfb
>>>>>>>>>>

  Sorry, I'm not able to trace the bug. But I can provide more information if needed.
Comment 7 Stefano Carignano 2008-07-26 09:48:20 UTC
(In reply to comment #0)

> Actual Results:  
> Xorg(I think) as top shows as 'X' will use 99% CUP and lockup the whole system,
> make it unresponsive to mouse or keyboard input but mouse can still move.

I'm experiencing the same problem here, and it seems very random, it happened  to me like three times in three months. Using xf86-video-ati 6.9.0 (~x86), xorg-server 1.4.2


~ $ emerge --info
Portage 2.2_rc3 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686)
=================================================================
System uname: Linux-2.6.26-gentoo-i686-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.0
Timestamp of tree: Sat, 26 Jul 2008 08:16:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
[...]


# lspci -v
01:00.0 VGA compatible controller: ATI Technologies Inc R480 [Radeon X850XT (PCIE)] (Primary) (prog-if 00 [VGA controller])
	Subsystem: ATI Technologies Inc Device 0302
	Flags: bus master, fast devsel, latency 0, IRQ 25
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at ff1f0000 (64-bit, non-prefetchable) [size=64K]
	I/O ports at b000 [size=256]
	Expansion ROM at ff1c0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Express Endpoint, MSI 00
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [100] Advanced Error Reporting <?>

01:00.1 Display controller: ATI Technologies Inc R480 [Radeon X850XT (PCIE)] (Secondary)
	Subsystem: ATI Technologies Inc Device 0303
	Flags: bus master, fast devsel, latency 0
	Memory at ff1e0000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Express Endpoint, MSI 00




Comment 8 Peng Liu 2008-08-04 01:18:53 UTC
From yesterday as I am doing web browsing all day the lockup start happened on xf86-ati-driver 6.6.3 as well. Being five time plus since then. I think I am going to use vesa driver now. Is it something related to hardware fragile?

Would be happy to provide more information if needed.

my new emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Sun, 03 Aug 2008 04:18:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/gentoo-china"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow X a52 acl alsa berkdb bzip2 cjk cli cracklib crypt cups dbus dri dts dvd encode firefox freetype gdbm gif glitz gpm hal iconv isdnlog jpeg latex lm_sensors midi mmx mp2 mp3 mudflap ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png pppd python readline reflection samba sdl session spl srt sse ssl startup-notification svg sysfs tcpd tetex tiff truetype unicode x x264 x86 xorg xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Paolo Pedroni 2008-10-23 16:04:17 UTC
Have you tried with a newer x11-drm (such as 20080710)? Works great for me.
Comment 10 Peng Liu 2008-10-24 03:17:16 UTC
Thank you, but I build myself a new upgrade PC and sold the old one with Ati card, so I can not test it any more.
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2008-10-24 06:48:59 UTC
Alright, closing then...