You are not logged in.

#1 2024-09-01 09:50:11

rastop123
Member
Registered: 2024-09-01
Posts: 4

Sudden Reboot Issue on Arch Linux

After a recent update, I've encountered a problem with my Arch Linux system suddenly rebooting. About once or twice a day. My system specs are as follows: CPU - AMD Ryzen 7 6800H with Radeon Graphics @ 16x 4.785GHz, GPU - AMD/ATI Rembrandt [Radeon 680M].

Interestingly, the journalctl logs show nothing unusual after the reboot, as if some logs are missing or the crash isn't being logged at all. Initially, I was unsure whether the issue was hardware or software-related. However, after rolling back all packages to the last successful update, the problem disappeared.

Could anyone advise on where to look in this case? How can I determine if the issue is with the kernel or a driver? I haven't found any relevant information so far. Any guidance would be greatly appreciated.

Possibly a duplicate https://bbs.archlinux.org/viewtopic.php?id=298360 The post does not indicate that everything is fine after the rollback

Last edited by rastop123 (2024-09-01 09:56:48)

Offline

#2 2024-09-01 10:19:04

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Sudden Reboot Issue on Arch Linux

Offline

#3 2024-09-01 10:36:54

rastop123
Member
Registered: 2024-09-01
Posts: 4

Re: Sudden Reboot Issue on Arch Linux

I can’t regulate the voltage, rolling back helped for now, delving deeper into the topic, as I understood, this is still a bug in the kernel that should be corrected soon

Offline

#4 2024-09-01 10:38:41

rastop123
Member
Registered: 2024-09-01
Posts: 4

Re: Sudden Reboot Issue on Arch Linux

I think this is still a duplicate https://bbs.archlinux.org/viewtopic.php?id=298360

Offline

#5 2024-09-01 14:37:51

seth
Member
Registered: 2012-09-03
Posts: 60,889

Re: Sudden Reboot Issue on Arch Linux

This is on 6.10.7?
https://bbs.archlinux.org/viewtopic.php … 1#p2192871

Did you try whether the system re-stabilizes w/ 6.10.2?
https://bbs.archlinux.org/viewtopic.php … 7#p2188907

Offline

#6 2024-09-01 14:48:11

rastop123
Member
Registered: 2024-09-01
Posts: 4

Re: Sudden Reboot Issue on Arch Linux

I rolled the problem back to 6.8.x, I haven't tried new patches yet, my question is no longer how to fix it, but how to understand hardware or software in such a situation.

Offline

#7 2024-09-01 15:29:20

seth
Member
Registered: 2012-09-03
Posts: 60,889

Re: Sudden Reboot Issue on Arch Linux

A spontanous reboot is a hardware problem. Always.
In this case what's most likely happening (this is an unfounded theory, it just makes sense but isn't based on anything else) is that the amdgpu kernel module causes an sudden power draw, starving the CPU which results in a reboot.
There's no generic way to tell what exactly causes such behavior.
What we do know is that Ryzen is prone to voltage-related cold reboots, that this one was triggered as kernel regression and that the offending commit could be traced into the amdgpu module.
The particular commit is uncritical w/ different AMD hardware, so is it hardware, software, interface or all of the above?

Offline

#8 2024-11-18 22:02:29

Laoceau
Member
Registered: 2023-01-27
Posts: 11

Re: Sudden Reboot Issue on Arch Linux

