[Bug 276985] crash in LinuxKPI/drm

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 10 Apr 2024 08:49:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276985

--- Comment #7 from feh@fehcom.de ---
Hi Vlad,

thanks for your comment. On my side, there is a bit more history: 

a) Before I used the current MiniPC with AMD Ryzen 5, I had a similar device
with Ryzen 7, a Gigabyte BRR7-4800.

b) Here, I was running Artix Linux in a similar setup. Actually, it is more or
less the same KMS-KMOD. One this machine, FreeBSD (14) did not install and
crashed immediately. However, under Artix I had the phenomen to get ocassionaly
a 'green screen' and the kernel stopped working (similar to my experience with
FreeBSD).

Thus, at the bottom line: It seems to be problem with the driver making the
systerm behave erratic under certain circumstances.

Regards.
-eh.  

PS. It is always the same location:

kgdb /boot/kernel/kernel -n last vmcore.7
....

#6 0xffffffff8300bc69 at amdgpu_cs_parser_bos+0x639
#7 0xffffffff8300b4ff at amdgpu_cs_ioctl+0xd8f
#8 0xffffffff8353cbb6 at drm_ioctl_kernel+0xc6
#9 0xffffffff8353cf65 at drm_ioctl+0x2b5
#10 0xffffffff80da7992 at linux_file_ioctl+0x312
#11 0xffffffff80bb15a5 at kern_ioctl+0x255
#12 0xffffffff80bb12e3 at sys_ioctl+0x123
#13 0xffffffff8100d119 at amd64_syscall+0x109
#14 0xffffffff80fe43db at fast_syscall_common+0xf8
Uptime: 12m50s
Dumping 1029 out of 15734 MB:..2%..11%..21%..32%..41%..52%..61%..72%..81%..91%

__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57
57              __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct
pcpu,

Hm => linux_file_ioctl ??? Suspicious.

-- 
You are receiving this mail because:
You are the assignee for the bug.