You are not logged in.

#1 2023-01-16 10:13:48

newbie170
Member
Registered: 2023-01-16
Posts: 9

Arch Linux unexpected reboots

Hello everyone, I'm new here so I don't really know where to post this. Anyway, I downloaded Arch Linux almost a month ago, everything worked fine until two weeks ago. My PC start rebooting unexpectedly, at first it was one reboot every 2 days, but now it's like every 20 mins. I did some researchers and tried everything I found; disabling  the C-state and other stuff in the BIOS, reinstalling arch Linux, switching to refInd instead of grub. But nothing worked.


CPU: AMD Ryzen 7 5700G with Radeon Graphics (16) @ 3.800GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series

It's really annoying and I can't work, so if someone can help!! Thanks

I forgot to add that I have two hard disk one SSD 500G and a 1TO. The SSD has the EFI and the root partition and the other one has the home partition.

Last edited by newbie170 (2023-01-20 15:59:55)

Offline

#2 2023-01-16 10:16:57

newbie170
Member
Registered: 2023-01-16
Posts: 9

Re: Arch Linux unexpected reboots

I forgot to add that I have two hard disk one SSD 500G and a 1TO. The SSD has the EFI and the root partition and the other one has the home partition.

Offline

#3 2023-01-16 10:29:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Arch Linux unexpected reboots

Please edit your post to use code tags, rather than quote tags, for terminal output and remove the unnecessary [urgent] tag from the topic title.

https://wiki.archlinux.org/title/Genera … ow_to_post
https://wiki.archlinux.org/title/Genera … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2023-01-16 12:24:15

d.ALT
Member
Registered: 2019-05-10
Posts: 914

Re: Arch Linux unexpected reboots

You'd want an in-depth reading at: https://wiki.archlinux.org/title/Ryzen#Troubleshooting


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2023-01-16 12:35:05

newbie170
Member
Registered: 2023-01-16
Posts: 9

Re: Arch Linux unexpected reboots

As you can see in the logs, I'm not having the "kernel: mce: [Hardware Error]" error and I'm also not using Xorg. For the Power idle control, it doesn't exist in the BIOS for some reason. I just disabled the general C-state.

Offline

#6 2023-01-16 14:10:32

seth
Member
Registered: 2012-09-03
Posts: 49,986

Re: Arch Linux unexpected reboots

The logs don't show much, but a running boot where one user (hel) is logged in.
Also please don't copy and paste out of the pager, see the 1st link below.

Offline

#7 2023-01-16 14:26:40

newbie170
Member
Registered: 2023-01-16
Posts: 9

Re: Arch Linux unexpected reboots

seth wrote:

The logs don't show much, but a running boot where one user (hel) is logged in.
Also please don't copy and paste out of the pager, see the 1st link below.

That's what I'm saying, I got no error. So I don't know where the problem is.

Offline

#8 2023-01-16 14:32:26

seth
Member
Registered: 2012-09-03
Posts: 49,986

Re: Arch Linux unexpected reboots

You also said

Here are the logs before and after a reboot.

which isn't the case.
It's not clear what you posted or whether it's actually expected to cover a random reboot or whether it's from the running boot.

Either way, spontanous reboots are
* underpowered
* overheated
* broken HW (RAM or rather CPU)

So d.Alt's link is very relevant here. You could check memtest86+ as well, but for Ryzen specifically, it's rather the CPU c-states/power profiles.

Offline

#9 2023-01-16 15:22:09

newbie170
Member
Registered: 2023-01-16
Posts: 9

Re: Arch Linux unexpected reboots

seth wrote:

You also said

Here are the logs before and after a reboot.

which isn't the case.

I posted the journalctl -b and -1 logs


seth wrote:

It's not clear what you posted or whether it's actually expected to cover a random reboot or whether it's from the running boot.

What's not clear? When I turn on my PC and use it for like 20 mins or more (it depends) it reboots for no apparent reason.  That's why I made the post.


seth wrote:

So d.Alt's link is very relevant here. You could check memtest86+ as well, but for Ryzen specifically, it's rather the CPU c-states/power profiles.

Like i responded to d.Alt's

newbie170 wrote:

As you can see in the logs, I'm not having the "kernel: mce: [Hardware Error]" error and I'm also not using Xorg. For the Power idle control, it doesn't exist in the BIOS for some reason. I just disabled the general C-state.

Offline

#10 2023-01-16 15:29:31

