From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106671] Frequent lock ups for AMD RX 550 graphics card Date: Thu, 15 Nov 2018 02:51:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1843231419==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D78489EFF for ; Thu, 15 Nov 2018 02:51:29 +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 --===============1843231419== Content-Type: multipart/alternative; boundary="15422502890.8CC5cfe.28704" Content-Transfer-Encoding: 7bit --15422502890.8CC5cfe.28704 Date: Thu, 15 Nov 2018 02:51:29 +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=3D106671 --- Comment #36 from Alan W. Irwin --- (In reply to fin4478 from comment #35) > To prevent random kernel lock ups with Ryzen, enable RCU_NOCB_CPU in the > kernel configuration and boot the kernel with the rcu_nocbs=3D0-X command > line parameter. X is the cpu thread count -1. To fix this with bios, set = to > Typical Current Idle in the bios Advanced/AMD CBS menu. I was quickly able to verify all you said at and . So it appears all = Linux Ryzen owners should be aware of this "idle" issue and take the necessary workarounds, but despite over many months publicizing my Linux Ryzen troubl= es in a number of different Linux forums (including this bug report) and many different google searches I remained clueless about this bad Linux Ryzen situation until now. So many thanks for being the first to clue me in! It took me a while to figure out how to rebuild the latest Debian Buster ke= rnel (4.18.10) with RCU_NOCB_CPU enabled, but I have done that now and just rebo= oted with that custom kernel using the rcu_nocbs=3D0-15 kernel parameter (my Ryz= en 7 1700 has 8 cores and 16 threads). So my hopes are high that this step will clean up the lockup issues I have = been experiencing when my system was idling at night. But I have also experienc= ed lockups when the system was being used so the rcu_nocbs=3D0-15 workaround m= ay not be the sole step I have to take to stabilize my Linux Ryzen system. --=20 You are receiving this mail because: You are the assignee for the bug.= --15422502890.8CC5cfe.28704 Date: Thu, 15 Nov 2018 02:51:29 +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

Comme= nt # 36 on bug 10667= 1 from Alan W. Irwin
(In reply to fin4478 from comment #35)
> To prevent random kernel lock ups with Ryzen, en=
able RCU_NOCB_CPU in the
> kernel configuration  and boot the kernel with the rcu_nocbs=3D0-X com=
mand
> line parameter. X is the cpu thread count -1. To fix this with bios, s=
et to
> Typical Current Idle  in the bios Advanced/AMD CBS menu.

I was quickly able to verify all you said at
<https://community.a=
md.com/thread/225795> and
<https:=
//bugzilla.kernel.org/show_bug.cgi?id=3D196683>.  So it appears all =
Linux
Ryzen owners should be aware of this "idle" issue and take the ne=
cessary
workarounds, but despite over many months publicizing my Linux Ryzen troubl=
es
in a number of different Linux forums (including this bug report) and many
different google searches I remained clueless about this bad Linux Ryzen
situation until now.  So many thanks for being the first to clue me in!

It took me a while to figure out how to rebuild the latest Debian Buster ke=
rnel
(4.18.10) with RCU_NOCB_CPU enabled, but I have done that now and just rebo=
oted
with that custom kernel using the rcu_nocbs=3D0-15 kernel parameter (my Ryz=
en 7
1700 has 8 cores and 16 threads).

So my hopes are high that this step will clean up the lockup issues I have =
been
experiencing when my system was idling at night.  But I have also experienc=
ed
lockups when the system was being used so the rcu_nocbs=3D0-15 workaround m=
ay not
be the sole step I have to take to stabilize my Linux Ryzen system.


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