Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279177 - xf86-video-ati-6.12.1-r1 (r500 DRI) hard-freezes X randomly running Neverwinter Nights
Summary: xf86-video-ati-6.12.1-r1 (r500 DRI) hard-freezes X randomly running Neverwint...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-26 14:32 UTC by Stephen E. Baker
Modified: 2009-08-11 12:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen E. Baker 2009-07-26 14:32:06 UTC
While in game play in NWN the game will freeze and sound will stutter.  The keyboard does not respond to any key presses (eg. ctrl+alt+backspace)

If I ssh in I still cannot kill nwmain or X.  They both run at 100% cpu (dual core) and do not terminate on killall or kill -9.  (nwmain becomes a zombie but it still consumes 100% cpu)

Reproducible: Always

Steps to Reproduce:
The bug occurs while playing Neverwinter Nights, but not always in the same place.  I've gotten between 15 minutes and 2 hours in before it crashes.




messages.log of the crash:
Jul 25 23:27:27 goodt60 Uhhuh. NMI received for unknown reason a1 on CPU 0.
Jul 25 23:27:27 goodt60 You have some hardware problem, likely on the PCI bus.
Jul 25 23:27:27 goodt60 Dazed and confused, but trying to continue
Jul 25 23:30:01 goodt60 cron[24468]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jul 25 23:31:27 goodt60 sshd[24479]: Accepted keyboard-interactive/pam for stephen from 192.168.1.101 port 45568 ssh2
Jul 25 23:31:27 goodt60 sshd[24479]: pam_unix(sshd:session): session opened for user stephen by (uid=0)
Jul 25 23:37:32 goodt60 sudo:  stephen : TTY=pts/0 ; PWD=/home/stephen ; USER=root ; COMMAND=/usr/bin/killall X
Jul 25 23:37:32 goodt60 sudo: pam_unix(sudo:session): session opened for user root by stephen(uid=0)
Jul 25 23:37:32 goodt60 sudo: pam_unix(sudo:session): session closed for user root
Jul 25 23:39:46 goodt60 su[24559]: Successful su for root by stephen
Jul 25 23:39:46 goodt60 su[24559]: + pts/0 stephen:root
Jul 25 23:39:46 goodt60 su[24559]: pam_unix(su:session): session opened for user root by stephen(uid=1000)
Jul 25 23:40:02 goodt60 cron[24565]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jul 25 23:40:04 goodt60 mtrr: MTRR 2 not used
Jul 25 23:40:05 goodt60 BUG: unable to handle kernel NULL pointer dereference at 00000001
Jul 25 23:40:05 goodt60 IP: [<f8180009>] radeon_do_cp_idle+0x199/0x1f0 [radeon]
Jul 25 23:40:05 goodt60 *pde = 00000000 
Jul 25 23:40:05 goodt60 Oops: 0000 [#1] SMP 
Jul 25 23:40:05 goodt60 last sysfs file: /sys/class/power_supply/BAT0/energy_full
Jul 25 23:40:05 goodt60 Modules linked in: radeon usbhid usb_storage ehci_hcd uhci_hcd iwl3945 usbcore sg joydev
Jul 25 23:40:05 goodt60 
Jul 25 23:40:05 goodt60 Pid: 24364, comm: nwmain Not tainted (2.6.29-gentoo-r5 #1) 20077KU
Jul 25 23:40:05 goodt60 EIP: 0060:[<f8180009>] EFLAGS: 00010202 CPU: 0
Jul 25 23:40:05 goodt60 EIP is at radeon_do_cp_idle+0x199/0x1f0 [radeon]
Jul 25 23:40:05 goodt60 EAX: 00000001 EBX: f649dc00 ECX: 0003ffff EDX: 00027130
Jul 25 23:40:05 goodt60 ESI: f649c400 EDI: f649c400 EBP: f5cc7d08 ESP: f5cc7cf0
Jul 25 23:40:05 goodt60 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Jul 25 23:40:05 goodt60 Process nwmain (pid: 24364, ti=f5cc6000 task=f20bf660 task.ti=f5cc6000)
Jul 25 23:40:05 goodt60 Stack:
Jul 25 23:40:05 goodt60 00000282 f5caebe0 f649c4bc f649dc00 f649c400 f649dc00 f5cc7d28 f8180d36
Jul 25 23:40:05 goodt60 c0363ea1 f5caebe0 f5caebf4 f649c410 f649c400 f649c400 f5cc7d30 f818cf18
Jul 25 23:40:05 goodt60 f5cc7d54 c035ece9 f20a3ac0 00000286 00000008 00000282 f649c410 f6118af8
Jul 25 23:40:05 goodt60 Call Trace:
Jul 25 23:40:05 goodt60 [<f8180d36>] ? radeon_do_release+0xc6/0x130 [radeon]
Jul 25 23:40:05 goodt60 [<c0363ea1>] ? drm_master_destroy+0x101/0x120
Jul 25 23:40:05 goodt60 [<f818cf18>] ? radeon_driver_lastclose+0x8/0x10 [radeon]
Jul 25 23:40:05 goodt60 [<c035ece9>] ? drm_lastclose+0x29/0x2c0
Jul 25 23:40:05 goodt60 [<c035f4f4>] ? drm_release+0x354/0x4f0
Jul 25 23:40:05 goodt60 [<c01824e2>] ? __fput+0xb2/0x1b0
Jul 25 23:40:05 goodt60 [<c01825ff>] ? fput+0x1f/0x30
Jul 25 23:40:05 goodt60 [<c017f647>] ? filp_close+0x47/0x70
Jul 25 23:40:05 goodt60 [<c012b3c0>] ? put_files_struct+0xa0/0xc0
Jul 25 23:40:05 goodt60 [<c012b421>] ? exit_files+0x41/0x50
Jul 25 23:40:05 goodt60 [<c012ce7f>] ? do_exit+0x5cf/0x760
Jul 25 23:40:05 goodt60 [<c0120a9b>] ? dequeue_task_fair+0x3b/0x1d0
Jul 25 23:40:05 goodt60 [<c013395e>] ? recalc_sigpending+0xe/0x40
Jul 25 23:40:05 goodt60 [<c013663b>] ? dequeue_signal+0x2b/0x1a0
Jul 25 23:40:05 goodt60 [<c0113f93>] ? lapic_next_event+0x13/0x20
Jul 25 23:40:05 goodt60 [<c012d043>] ? do_group_exit+0x33/0xa0
Jul 25 23:40:05 goodt60 [<c0136b46>] ? get_signal_to_deliver+0x166/0x370
Jul 25 23:40:05 goodt60 [<c01025e9>] ? do_notify_resume+0x99/0x8b0
Jul 25 23:40:05 goodt60 [<c0145723>] ? getnstimeofday+0x53/0x120
Jul 25 23:40:05 goodt60 [<c02d3ba6>] ? copy_to_user+0x36/0x130
Jul 25 23:40:05 goodt60 [<c01412eb>] ? hrtimer_nanosleep+0x12b/0x170
Jul 25 23:40:05 goodt60 [<c0140890>] ? hrtimer_wakeup+0x0/0x20
Jul 25 23:40:05 goodt60 [<c0141390>] ? sys_nanosleep+0x60/0x70
Jul 25 23:40:05 goodt60 [<c010347e>] ? work_notifysig+0x13/0x19
Jul 25 23:40:05 goodt60 Code: 82 03 00 00 00 40 21 c8 e9 47 ff ff ff 90 8d 74 26 00 8b 83 e4 00 00 00 8b 40 10 8b 00 e9 ae fe ff ff 8b 83 e4 00 00 00 8b 40 10 <8b> 00 e9 6b ff ff ff c7 44 24 04 d2 5a 19 f8 c7 04 24 71 67 19 
Jul 25 23:40:05 goodt60 EIP: [<f8180009>] radeon_do_cp_idle+0x199/0x1f0 [radeon] SS:ESP 0068:f5cc7cf0
Jul 25 23:40:05 goodt60 ---[ end trace 102836e0b42b5cbd ]---
Jul 25 23:40:05 goodt60 Fixing recursive fault but reboot is needed!
Jul 25 23:40:05 goodt60 kdm[8052]: X server for display :0 terminated unexpectedly
Jul 25 23:40:05 goodt60 su[9287]: pam_unix(su:session): session closed for user root
Jul 25 23:40:05 goodt60 su[23811]: pam_unix(su:session): session closed for user root
Jul 25 23:40:05 goodt60 kdm: :0[8159]: pam_unix(kde:session): session closed for user stephen
Jul 25 23:40:05 goodt60 acpid: client 8105[0:0] has disconnected
Jul 25 23:40:05 goodt60 acpid: client connected from 24579[0:0]
Jul 25 23:40:05 goodt60 acpid: 1 client rule loaded
Jul 25 23:40:20 goodt60 kdm[8052]: X server startup timeout, terminating
Jul 25 23:40:35 goodt60 kdm[8052]: X server termination timeout, killing
Jul 25 23:40:46 goodt60 kdm[8052]: X server is stuck in D state; leaving it alone
Jul 25 23:40:46 goodt60 kdm[8052]: X server for display :0 cannot be started, session disabled


emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686)                                                                                               
=================================================================                                 
System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-glibc2.0    
Timestamp of tree: Sun, 26 Jul 2009 01:30:01 +0000                                                
ccache version 2.4 [enabled]                                                                      
app-shells/bash:     3.2_p39                                                                      
dev-java/java-config: 2.1.8-r1                                                                    
dev-lang/python:     2.5.4-r3                                                                     
dev-util/ccache:     2.4-r7                                                                       
dev-util/cmake:      2.6.4                                                                        
sys-apps/baselayout: 1.12.11.1                                                                    
sys-apps/sandbox:    1.6-r2                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                   
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                    
sys-devel/binutils:  2.18-r3                                                                      
sys-devel/gcc-config: 1.4.1                                                                       
sys-devel/libtool:   1.5.26                                                                       
virtual/os-headers:  2.6.27-r2                                                                    
ACCEPT_KEYWORDS="x86"                                                                             
CBUILD="i686-pc-linux-gnu"                                                                        
CFLAGS="-march=core2 -O2 -g"                                                                      
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"                                                                                            
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                  
CXXFLAGS="-march=core2 -O2 -g"                                                                    
DISTDIR="/usr/portage/distfiles"                                                                  
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                               
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles http://cdot.senecac.on.ca/software/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"                                                                                          
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/layman/interactive-fiction /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amarok apache2 bash-completion berkdb bittorrent bzip2 cairo cdda cddb cdr cli cracklib crypt cscope cups curl dbus dio dri dvd dvdr dvdread encode fam ffmpeg firefox fortran gdbm gif gpm gtk hal htmlhandbook iconv icq imagemagick ipod ipv6 isdnlog java java5 javascript joystick jpeg jpeg2k kde kmid kpathsea libnotify libwww midi mikmod mmx mmxext mng mozdevelop mp3 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp oscar pam pcmcia pcre pdf perl plasma png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection samda sdl session spell spl sse sse2 ssl subversion svg sysfs tcpd tetex threads truetype unicode usb videos vim-syntax vorbis wifi win32codecs wma wxwindows x86 xine xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-07-27 14:05:15 UTC
Try updating to the 6.12.2 or even better 6.12.2-r1.
Also try updating your mesa to 7.5.

If those versions wont help please report to bugs.freedesktop.org. Where the upstream guys will hopefully have the knowledge to help you :]
Comment 2 Stephen E. Baker 2009-07-27 16:28:44 UTC
Updated to 6.12.2, so far I have not encountered the problem since (after about 4 hours of play)
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-07-27 20:15:11 UTC
Great. I will leave this open, but please consider closing it when you really make sure that the current version of the driver works for you.
Comment 4 Stephen E. Baker 2009-07-29 23:44:56 UTC
After about 5 hours of play my screen suddenly went black.  I couldn't ssh in and there was nothing about it in messages after I restarted.  This is probably not the same issue though, and has only happened once.