seth
Member
Registered: 2012-09-03
Posts: 49,986

Re: Arch Linux unexpected reboots

I posted the journalctl -b and -1 logs

No, you didn't.
You copied some stuff out of the pager, the post does *not* cover two boots for sure.

What's not clear?

The copypasta in #1 is junk.
Random artifacts out of something you think you copied, but you didn't.
Nobody can read anything out of that.

Like i responded to d.Alt's

As you can see in the logs

No we can't. What you posted is useless.

seth wrote:

don't copy and paste out of the pager, see the 1st link below.

Edit: also the MCE errors are not a necessary indicator, follow the linked wiki and also see https://wiki.archlinux.org/title/Ryzen# … nd_suspend

Last edited by seth (2023-01-16 15:39:28)

Offline

#11 2023-01-16 15:44:01

newbie170
Member
Registered: 2023-01-16
Posts: 9

Re: Arch Linux unexpected reboots

What's not clear?

seth wrote:

The copypasta in #1 is junk.
Random artifacts out of something you think you copied, but you didn't.
Nobody can read anything out of that.

Does the journalctl -p err..alert logs that I just posted clear enough?

Last edited by newbie170 (2023-01-16 15:45:03)

Offline

#12 2023-01-16 15:45:30

d.ALT
Member
Registered: 2019-05-10
Posts: 914

Re: Arch Linux unexpected reboots

newbie170 wrote:

As you can see in the logs, I'm not having the "kernel: mce: [Hardware Error]" error and I'm also not using Xorg. For the Power idle control, it doesn't exist in the BIOS for some reason. I just disabled the general C-state.

On my Ryzen 1700 I solved the Soft lock freezing with a solution from Random Reboots (Modifying the "Power Supply Idle Control" setting in the BIOS).
Maybe your experiencing problems quite the exact opposite you think you're running into.

So you'd want to have an in-depth look at the whole WIKI's page + its external links: https://wiki.archlinux.org/title/Ryzen#Troubleshooting



Furthermore, for us to be able to help users here, we need full logs and full reports.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#13 2023-01-16 15:48:36

newbie170
Member
Registered: 2023-01-16
Posts: 9

Re: Arch Linux unexpected reboots

d.ALT wrote:

Furthermore, for us to be able to help users here, we need full logs and full reports.

I just modified the post and posted the journalctl -p err..alert logs, I hope that can hel.

Offline

#14 2023-01-16 15:50:06

seth
Member
Registered: 2012-09-03
Posts: 49,986

Re: Arch Linux unexpected reboots

Does the journalctl -p err..alert logs that I just posted clear enough?

No.

Spontanous reboots w/o any indication in the journal are some sort of HW issue, Ryzen is notorious for that.
Software related reboots would one way or another show up in the journal, but certainly not as errors or worse.
So we need to the the journal of a boot that terminated unexpectedly and ideally of the following boot as well.

Offline

#15 2023-01-20 11:05:00

newbie170
Member
Registered: 2023-01-16
Posts: 9

Re: Arch Linux unexpected reboots

So we need to the the journal of a boot that terminated unexpectedly and ideally of the following boot as well.

Here's the complete output of journal -b -1 before a reboot

http://0x0.st/ohte.txt

And after the reboot

http://0x0.st/oht2.txt

Last edited by newbie170 (2023-01-20 15:59:28)

Offline

#16 2023-01-20 13:37:41

seth
Member
Registered: 2012-09-03
Posts: 49,986

Re: Arch Linux unexpected reboots

Jan 20 11:49:56 network kernel: Linux version 6.1.6-arch1-1 (linux@archlinux) (>

seth wrote:

Also please don't copy and paste out of the pager, see the 1st link below.

Offline

#17 2023-01-20 16:00:20

newbie170
Member
Registered: 2023-01-16
Posts: 9

Re: Arch Linux unexpected reboots

Just update it

Offline

#18 2023-01-20 16:04:33

seth
Member
Registered: 2012-09-03
Posts: 49,986

Re: Arch Linux unexpected reboots

Jan 20 11:49:56 network kernel: Linux version 6.1.6-arch1-1 (linux@archlinux) (>

The pager is that thing in which "journalctl" will interactively display text inside the console ("less")
You cannot reasonably copy & paste, selecting with your mouse out of this, no matter how you post the result afterwards, it'll always be crippled.

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st # for the previous boot, obviously adjust the offset as needed

Offline

Board footer

Powered by FluxBB