https://bugzilla.kernel.org/show_bug.cgi?id=32402
Summary: Oops associated with radeon_unpin_work_func Product: Drivers Version: 2.5 Kernel Version: 2.6.38.2 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: high Priority: P1 Component: Video(DRI - non Intel) AssignedTo: drivers_video-dri@kernel-bugs.osdl.org ReportedBy: smf.linux@ntlworld.com Regression: No
If this system (LFS build) is left idle for several hours with xscreensaver running(don't currently know which screen saver app. I am assuming one of the Mesa 3D ones) the system will oops. The system is locked solid and there is no trace in messages.old on reboot. The attached jpg is a photo of the screen at system failure. I first noticed the problem in 2.6.38-rc8 but have waited until now to report the problem in the hope of obtaining a more repeatable scenario.
Version info:
Xorg server 1.10.0 Xorg ati driver 6.14.1 libdrm-2.4.24 Mesa-7.10.1
Processor AMD Phenom(tm) II X4 940 Processor
Linux Andromeda 2.6.38.2 #1 SMP Mon Mar 28 22:17:13 BST 2011 i686 athlon-4 i386 GNU/Linux
Gnu C 4.6.0 Gnu make 3.81 binutils 2.21 util-linux 2.14.1 mount support module-init-tools 3.5 e2fsprogs 1.41.4 Linux C Library 2.13 Dynamic linker (ldd) 2.13 Linux C++ Library 6.0.15 Procps 3.2.7 Net-tools 1.60 Kbd 1.15 Sh-utils 7.4 Modules Loaded md4 md5 hmac cryptomgr aead nls_cp437 cifs crypto_hash crypto_algapi microcode nfs fscache nfsd lockd sunrpc exportfs fuse usbhid firewire_ohci sr_mod sg firewire_core cdrom psmouse i2c_piix4 crc_itu_t button vboxnetflt fifo splitter ohci_hcd ehci_hcd usbcore nls_base vboxnetadp snd_hda_codec_hdmi snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hwdep snd_pcm snd_page_alloc snd_timer snd soundcore brd loop asus_atk0110 powernow_k8 processor thermal_sys mperf pata_atiixp vboxdrv sky2 rtc eeprom unix
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #1 from Stuart Foster smf.linux@ntlworld.com 2011-03-31 23:20:17 --- Created an attachment (id=52822) --> (https://bugzilla.kernel.org/attachment.cgi?id=52822) Console screen on oops.
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #2 from Stuart Foster smf.linux@ntlworld.com 2011-04-01 08:12:41 --- Created an attachment (id=52952) --> (https://bugzilla.kernel.org/attachment.cgi?id=52952) lspci -v details
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Mike Mestnik cheako911@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cheako911@gmail.com
--- Comment #3 from Mike Mestnik cheako911@gmail.com 2011-04-04 22:59:26 --- Vary similar OOPS after hitting (esc) in Google-Crome to exit full screen video.
This was the URL: http://www.animemusicvideos.org/members/members_vidpreview.php?v=177083
As one could assume I maximized the video and then watched it to completion. After I pressed the esc key I got this BSOD.
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #4 from Mike Mestnik cheako911@gmail.com 2011-04-04 23:11:44 --- Created an attachment (id=53492) --> (https://bugzilla.kernel.org/attachment.cgi?id=53492) KMS-BSOD
ttm_bo_ref -> do_invalid_op
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #5 from Mike Mestnik cheako911@gmail.com 2011-04-04 23:14:18 --- Created an attachment (id=53502) --> (https://bugzilla.kernel.org/attachment.cgi?id=53502) SystemInformation.txt
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #6 from Mike Mestnik cheako911@gmail.com 2011-04-04 23:17:14 --- Created an attachment (id=53512) --> (https://bugzilla.kernel.org/attachment.cgi?id=53512) SoftwareInformation.txt
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #7 from Alex Deucher alexdeucher@gmail.com 2011-04-06 14:26:32 --- Does reverting 69a07f0b117a40fcc1a479358d8e1f41793617f2 help?
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #8 from Alex Deucher alexdeucher@gmail.com 2011-04-06 14:27:43 --- Possibly related to this: http://lists.freedesktop.org/archives/dri-devel/2011-April/009939.html
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #9 from Stuart Foster smf.linux@ntlworld.com 2011-04-07 07:37:49 --- (In reply to comment #7)
Does reverting 69a07f0b117a40fcc1a479358d8e1f41793617f2 help?
Applied git revert to 2.6.39-rc2. Problem still present.
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Adriano adriano.vilela@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adriano.vilela@yahoo.com
--- Comment #10 from Adriano adriano.vilela@yahoo.com 2011-04-14 14:11:32 --- I'm having this problem too with kernel 2.6.38 series. As soon as my screen saver kicks in, my entire desktop gets corrupted. If I wait long enough for my screen to stand by or suspend (just the screen, not the computer), then the computer completely freezes. I'm not sure if I can add attachments to bugs reported by others; if so, I would be happy to attach a picture with the error messages.
Please, let me know how I can help with this issue.
Thank you,
Adriano
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #11 from Adriano adriano.vilela@yahoo.com 2011-04-16 21:08:04 --- An update: at least in my case, the problem seems to be related to page flipping in the radeon driver. I have disabled page flipping in my xorg.conf file and haven't seen the problem since.
Here's some related links: https://bugs.freedesktop.org/show_bug.cgi?id=35452 https://bugs.gentoo.org/show_bug.cgi?id=359569
I would first see the heavy screen corruption described in the second link above, and only later the kernel oops described in this bug report.
I'm sorry if my problem isn't directly related to this bug report, but the oops message is very similar to the one I was getting.
Thank you,
Adriano
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #12 from Mike Mestnik cheako911@gmail.com 2011-04-16 21:28:03 --- On 04/16/11 16:08, bugzilla-daemon@bugzilla.kernel.org wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #11 from Adriano adriano.vilela@yahoo.com 2011-04-16 21:08:04 --- An update: at least in my case, the problem seems to be related to page flipping in the radeon driver. I have disabled page flipping in my xorg.conf file and haven't seen the problem since.
Thank you for the update I haven’t seen this problem in a while and since then I've upgraded kernel and xorg/mesa.
I have another issue that I'm sure is unrelated where my system locks up(no network not I/O) if I'm not running at least 3 facebook games: deeprealms, castle_age and sororitylife.
Here's some related links: https://bugs.freedesktop.org/show_bug.cgi?id=35452 https://bugs.gentoo.org/show_bug.cgi?id=359569
I would first see the heavy screen corruption described in the second link above, and only later the kernel oops described in this bug report.
I'm sorry if my problem isn't directly related to this bug report, but the oops message is very similar to the one I was getting.
Thank you,
Adriano
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Stuart Foster smf.linux@ntlworld.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |smf.linux@ntlworld.com Kernel Version|2.6.38.2 |2.6.39
--- Comment #13 from Stuart Foster smf.linux@ntlworld.com 2011-05-19 13:04:45 --- Just a quick update to report that the fault is also present in the 2.6.39 kernel.
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #14 from Dave Airlie airlied@linux.ie 2011-05-29 08:30:09 --- Created an attachment (id=59922) --> (https://bugzilla.kernel.org/attachment.cgi?id=59922) proposed fix.
hopefully this fixes this, let me know.
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Dave Airlie airlied@linux.ie changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rossi.f@inwind.it
--- Comment #15 from Dave Airlie airlied@linux.ie 2011-05-29 08:30:51 --- *** Bug 29942 has been marked as a duplicate of this bug. ***
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Dave Airlie airlied@linux.ie changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59922|0 |1 is obsolete| |
--- Comment #16 from Dave Airlie airlied@linux.ie 2011-05-29 10:09:15 --- Created an attachment (id=59942) --> (https://bugzilla.kernel.org/attachment.cgi?id=59942) proposed fix 2. against 2.6.39
try again + fix error paths.
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Dave Airlie airlied@linux.ie changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas@m3y3r.de
--- Comment #17 from Dave Airlie airlied@linux.ie 2011-05-29 10:24:05 --- *** Bug 33222 has been marked as a duplicate of this bug. ***
https://bugzilla.kernel.org/show_bug.cgi?id=32402
--- Comment #18 from Stuart Foster smf.linux@ntlworld.com 2011-05-30 08:00:45 --- (In reply to comment #16)
Created an attachment (id=59942)
--> (https://bugzilla.kernel.org/attachment.cgi?id=59942) [details]
proposed fix 2. against 2.6.39
try again + fix error paths.
Ran the patch on 2.6.39 overnight (~9 hours) and there have been no problems the problem looks fixed for me.
thanks
Stuart
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Florian Mickler florian@mickler.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |florian@mickler.org
--- Comment #19 from Florian Mickler florian@mickler.org 2011-06-14 11:21:05 --- A patch referencing this bug report has been merged in v3.0-rc3:
commit 498c555f56a02ec1059bc150cde84411ba0ac010 Author: Dave Airlie airlied@redhat.com Date: Sun May 29 17:48:32 2011 +1000
drm/radeon: fix oops in ttm reserve when pageflipping (v2)
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Florian Mickler florian@mickler.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |CODE_FIX
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Florian Mickler florian@mickler.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
https://bugzilla.kernel.org/show_bug.cgi?id=32402
lukenshiro@ngi.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lukenshiro@ngi.it
--- Comment #20 from lukenshiro@ngi.it 2011-06-26 12:57:58 --- *** Bug 38232 has been marked as a duplicate of this bug. ***
https://bugzilla.kernel.org/show_bug.cgi?id=32402
Frédéric L. W. Meunier others@fredlwm.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |others@fredlwm.net
--- Comment #21 from Frédéric L. W. Meunier others@fredlwm.net 2011-07-10 23:13:42 --- Will this patch be pushed to the 2.6.39 series ? I don't see it in 2.6.39.3. I got a similar crash with 2.6.39.2, but it's strange that before moving to x86_64 and having to use an old Flash version (10.2p3 111710), because Adobe only make releases for x86, I never experienced the kernel panic. Aside the Flash version, the configuration was identical.
dri-devel@lists.freedesktop.org