[Bug 104299] Crash on amdgpu_sync_get_fence

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 27 13:14:12 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=104299

--- Comment #10 from Andrey Grodzovsky <andrey.grodzovsky at amd.com> ---
(In reply to higuita from comment #9)
> Created attachment 136400 [details]
> 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?

NP, check answer here
https://stackoverflow.com/questions/13468286/how-to-read-understand-analyze-and-debug-a-linux-kernel-panicand 

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 comment #9)
> Created attachment 136400 [details]
> 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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171227/ee03c28e/attachment.html>


More information about the dri-devel mailing list