Artix Linux Forum

Artix Linux => System => Topic started by: nyaomi on 28 October 2022, 14:38:22

Title: Random kernel hangs
Post by: nyaomi on 28 October 2022, 14:38:22
Since mid-September I experience some kernel hangs from which I can only recover by rebooting the machine (SysRq+b worked fine, and yes I enabled SysRq just to know if it was a total hang).

For those who don't know me, I run Artix + OpenRC on an AMD X570 system equipped with a Ryzen 3800XT, 32GB of 3200 MHz RAM, and a Radeon RX 6900XT as GPU. Everything is properly powered by an 850W PSU by EVGA (Seasonic, really).

Load testing in other OSes (non-Linux) doesn't reproduce any kind of hangs, so I am kind of at a loss here.

My last kernel log, or rather, what was saved by Syslog-ng:
https://paste.artixlinux.org/a097de98

Does anyone have a clue of why that might be?
Title: Re: Random kernel hangs
Post by: Lancia on 28 October 2022, 17:24:33
If I had to make a non-expert guess, from seeing the "tainted" modules, this issue might be related to the proprietary Radeon GPU drivers causing problems?

I would recommend try blacklisting the proprietary modules from loading to see if the problem still persists.

Also is Artix the only distro you've seen this problem on?
Title: Re: Random kernel hangs
Post by: nyaomi on 28 October 2022, 17:35:03
Where did you see the proprietary Radeon drivers? I run on Mesa.

The only "proprietary" stuff that is there is for Workstation Pro, which I am actually not even using actively nowadays. Other stuff is just out-of-tree kernel modules that I need to monitor stuff, such as zenpower3 (cpu temp / power draw) and v4l2loopback (obs virtual camera).

Lastly, I don't distro hop. I don't know, currently, if not using Artix works around the problem, and I don't want to try. Running Artix for two years now, I got all my stuff in there.
Title: Re: Random kernel hangs
Post by: lq on 28 October 2022, 18:55:52
Running Artix for two years now, I got all my stuff in there.
I would try the other 3 kernels.
Title: Re: Random kernel hangs
Post by: Lancia on 28 October 2022, 20:55:09
>Where did you see the proprietary Radeon drivers? I run on Mesa.

My guess was based on the "amdgpu" module, although I apologize since I was assuming these modules were proprietary when in fact they were open-source

>Other stuff is just out-of-tree kernel modules that I need to monitor stuff, such as zenpower3 (cpu temp / power draw) and v4l2loopback (obs virtual camera).

Well that explains the "tainted" status, although can I ask on why they are out of tree? were they not included with the kernel you installed?
Title: Re: Random kernel hangs
Post by: nyaomi on 29 October 2022, 16:06:03
I would try the other 3 kernels.

Which other kernels? There's only linux and linux-lts that come officially in the system repos, and I experience hangs on both of them. Everything else (hardened and zen) come from the world repository, and I guess they won't help much here.

Well that explains the "tainted" status, although can I ask on why they are out of tree? were they not included with the kernel you installed?

Exactly. They are not included in the kernel I installed.
Title: Re: Random kernel hangs
Post by: rayburn on 29 October 2022, 19:43:31
Which other kernels? There's only linux and linux-lts that come officially in the system repos, and I experience hangs on both of them.


I use the linux-zen kernel on laptops, and it works well. It is in the official repos.