You are not logged in.

#1 2023-09-22 21:54:12

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

[SOLVED] Arch hangs on shutdown. Kernel log messages.OK with linux-lts

I previously updated with pacman on 1st Septempter.  After another update today, my Asus Vivo E210MA laptop hangs on shutdown, and must be manually powered off.

On boot, after displaying the usual (verbose) messages, a lot of extra messages appear, immediately before the login prompt.
They are displayed in the log, when I run:
$ journalctl -k (PASTEBIN)

I can't see anything related in:
$ cat /var/log/pacman.log | grep 2023-09-2 (PASTEBIN)

The issue only affects the linux kernel.  When I boot with linux-lts, everything is normal.

I'm not sure how to troubleshoot further.
Can anyone help? :-)

Last edited by esuhl (2023-09-26 22:20:23)

Offline

#2 2023-09-22 22:13:32

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED] Arch hangs on shutdown. Kernel log messages.OK with linux-lts

Offline

#3 2023-09-22 22:16:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,336

Re: [SOLVED] Arch hangs on shutdown. Kernel log messages.OK with linux-lts

The boot in the journal you posted is only 30 seconds and doesn't cover any shutdown.
But:

Sep 22 19:01:41 n901 kernel: 8821ce: loading out-of-tree module taints kernel.
Sep 22 19:01:41 n901 kernel: 8821ce: module verification failed: signature and/or required key missing - tainting kernel
Sep 22 19:01:41 n901 kernel: rtl8821ce 0000:02:00.0: enabling device (0000 -> 0003)
…
Sep 22 19:01:41 n901 kernel: detected buffer overflow in __fortify_strlen
Sep 22 19:01:41 n901 kernel: ------------[ cut here ]------------
Sep 22 19:01:41 n901 kernel: kernel BUG at lib/string_helpers.c:1031!
Sep 22 19:01:41 n901 kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
Sep 22 19:01:41 n901 kernel: CPU: 0 PID: 239 Comm: (udev-worker) Tainted: G           OE      6.5.4-arch2-1 #1 a30a3b4701899b64bf6025fd97642e50bf2dcad4
Sep 22 19:01:41 n901 kernel: Hardware name: ASUSTeK COMPUTER INC. VivoBook_ASUS Laptop E210MA_E210MA/E210MA, BIOS E210MA.308 05/07/2021
Sep 22 19:01:41 n901 kernel: RIP: 0010:fortify_panic+0x13/0x20
…
Sep 22 19:01:41 n901 kernel:  rtw_txpwr_lmt_add_with_nlen+0xb1/0x2c0 [8821ce 033afb872778aba23c4a985c8ee4d41864245430]

blacklist 8821ce, https://wiki.archlinux.org/title/Kernel … acklisting

Offline

#4 2023-09-26 22:19:39

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

Re: [SOLVED] Arch hangs on shutdown. Kernel log messages.OK with linux-lts

Aha!  That's it!  :-D

I tried to do that a while ago, but got the module name wrong.  Oops!

Thanks for your help :-)

Offline

#5 2023-09-26 23:03:47

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED] Arch hangs on shutdown. Kernel log messages.OK with linux-lts

Did you consider removing or fixing the package that provides 8821ce possibly https://aur.archlinux.org/packages/rtl8821ce-dkms-git rather than leaving it installed and providing no functionality as you have the module blacklisted?

Offline

Board footer

Powered by FluxBB