Same issue here, after updating to recent kernels (e.g 6.6, 6.11 I get random reboots, nothing in the logs.

AMD 6800H CPU. I've also run into more frequent GPU freezes, and also I'm seeing the key presses not registered issue I haven't seen since 5.3 ?

Offline

#9 2024-11-19 06:51:14

seth
Member
Registered: 2012-09-03
Posts: 60,889

Offline

#10 2024-11-30 22:46:38

Laoceau
Member
Registered: 2023-01-27
Posts: 11

Re: Sudden Reboot Issue on Arch Linux

Didn't change any settings, updated to 6.12 and my issues are gone. I feel like it may be related to https://www.phoronix.com/news/Linux-Cle … MSAVE-Zen4 but I'm on Zen 3, so maybe not. I just got another random reboot.

Last edited by Laoceau (2024-11-30 23:34:20)

Offline

#12 2024-12-03 05:48:28

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 97

Re: Sudden Reboot Issue on Arch Linux

rastop123 wrote:

Interestingly, the journalctl logs show nothing unusual after the reboot, as if some logs are missing or the crash isn't being logged at all. Initially, I was unsure whether the issue was hardware or software-related. However, after rolling back all packages to the last successful update, the problem disappeared.

Also, remember turning up kernel log levels might show something interesting. Not sure what `journalctl` defaults to.

Offline

#13 2024-12-03 06:42:55

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,743
Website

Re: Sudden Reboot Issue on Arch Linux

ReDress wrote:

turning up kernel log levels might show something interesting

The loglevel parameter only controls what is printed to the console. The journal sees all.


Para todos todo, para nosotros nada

Offline

#14 2024-12-03 07:27:17

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 97

Re: Sudden Reboot Issue on Arch Linux

You could possibly use it to get the frequency of reboots over the recent past by greping for 'Linux version'.

journalctl -a | grep "Linux version"

Kind of silly, though.

Offline

#15 2024-12-10 23:16:28

pierr
Member
Registered: 2024-03-12
Posts: 5

Re: Sudden Reboot Issue on Arch Linux

Hi,

Just to share some info, I've had the same symptoms here for some weeks too.

I started to see unexpected reboots and amdgpu trace in journal after upgrade linux 6.11.2.zen1-1 -> 6.11.3.zen1-1 on the 2024-10-17.
On the 2024-11-05 I've switched to linux 6.6.59-1-lts to fix an unrelated issue (no longer able to wake up after using S3 sleep due to nvidia drivers).

While the switch from zen to lts fixed the issue with resume, I still had unexpected reboots and sometimes amdgpu trace when rebooting.

In late 2022 I enabled eco mode to lower TDP to 65 W because I did not need the extra peak performance. Remembered that after seeing advice to tune CPU voltage on forum. Disabled the eco mode and problem seems to be gone (2 weeks running fine so far).

CPU is AMD Ryzen 7 7700X.

If it can help some readers...

Offline

#16 2024-12-29 19:28:14

Laoceau
Member
Registered: 2023-01-27
Posts: 11

Re: Sudden Reboot Issue on Arch Linux

I found 6.7.9 to be stable so far. No reboots. The moment I switch to a recent kernel I get the random reboots back. There's definitely something after 6.8.x.

Offline

#17 2024-12-29 20:21:45

seth
Member
Registered: 2012-09-03
Posts: 60,889

Re: Sudden Reboot Issue on Arch Linux

https://wiki.archlinux.org/title/Ryzen#Random_reboots
"sudden reboots" are a hardware issue, the kernels might have gone more aggressive at core cycling or so, but the problem is your CPU. Fix that instead of hoping that nothing ever touches it.

Offline

#18 2025-01-18 02:25:05

Laoceau
Member
Registered: 2023-01-27
Posts: 11

Re: Sudden Reboot Issue on Arch Linux

Reporting back. 3 weeks with 6.7.9-zen1-1-zen, 12+ hours each day, no sudden reboots so far.

Offline

#19 2025-01-18 15:32:51

seth
Member
Registered: 2012-09-03
Posts: 60,889

Re: Sudden Reboot Issue on Arch Linux

That's great but really doesn't change much.
Your CPU isn't supposed to bail because it doesn't like some core access patterns and posting that some dated kernel version didn't trigger this won't get you ahead either.

You could try to bisect the "breaking" commit but even then chances for this to be reverted because it's what randomly triggers you CPU into suiceide are miniscule.
See whether increasing the voltage supply to the CPU stabilizes it (on newer kernels as well)

Offline

Board footer

Powered by FluxBB