<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash on amdgpu_sync_get_fence"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104299#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash on amdgpu_sync_get_fence"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104299">bug 104299</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>(In reply to higuita from <a href="show_bug.cgi?id=104299#c9">comment #9</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=136400" name="attach_136400" title="dmesg oops with kasan 2">attachment 136400</a> <a href="attachment.cgi?id=136400&action=edit" title="dmesg oops with kasan 2">[details]</a></span>
> dmesg oops with kasan 2
>
> Another crash, this time in RUST, just to see if it helps in any way
>
> i know how to build stuff, but i have no idea how to debug the kernel :)
>
> can you please give me some pointers how to find and give you the needed
> info?</span >
NP, check answer here
<a href="https://stackoverflow.com/questions/13468286/how-to-read-understand-analyze-and-debug-a-linux-kernel-panicand">https://stackoverflow.com/questions/13468286/how-to-read-understand-analyze-and-debug-a-linux-kernel-panicand</a>
to obtain the function address within your amdgpu.ko just do
nm -C drivers/gpu/drm/amd/amdgpu/amdgpu.ko | grep amdgpu_sync_get_fence
nm -C drivers/gpu/drm/amd/amdgpu/amdgpu.ko | grep amdgpu_sync_resv
The offset into the function you can see from the dmesg dump
amdgpu_sync_get_fence+0x91/0xe0 so 91 is the offset
Thanks,
Andrey
(In reply to higuita from <a href="show_bug.cgi?id=104299#c9">comment #9</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=136400" name="attach_136400" title="dmesg oops with kasan 2">attachment 136400</a> <a href="attachment.cgi?id=136400&action=edit" title="dmesg oops with kasan 2">[details]</a></span>
> dmesg oops with kasan 2
>
> Another crash, this time in RUST, just to see if it helps in any way
>
> i know how to build stuff, but i have no idea how to debug the kernel :)
>
> can you please give me some pointers how to find and give you the needed
> info?</span ></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>