(Of course due to the nature of it I can't get much information about that issue)
Comment 5 Stephen E. Baker 2009-07-30 16:34:16 UTC
Nope, I'm still getting the original freeze as well :(

I'll try updating mesa now.
Comment 6 Stephen E. Baker 2009-08-10 16:47:05 UTC
I'm having some trouble figuring out how to report this issue upstream.  bugs.freedesktop.org doesn't list Mesa versions beyond 7.2; and I'm not certain about the component.  Does anyone have some experience with their bug tracker that could help me out?
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-10 16:59:53 UTC
Dude 5 hours of play... :DD I would like to have so much time, wait i have i spent it in gentoo :D

Okey for the bugzie:
Just use predefined variables, they can click/configure it better later when needed. :]
Comment 8 Stephen E. Baker 2009-08-10 19:34:28 UTC
Yeah, that was rare weekend; usually I just have enough time to run a sync and start an update world.

Anyway I posted the issue upstream, so I guess it doesn't belong here anymore.
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-10 19:49:07 UTC
Well you should add the link to upstream bug. And reopen it when they fix it, so we can fastpatch it for you.

Or you can leave it this way and wait for next upstream release.

Your choice :]
Comment 10 Stephen E. Baker 2009-08-11 12:16:29 UTC
Upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=23240