From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104437] RX480 + SME = amdgpu init failed + null dereference Date: Mon, 01 Jan 2018 16:20:53 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0113494667==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id A918389701 for ; Mon, 1 Jan 2018 16:20:53 +0000 (UTC) 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 --===============0113494667== Content-Type: multipart/alternative; boundary="15148236530.8A17b1.6643"; charset="UTF-8" --15148236530.8A17b1.6643 Date: Mon, 1 Jan 2018 16:20:53 +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=3D104437 Bug ID: 104437 Summary: RX480 + SME =3D amdgpu init failed + null dereference Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: ace@sannes.org Created attachment 136470 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136470&action=3Dedit dmesg when not working When upgrading from linux 4.13.x -> 4.14.x the amdgpu failed to come up, of= ten hanging my desktop computer. Ending the amdgpg bring up with: [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=3D0xCAFEDEAD) [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block fa= iled -22 amdgpu 0000:0a:00.0: amdgpu_init failed After getting some help in #radeon we figured out that the culprit was that= I had enabled SME (which the CPU Ryzen X1800 support). Got the same error on 4.15-rc6, but with additional null dereference in DC code. --=20 You are receiving this mail because: You are the assignee for the bug.= --15148236530.8A17b1.6643 Date: Mon, 1 Jan 2018 16:20:53 +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
Bug ID 104437
Summary RX480 + SME =3D amdgpu init failed + null dereference
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter ace@sannes.org

Created attachment 136470=
 [details]
dmesg when not working

When upgrading from linux 4.13.x -> 4.14.x the amdgpu failed to come up,=
 often
hanging my desktop computer.

Ending the amdgpg bring up with:
[drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed
(scratch(0xC040)=3D0xCAFEDEAD)
[drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <gfx_v8_0&=
gt; failed
-22
amdgpu 0000:0a:00.0: amdgpu_init failed


After getting some help in #radeon we figured out that the culprit was that=
 I
had enabled SME (which the CPU Ryzen X1800 support).


Got the same error on 4.15-rc6, but with additional null dereference in DC
code.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15148236530.8A17b1.6643-- --===============0113494667== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0113494667==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104437] RX480 + SME = amdgpu init failed + null dereference Date: Sat, 15 Jun 2019 16:21:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1864444748==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 58F11892C9 for ; Sat, 15 Jun 2019 16:21:21 +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 --===============1864444748== Content-Type: multipart/alternative; boundary="15606156812.B0Fd1Efca.25722" Content-Transfer-Encoding: 7bit --15606156812.B0Fd1Efca.25722 Date: Sat, 15 Jun 2019 16:21:21 +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=3D104437 --- Comment #1 from Nick Sarnie --- Created attachment 144553 --> https://bugs.freedesktop.org/attachment.cgi?id=3D144553&action=3Dedit dmesg_sme.txt Same issue using 5.1.9, RX Vega 64 and Ryzen 2700x. [ 19.998488] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block failed -12 [ 19.998490] amdgpu 0000:0c:00.0: amdgpu_device_ip_init failed [ 19.998492] amdgpu 0000:0c:00.0: Fatal error during GPU init [ 19.998493] [drm] amdgpu: finishing device. [ 19.998601] [drm] amdgpu: ttm finalized I've attached my dmesg as well. Thanks, Sarnex --=20 You are receiving this mail because: You are the assignee for the bug.= --15606156812.B0Fd1Efca.25722 Date: Sat, 15 Jun 2019 16:21:21 +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 # 1 on bug 10443= 7 from = Nick Sarnie
Created attachment 144553 [details]
dmesg_sme.txt

Same issue using 5.1.9, RX Vega 64 and Ryzen 2700x.

[   19.998488] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP
block <vega10_ih> failed -12
[   19.998490] amdgpu 0000:0c:00.0: amdgpu_device_ip_init failed
[   19.998492] amdgpu 0000:0c:00.0: Fatal error during GPU init
[   19.998493] [drm] amdgpu: finishing device.
[   19.998601] [drm] amdgpu: ttm finalized


I've attached my dmesg as well.

Thanks,
Sarnex


You are receiving this mail because:
  • You are the assignee for the bug.
= --15606156812.B0Fd1Efca.25722-- --===============1864444748== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1864444748==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104437] RX480 + SME = amdgpu init failed + null dereference Date: Mon, 17 Jun 2019 09:09:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0923149500==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 729D489192 for ; Mon, 17 Jun 2019 09:09:07 +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 --===============0923149500== Content-Type: multipart/alternative; boundary="15607625472.Ffa156.16281" Content-Transfer-Encoding: 7bit --15607625472.Ffa156.16281 Date: Mon, 17 Jun 2019 09:09:07 +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=3D104437 --- Comment #2 from Michel D=C3=A4nzer --- (In reply to Nick Sarnie from comment #1) >=20 > Same issue [...] The symptoms are clearly different, therefore please file your own report. --=20 You are receiving this mail because: You are the assignee for the bug.= --15607625472.Ffa156.16281 Date: Mon, 17 Jun 2019 09:09:07 +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 # 2 on bug 10443= 7 from Michel D=C3=A4nzer
(In reply to Nick Sarnie from comment #1)
>=20
> Same issue [...]

The symptoms are clearly different, therefore please file your own report.<=
/pre>
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15607625472.Ffa156.16281-- --===============0923149500== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0923149500==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104437] RX480 + SME = amdgpu init failed + null dereference Date: Mon, 17 Jun 2019 22:22:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1544579781==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F22189FC8 for ; Mon, 17 Jun 2019 22:22:30 +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 --===============1544579781== Content-Type: multipart/alternative; boundary="15608101501.3E7708c.30532" Content-Transfer-Encoding: 7bit --15608101501.3E7708c.30532 Date: Mon, 17 Jun 2019 22:22:30 +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=3D104437 --- Comment #3 from Nick Sarnie --- Sorry, filed https://bugs.freedesktop.org/show_bug.cgi?id=3D110929 --=20 You are receiving this mail because: You are the assignee for the bug.= --15608101501.3E7708c.30532 Date: Mon, 17 Jun 2019 22:22:30 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15608101501.3E7708c.30532-- --===============1544579781== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1544579781==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104437] RX480 + SME = amdgpu init failed + null dereference Date: Tue, 19 Nov 2019 08:28:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1387438001==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 765646EA81 for ; Tue, 19 Nov 2019 08:28:10 +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 --===============1387438001== Content-Type: multipart/alternative; boundary="15741520901.00aa1.17962" Content-Transfer-Encoding: 7bit --15741520901.00aa1.17962 Date: Tue, 19 Nov 2019 08:28:10 +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=3D104437 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED --- Comment #4 from Martin Peres --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/285. --=20 You are receiving this mail because: You are the assignee for the bug.= --15741520901.00aa1.17962 Date: Tue, 19 Nov 2019 08:28:10 +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 <= span class=3D"fn">Martin Peres changed bug 10443= 7
What Removed Added
Status NEW RESOLVED
Resolution --- MOVED

Commen= t # 4 on bug 10443= 7 from Martin Peres
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/285.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15741520901.00aa1.17962-- --===============1387438001== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1387438001==--