From: bugzilla-daemon@freedesktop.org Subject: [Bug 100465] Hard lockup with radeonsi driver on FirePro W600, W9000 and W9100 Date: Mon, 10 Apr 2017 10:03:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1910228896==" 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 024156E2C4 for ; Mon, 10 Apr 2017 10:03:59 +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 --===============1910228896== Content-Type: multipart/alternative; boundary="14918186380.B2129CAC.14552"; charset="UTF-8" --14918186380.B2129CAC.14552 Date: Mon, 10 Apr 2017 10:03:58 +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=3D100465 --- Comment #12 from Julien Isorce --- Thx for the answers and suggestions. In order to make sure I am still track= ing the same hard lockup, will any failure to load the gpu microcode will lead = to a total freeze of the machine ? Currently in the setup where I can get some logs it can fail in 2 ways: For both it starts with: "ring 0 stalled" is detected. 1: kworker triggers the gpu soft reset. [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5s= ecs aborting. [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C= 483 (len 254, WS 0, PS 4) @ 0xC4AD [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing B= C59 (len 74, WS 0, PS 8) @ 0xBC8E si_mc_program::radeon_mc_wait_for_idle, the one after WREG32(vram.start) and before=20 evergreen_mc_resume. Can it freeze on a call to RREG32(SRBM_STATUS) & 0x1F0= 0 ? 2: the gl app triggers the gpu soft reset. The first failure is then evergreen_mc_stop::radeon_mc_wait_for_idle which reached the timeout and then same errors as 1: But the freeze happens a bit later in the radeon_gpu_reset sequence, in atombios_crtc_dpms in one of its atombios_X(crtc, ATOM_Y) calls. So my question above, will any single problem during the gpu soft reset lea= d to a machine freeze ? If yes then I am probably tracking now a different freeze that the one I reported initially. Also in kernel's drm_drv.c::drm_err I tried to add a call to sys_sync(); (#include ) to make sure all errors are written on disk so that I can read them after a reboot (Instead of having null characters ^@).= But I got an undefined reference. How could I add dependcy on fs/sync.c ? I have not search long but at first glance tty driver calls it and there is nothing special in the Makefile. (As an alternative I am running a while true; sleep 0.5; sync; done but it = does not work all the time) Thx! --=20 You are receiving this mail because: You are the assignee for the bug.= --14918186380.B2129CAC.14552 Date: Mon, 10 Apr 2017 10:03:58 +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 # 12 on bug 10046= 5 from Julien Isorce
Thx for the answers and suggestions. In order to make sure I a=
m still tracking
the same hard lockup, will any failure to load the gpu microcode will lead =
to a
total freeze of the machine ?

Currently in the setup where I can get some logs it can fail in 2 ways:

For both it starts with: "ring 0 stalled" is detected.

1: kworker triggers the gpu soft reset.

[drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5s=
ecs
aborting.
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C=
483
(len 254, WS 0, PS 4) @ 0xC4AD
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing B=
C59
(len 74, WS 0, PS 8) @ 0xBC8E
si_mc_program::radeon_mc_wait_for_idle, the one after WREG32(vram.start) and
before=20
evergreen_mc_resume. Can it freeze on a call to RREG32(SRBM_STATUS) & 0=
x1F00 ?

2: the gl app triggers the gpu soft reset.

The first failure is then evergreen_mc_stop::radeon_mc_wait_for_idle which
reached the timeout and then same errors as 1:
But the freeze happens a bit later in the radeon_gpu_reset sequence, in
atombios_crtc_dpms in one of its atombios_X(crtc, ATOM_Y) calls.

So my question above, will any single problem during the gpu soft reset lea=
d to
a machine freeze ? If yes then I am probably tracking now a different freeze
that the one I reported initially.

Also in kernel's drm_drv.c::drm_err I tried to add a call to sys_sync();
(#include <linux/syscalls.h>) to make sure all errors are written on =
disk so
that I can read them after a reboot (Instead of having null characters ^=
4;). But
I got an undefined reference. How could I add dependcy on fs/sync.c ? I have
not search long but at first glance tty driver calls it and there is nothing
special in the Makefile.
(As an alternative I am running a while true; sleep 0.5; sync; done but it =
does
not work all the time)

Thx!


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