You are not logged in.

#1 2024-01-25 10:18:26

xcell
Member
Registered: 2022-12-31
Posts: 8

Linux kernel impedes normal shutdown of laptop

I have an ASUS D509DA-EJ075 with a Ryzen 5 3500U.

A couple of months ago (when I was still running linux-zen), after a system update, my laptop, when ordered to shut down, will close all processes, screen will turn off, but my caps lock light will blip on and off, like a distress signal.

How did I manage to find out it was a kernel issue? Updating to linux-lts fixed the issue (until recently).

I tried fiddling with /etc/default/grub like adding "nowatchdog", but to no avail (and no, I didn't forget to run grub-mkconfig).

I would revert to an older kernel version, but I see that as a last resort.

Here are my...

grub options:

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"

kernel version: 6.6.13-1-lts

Any other needed information I will gladly supply.

Last edited by xcell (2024-01-25 10:18:41)

Offline

#2 2024-01-25 13:14:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,164

Re: Linux kernel impedes normal shutdown of laptop

Ideally when you notice things like these you would go to LTS/downgrade as a stopgap measure and then work with upstream/the kernel devs on fixing the issue before inevitably getting to a point where the LTS kernel catches up with your problem and no one having been made aware of it - with thousands of changes in between the breakage and the fix.

Do you know which kernel this started with? Something you could try which would be best if it worked out, doing e.g. an UEFI firmware update if you haven't done those in a while and some updated firmware actually fixing the issue.

Blinking caps lock is a kernel panic so the kernel dying hard for some reason. Chances are this isn't getting logged properly, but FWIW, try  to post a journal after rebooting from such a crash what do you get from

sudo journalctl -b-1

https://wiki.archlinux.org/title/List_o … n_services

Assuming this doesn't contain anything useful: https://wiki.archlinux.org/title/Kdump -- might still be able to give you a dump if this happens before the rootfs gets unmounted.

Then you'll likely have to get to kernel bisecting.

Offline

#3 2024-01-25 14:26:23

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

Re: Linux kernel impedes normal shutdown of laptop

Also remove "quiet" and hope that "systemctl halt" also triggers the panic.
You might be able to see somehing on the tail of the kernel messages - if not, add https://wiki.archlinux.org/title/Genera … l_messages

Offline

Board footer

Powered by FluxBB