<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102322#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102322">bug 102322</a>
from <span class="vcard"><a class="email" href="mailto:andrey.grodzovsky@amd.com" title="Andrey Grodzovsky <andrey.grodzovsky@amd.com>"> <span class="fn">Andrey Grodzovsky</span></a>
</span></b>
<pre>Can you use addr2line or gdb with 'list' command to give the line number
matching (In reply to dwagner from <a href="show_bug.cgi?id=102322#c18">comment #18</a>)
<span class="quote">> The good news: So far no crashes during normal uptime with
> amdgpu.vm_update_mode=3
>
> The bad news: System crashes immediately upon S3 resume (with messages quite
> different from the ones I saw with earlier S3-resume crashes) - I filed bug
> report <a class="bz_bug_link
bz_status_NEW "
title="NEW - "BUG: unable to handle kernel paging request at 0000000000002000" at amdgpu_vm_cpu_set_ptes at S3 resume"
href="show_bug.cgi?id=107065">https://bugs.freedesktop.org/show_bug.cgi?id=107065</a> on this.
>
> (In reply to Andrey Grodzovsky from <a href="show_bug.cgi?id=102322#c17">comment #17</a>)
> > dwagner, this is obviously just a work around and not a fix. It points to
> > some problem with SDMA packets, if you want to continue exploring we can try
> > to dump some fence traces and SDMA HW ring content to examine the latest
> > packets before the hang happened.
>
> If you can include some debug output into "amd-staging-drm-next" that helps
> finding the root cause, I might be able to provide some output - if the
> kernel survives long enough after the crash to write the system journal -
> this has not always been the case.</span >
No need to recompile, just need to see what is the content of SDMA ring buffer
when the hang occurs.
Clone and build our register analyzer from here -
<a href="https://cgit.freedesktop.org/amd/umr/">https://cgit.freedesktop.org/amd/umr/</a> and once the hang happens just run
sudo umr -lb
sudo umr -R gfx[.]
sudo umr -R sdma0[.]
sudo umr -R sdma1[.]
I will probably need more info later but let's try this first.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>