You are not logged in.

#1 2024-06-19 12:04:52

aprilgrimoire
Member
Registered: 2024-02-18
Posts: 21

System crashes back to grub menu, when booting or trying to enter DE

Today the system crashed several times consecutively, either when booting or entering desktop environment (xfce). Such crashes also happen occasionally before.

I tried different kernels: linux with some wifi driver patch applied (linux-ath), linux-lts and standard linux. However, it didn't seem to help.

I'm dual booting with Windows, and Windows seem not crashing, so I think it is not a hardware problem.

The logs: https://gist.github.com/AprilGrimoire/c … cc313893d7

Later I'm able to enter the system somehow, but such crashes happen from time to time. What should I look for?

Any clue? Thanks!

Offline

#2 2024-06-19 12:12:36

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,524
Website

Re: System crashes back to grub menu, when booting or trying to enter DE

Do you know of any kernel that happened to work for you?

Also does the latest mainline kernel work?

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.10rc4-1-x86_64.pkg.tar.zst

Offline

#3 2024-06-19 12:27:15

aprilgrimoire
Member
Registered: 2024-02-18
Posts: 21

Re: System crashes back to grub menu, when booting or trying to enter DE

gromit wrote:

Do you know of any kernel that happened to work for you?

Also does the latest mainline kernel work?

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.10rc4-1-x86_64.pkg.tar.zst

I'll try the latest mainline kernel. However, I won't have a result until a relatively long period of time since this bug doesn't always occur.

When the bug occurred, I tried linux-lts thinking it might be more stable, however it didn't work.

Offline

#4 2024-06-19 13:57:49

cryptearth
Member
Registered: 2024-02-03
Posts: 2,104

Re: System crashes back to grub menu, when booting or trying to enter DE

when dual-booting with windows make sure to disable fast boot

Offline

#5 2024-06-19 15:02:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,181

Re: System crashes back to grub menu, when booting or trying to enter DE

For that see the 3rd link below and reboot both systems twice for voodoo reasons.

Then

Jun 19 11:52:27 AprilGrimoire-HONOR-laptop kernel: smpboot: CPU0: AMD Ryzen 7 5700U with Radeon Graphics (family: 0x17, model: 0x68, stepping: 0x1)

see https://wiki.archlinux.org/title/Ryzen#Random_reboots - the problem is reported to aggrevate over time.

Edit: do you have https://wiki.archlinux.org/title/Microcode ?

Last edited by seth (2024-06-19 15:04:18)

Online

#6 2024-06-19 16:00:00

aprilgrimoire
Member
Registered: 2024-02-18
Posts: 21

Re: System crashes back to grub menu, when booting or trying to enter DE

seth wrote:

For that see the 3rd link below and reboot both systems twice for voodoo reasons.

Then

Jun 19 11:52:27 AprilGrimoire-HONOR-laptop kernel: smpboot: CPU0: AMD Ryzen 7 5700U with Radeon Graphics (family: 0x17, model: 0x68, stepping: 0x1)

see https://wiki.archlinux.org/title/Ryzen#Random_reboots - the problem is reported to aggrevate over time.

Edit: do you have https://wiki.archlinux.org/title/Microcode ?

I'll try disabling Windows fastboot.

Thanks! That voltage issue seems pretty similar to what I'm experiencing. However, I'm using a Laptop, and my bios doesn't seem to support voltage adjustments. Are there other mitigations?

I don't have Microcode. Why should I use them?

Offline

#7 2024-06-19 16:44:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,181

Re: System crashes back to grub menu, when booting or trying to enter DE

Because they patch bugs out of the CPU.
Installing and loading them early is a seriously good idea

You cannot adjust the CPU voltage at all?
You could try to limit the c-states, the problem typcially happens when switching between them, so you might prevent the higher ones (at the cost of more battery drain)

Online

#8 2024-06-19 17:26:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: System crashes back to grub menu, when booting or trying to enter DE

The amd-ucode package will do nothing for a Ryzen 7 5700U, so don't worry about it.

Offline

#9 2024-06-24 13:44:54

aprilgrimoire
Member
Registered: 2024-02-18
Posts: 21

Re: System crashes back to grub menu, when booting or trying to enter DE

seth wrote:

Because they patch bugs out of the CPU.
Installing and loading them early is a seriously good idea

You cannot adjust the CPU voltage at all?
You could try to limit the c-states, the problem typcially happens when switching between them, so you might prevent the higher ones (at the cost of more battery drain)


20240624214207.jpg

I have a budget laptop with decent hardware and a crappy bios.

Offline

#10 2024-06-24 14:59:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,181

Re: System crashes back to grub menu, when booting or trying to enter DE

sad

Before we start chasing wild geese, does adding "processor.max_cstate=1" to the https://wiki.archlinux.org/title/Kernel_parameters stabilize the system (it'll draw more battery for sure)

Online

#11 2024-08-02 20:33:34

aprilgrimoire
Member
Registered: 2024-02-18
Posts: 21

Re: System crashes back to grub menu, when booting or trying to enter DE

Unexpected discovery: I discovered that the system tends to crash when on battery, the battery has roughly no more than half the volume, and cpu load is relatively high. It is often triggered by unplugging the charging cable. It can be easily reproduced on different Linux distrios, even WSL. It could seemly also occur on Windows, though less often. I'm going to consult the manufacturer about this.

Offline

Board footer

Powered by FluxBB