cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

sowson
Adept II

Ubuntu 20.04 how to enable debug in AMDGPU driver and rebuild DKMS modules?

Hello, do you know how to enable debug on DKMS modules of AMDGPU? To figure out where is the brake in the below back stack? Thanks!

Memory access fault by GPU node-1 (Agent handle: 0x5555557399f0) on address 0x7ffdcd588000. Reason: Page not present or supervisor privilege.

--Type <RET> for more, q to quit, c to continue without paging--

Thread 2 "darknet" received signal SIGABRT, Aborted.

[Switching to Thread 0x7ffff2fe3700 (LWP 151893)]

__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50

50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

(gdb) backtrace

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50

#1  0x00007ffff3633859 in __GI_abort () at abort.c:79

#2  0x00007ffff3088773 in ?? () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-runtime64.so.1

#3  0x00007ffff30c718f in ?? () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-runtime64.so.1

#4  0x00007ffff308ca4b in ?? () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-runtime64.so.1

#5  0x00007ffff7e4b609 in start_thread (arg=<optimized out>) at pthread_create.c:477

#6  0x00007ffff3730293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

(gdb) 

0 Likes