You are not logged in.
I have been using Arch Linux for more than four years now. I’m dealing with random shutdowns on my Acer SE16-43 laptop running Arch Linux. It just powers off without warning. I am unable to diagnose the cause. Here are my system details
$ inxi -F
System:
Host: redactedacer Kernel: 6.12.1-arch1-1 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 6.2.3 Distro: Arch Linux
Machine:
Type: Laptop System: Acer product: Swift SFE16-43 v: V1.63
serial: <superuser required>
Mobo: PHX model: Ray_PEU v: V1.63 serial: <superuser required>
UEFI: INSYDE v: 1.63 date: 02/16/2024
Battery:
ID-1: BAT1 charge: 48.6 Wh (100.0%) condition: 48.6/54.2 Wh (89.7%)
CPU:
Info: 8-core model: AMD Ryzen 7 7840U w/ Radeon 780M Graphics bits: 64
type: MT MCP cache: L2: 8 MiB
Speed (MHz): avg: 400 min/max: 400/5132 cores: 1: 400 2: 400 3: 400 4: 400
5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
15: 400 16: 400
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Phoenix1 driver: amdgpu v: kernel
Device-2: Chicony ACER QHD User Facing driver: hid-generic,usbhid,uvcvideo
type: USB
Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
dri: radeonsi gpu: amdgpu resolution: 1600x1000
API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.7-arch1.1
renderer: AMD Radeon 780M (radeonsi gfx1103_r1 LLVM 18.1.8 DRM 3.59
6.12.1-arch1-1)
API: Vulkan Message: No Vulkan data available.
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
Audio driver: snd_hda_intel
Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
driver: snd_pci_ps
Device-3: Advanced Micro Devices [AMD] Family 17h/19h HD Audio
driver: snd_hda_intel
API: ALSA v: k6.12.1-arch1-1 status: kernel-api
Server-1: PipeWire v: 1.2.6 status: active
Network:
Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
driver: mt7921e
IF: wlp1s0 state: up mac: 74:97:79:5d:22:b5
Bluetooth:
Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb type: USB
Report: btmgmt ID: hci0 state: up address: 74:97:79:5D:22:B6 bt-v: 5.2
Drives:
Local Storage: total: 953.87 GiB used: 387.31 GiB (40.6%)
ID-1: /dev/nvme0n1 vendor: Micron model: 3400 MTFDKBA1T0TFH
size: 953.87 GiB
Partition:
ID-1: / size: 914.2 GiB used: 385.88 GiB (42.2%) fs: ext4
dev: /dev/nvme0n1p6
ID-2: /boot size: 3.99 GiB used: 276 MiB (6.8%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: partition size: 20 GiB used: 1.16 GiB (5.8%)
dev: /dev/nvme0n1p2
Sensors:
System Temperatures: cpu: 67.6 C mobo: 48.0 C gpu: amdgpu temp: 47.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 14.93 GiB used: 3.9 GiB (26.1%)
Processes: 346 Uptime: 2h 34m Shell: Bash inxi: 3.3.36
Here is the shutdown history
$ last -xF -20
redacted pts/0 :1 Sun Nov 24 18:48:24 2024 still logged in
redacted pts/2 :1 Sun Nov 24 17:05:59 2024 still logged in
redacted pts/0 :1 Sun Nov 24 17:04:45 2024 - Sun Nov 24 18:41:09 2024 (01:36)
redacted pts/0 :1 Sun Nov 24 16:08:37 2024 - Sun Nov 24 17:03:28 2024 (00:54)
redacted Sun Nov 24 16:06:41 2024 still logged in
reboot system boot 6.12.1-arch1-1 Sun Nov 24 16:06:21 2024 still running
redacted pts/0 :1 Sun Nov 24 15:57:54 2024 - crash (00:08)
redacted pts/0 :1 Sun Nov 24 14:39:56 2024 - Sun Nov 24 15:42:46 2024 (01:02)
redacted Sun Nov 24 14:39:31 2024 - crash (01:26)
reboot system boot 6.11.9-arch1-1 Sun Nov 24 14:39:20 2024 still running
shutdown system down 6.11.9-arch1-1 Sat Nov 23 16:24:38 2024 - Sun Nov 24 14:39:20 2024 (22:14)
redacted pts/0 :0 Sat Nov 23 16:15:43 2024 - Sat Nov 23 16:24:09 2024 (00:08)
redacted Sat Nov 23 16:13:17 2024 - down (00:11)
reboot system boot 6.11.9-arch1-1 Sat Nov 23 16:13:07 2024 - Sat Nov 23 16:24:38 2024 (00:11)
shutdown system down 6.11.9-arch1-1 Sat Nov 23 16:03:49 2024 - Sat Nov 23 16:13:07 2024 (00:09)
redacted pts/1 :1 Sat Nov 23 14:09:04 2024 - Sat Nov 23 16:03:14 2024 (01:54)
redacted pts/0 :1 Sat Nov 23 13:17:30 2024 - Sat Nov 23 16:03:14 2024 (02:45)
redacted Sat Nov 23 13:17:04 2024 - down (02:46)
reboot system boot 6.11.9-arch1-1 Sat Nov 23 13:16:55 2024 - Sat Nov 23 16:03:49 2024 (02:46)
redacted pts/2 :1 Sat Nov 23 12:17:15 2024 - Sat Nov 23 12:17:19 2024 (00:00)
wtmp begins Wed Oct 23 22:54:05 2024
The shutdowns seem to happen on battery (not 100% sure). I’ve enabled auditd, sar, and atop. I’ve also set up auditd rules for shutdown events. I used a GUI to view the sar logs but I don''t see anything unusual being reported at the time of the shutdown. These are my audits rules
$ sudo auditctl -l
-a always,exit -F arch=b64 -S execve -F path=/sbin/shutdown -F perm=x -F key=shutdown
-a always,exit -F arch=b64 -S execve -F path=/sbin/poweroff -F perm=x -F key=shutdown
-a always,exit -F arch=b64 -S execve -F path=/sbin/reboot -F perm=x -F key=shutdown
-a always,exit -F arch=b64 -S execve -F path=/sbin/halt -F perm=x -F key=shutdown
-a always,exit -F arch=b64 -S execve -F path=/usr/lib/systemd/systemd -F perm=x -F key=shutdown
Journalctl logs do not exist from right before the shutdown as you can see below
$ uptime --since
2024-11-24 16:06:16
$ sudo journalctl -b -1 -x -e | tail
Nov 24 16:01:58 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-50 noise=9999 txrate=1200900
Nov 24 16:02:01 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-49 noise=9999 txrate=1200900
Nov 24 16:02:04 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-56 noise=9999 txrate=1200900
Nov 24 16:02:07 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-54 noise=9999 txrate=1200900
Nov 24 16:02:10 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-52 noise=9999 txrate=1200900
Nov 24 16:02:13 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-52 noise=9999 txrate=1200900
Nov 24 16:02:15 redactedacer root[99408]: ACPI action undefined: PNP0C0A:00
Nov 24 16:02:16 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-51 noise=9999 txrate=1200900
Nov 24 16:02:19 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-41 noise=9999 txrate=1200900
Nov 24 16:02:22 redactedacer wpa_supplicant[1284]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-51 noise=9999 txrate=34400
$ journalctl -b -1 -x -e -k | tail
Nov 24 14:39:28 redactedacer kernel: wlp1s0: send auth to c0:94:35:d6:bd:fa (try 1/3)
Nov 24 14:39:28 redactedacer kernel: wlp1s0: authenticated
Nov 24 14:39:28 redactedacer kernel: wlp1s0: associate with c0:94:35:d6:bd:fa (try 1/3)
Nov 24 14:39:28 redactedacer kernel: wlp1s0: RX AssocResp from c0:94:35:d6:bd:fa (capab=0x1011 status=0 aid=4)
Nov 24 14:39:28 redactedacer kernel: wlp1s0: associated
Nov 24 14:39:28 redactedacer kernel: wlp1s0: Limiting TX power to 30 (30 - 0) dBm as advertised by c0:94:35:d6:bd:fa
Nov 24 14:39:35 redactedacer kernel: warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
Nov 24 14:39:52 redactedacer systemd-journald[399]: Time jumped backwards, rotating.
Nov 24 14:52:34 redactedacer systemd-ssh-generator[18263]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
Nov 24 14:52:34 redactedacer systemd-ssh-generator[18263]: → connect via 'ssh .host' locally
Which other logs should I post?
Any help will be appreciated.
Offline