From: bugzilla-daemon@freedesktop.org Subject: [Bug 100964] RX-480 [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD) Date: Sun, 13 Aug 2017 01:29:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1018313043==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id ACFAA6E019 for ; Sun, 13 Aug 2017 01:29:38 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1018313043== Content-Type: multipart/alternative; boundary="15025877781.Cebf.29027"; charset="UTF-8" --15025877781.Cebf.29027 Date: Sun, 13 Aug 2017 01:29:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D100964 --- Comment #6 from Maxim Cournoyer --- Hi! I have the exact same issue ``[drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=3D0xCAFEDEAD)`` with a = R9 285 GPU. I've had this problems for ages and had been using nomodeset to get by. I'm trying this on Debian 9 (stretch), with kernel ``Linux debian 4.9.0-3-a= md64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux``. I've attached the full dmesg. The interesting thing is that this seems to be related to the motherboard; = when using the very same card (R9 285) in another system, *with the same softwar= e* (Debian 9), it works! It is not a hardware problem: the power supply is bra= nd new (Seasonic G550W), the RAM tests fine, the SSD is brand new, the CMOS battery too, etc. The problem occurs on Asus M2N SLI Deluxe motherboard based system; and it disappears when using it with an equally old Asus P5W DH Deluxe based syste= m. I notice there is a message saying that the clock source is unstable right before the error occurs; could it be related? Here is an excerpt of the dmesg:=20 [ 11.552754]=20 failed to send pre message 5b ret is 0=20 [ 11.748489]=20 failed to send message 5b ret is 0=20 [ 11.748536] clocksource: timekeeping watchdog on CPU0: Marking clocksour= ce 'tsc' as unstable because the skew is too large: [ 11.748538] clocksource: 'acpi_pm' wd_now: f69088 wd_last: ba62a0 mask: ffffff [ 11.748539] clocksource: 'tsc' cs_now: 167976623b cs_last: 12698f30d7 mask: ffffffffffffffff [ 11.957731] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=3D0xCAFEDEAD) [ 11.957840] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block failed -22 [ 11.957879] amdgpu 0000:03:00.0: amdgpu_init failed [ 12.171671]=20 failed to send pre message 133 ret is 0=20 [ 12.385424]=20 failed to send message 133 ret is 0=20 [ 12.385433] DPM is not running right now, no need to disable DPM! [ 12.386774] clocksource: Switched to clocksource acpi_pm [ 12.772038] I can provide dmesg from the working system (using the same software with t= he same card) if judged useful. --=20 You are receiving this mail because: You are the assignee for the bug.= --15025877781.Cebf.29027 Date: Sun, 13 Aug 2017 01:29:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 6 on bug 10096= 4 from Maxim Cournoyer
Hi! I have the exact same issue ``[drm:gfx_v8_0_ring_test_ring=
 [amdgpu]]
*ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=3D0xCAFEDEAD)`` with a =
R9 285
GPU. I've had this problems for ages and had been using nomodeset to get by.

I'm trying this on Debian 9 (stretch), with kernel ``Linux debian 4.9.0-3-a=
md64
#1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux``. I've attached
the full dmesg.

The interesting thing is that this seems to be related to the motherboard; =
when
using the very same card (R9 285) in another system, *with the same softwar=
e*
(Debian 9), it works! It is not a hardware problem: the power supply is bra=
nd
new (Seasonic G550W), the RAM tests fine, the SSD is brand new, the CMOS
battery too, etc.

The problem occurs on Asus M2N SLI Deluxe motherboard based system; and it
disappears when using it with an equally old Asus P5W DH Deluxe based syste=
m.

I notice there is a message saying that the clock source is unstable right
before the error occurs; could it be related?

Here is an excerpt of the dmesg:=20
[   11.552754]=20
                failed to send pre message 5b ret is 0=20
[   11.748489]=20
                failed to send message 5b ret is 0=20
[   11.748536] clocksource: timekeeping watchdog on CPU0: Marking clocksour=
ce
'tsc' as unstable because the skew is too large:
[   11.748538] clocksource:                       'acpi_pm' wd_now: f69088
wd_last: ba62a0 mask: ffffff
[   11.748539] clocksource:                       'tsc' cs_now: 167976623b
cs_last: 12698f30d7 mask: ffffffffffffffff
[   11.957731] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0
test failed (scratch(0xC040)=3D0xCAFEDEAD)
[   11.957840] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block
<gfx_v8_0> failed -22
[   11.957879] amdgpu 0000:03:00.0: amdgpu_init failed
[   12.171671]=20
                failed to send pre message 133 ret is 0=20
[   12.385424]=20
                failed to send message 133 ret is 0=20
[   12.385433] DPM is not running right now, no need to disable DPM!
[   12.386774] clocksource: Switched to clocksource acpi_pm
[   12.772038]

I can provide dmesg from the working system (using the same software with t=
he
same card) if judged useful.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15025877781.Cebf.29027-- --===============1018313043== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1018313043==--