Stability Issues: Random Crashes, Reboots, and Boot Freezes

Which Linux distro are you using?
Arch

Last date updated?
A few days ago, logs are from different days

Which kernel are you using?
6.8.1-arch1-1 (but also tested 6.6.67-1-lts and 6.12.4-arch1-1)

Which BIOS version are you using?
3.05

Which Framework Laptop 13 model are you using?
AMD Ryzen™ 7040 Series

I bought this Framework a month ago (DIY edition) with the following hardware:

  • WD_BLACK SN770 2TB M.2 2280 5150 MB/s
  • Crucial RAM (2x16GB) DDR5 5600MHz CT2K16G56C46S5

I have EFI boot, with the main system running Arch Linux on btrfs with full disk encryption (including GRUB) and a secondary Arch Linux installation on ext4 (on an unencrypted partition). Both systems use Sway, and I tested the latest version of the kernel, the LTS version, and 6.8.1 (after reading in this community that it had fixed some bugs). I am now using this version, but the problem persist.

I quite often encounter stability issues, such as various application crashes (mostly Waybar, Firefox, Nemo, Chromium, and Sway itself).

User space application crash
Dec 27 16:55:57 arch systemd[1]: Started Process Core Dump (PID 1586/UID 0).
Dec 27 16:55:58 arch systemd-coredump[1588]: [🡕] Process 1069 (waybar) of user 1000 dumped core.
                                             
                                             Stack trace of thread 1129:
                                             #0  0x00007e0e35fb63f4 n/a (libc.so.6 + 0x963f4)
                                             #1  0x00007e0e35f5d120 raise (libc.so.6 + 0x3d120)
                                             #2  0x00007e0e35f444c3 abort (libc.so.6 + 0x244c3)
                                             #3  0x00007e0e35f45354 n/a (libc.so.6 + 0x25354)
                                             #4  0x00007e0e36045799 __fortify_fail (libc.so.6 + 0x125799)
                                             #5  0x00007e0e36046a54 __stack_chk_fail (libc.so.6 + 0x126a54)
                                             #6  0x00007e0e37c69b91 _ZN4Json9OurReader12decodeNumberERNS0_5TokenERNS_5ValueE (libjsoncpp.so.26 + 0x1ab91)
                                             #7  0x00007e0e37c6fa64 _ZN4Json5ValueD2Ev (libjsoncpp.so.26 + 0x20a64)
                                             #8  0x00007e0e37c69bf4 _ZN4Json9OurReader12decodeNumberERNS0_5TokenE (libjsoncpp.so.26 + 0x1abf4)
                                             #9  0x00007e0e37c6b69c _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c69c)
                                             #10 0x00007e0e37c6c42a _ZN4Json9OurReader10readObjectERNS0_5TokenE (libjsoncpp.so.26 + 0x1d42a)
                                             #11 0x00007e0e37c6b7b4 _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7b4)
                                             #12 0x00007e0e37c6c42a _ZN4Json9OurReader10readObjectERNS0_5TokenE (libjsoncpp.so.26 + 0x1d42a)
                                             #13 0x00007e0e37c6b7b4 _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7b4)
                                             #14 0x00007e0e37c6ccb4 _ZN4Json9OurReader9readArrayERNS0_5TokenE (libjsoncpp.so.26 + 0x1dcb4)
                                             <<<...removed to save chars in this post...>>>
                                             
                                             Stack trace of thread 1103:
                                             #0  0x00007e0e3602bbb0 ppoll (libc.so.6 + 0x10bbb0)
                                             #1  0x00007e0e37683327 n/a (libglib-2.0.so.0 + 0xc0327)
                                             #2  0x00007e0e37621287 g_main_loop_run (libglib-2.0.so.0 + 0x5e287)
                                             #3  0x00007e0e373cbbc4 n/a (libgio-2.0.so.0 + 0x113bc4)
                                             #4  0x00007e0e37655be6 n/a (libglib-2.0.so.0 + 0x92be6)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1130:
                                             #0  0x00007e0e37c616d0 _ZN4Json9OurReader10skipSpacesEv (libjsoncpp.so.26 + 0x126d0)
                                             #1  0x00007e0e37c67387 _ZN4Json9OurReader9readTokenERNS0_5TokenE (libjsoncpp.so.26 + 0x18387)
                                             #2  0x00007e0e37c6cd49 _ZN4Json9OurReader9readArrayERNS0_5TokenE (libjsoncpp.so.26 + 0x1dd49)
                                             #3  0x00007e0e37c6b7ec _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7ec)
                                             #4  0x00007e0e37c6c42a _ZN4Json9OurReader10readObjectERNS0_5TokenE (libjsoncpp.so.26 + 0x1d42a)
                                             #5  0x00007e0e37c6b7b4 _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7b4)
                                             #6  0x00007e0e37c6ccb4 _ZN4Json9OurReader9readArrayERNS0_5TokenE (libjsoncpp.so.26 + 0x1dcb4)
                                             #7  0x00007e0e37c6b7ec _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7ec)
                                             #8  0x00007e0e37c6c42a _ZN4Json9OurReader10readObjectERNS0_5TokenE (libjsoncpp.so.26 + 0x1d42a)
                                             #9  0x00007e0e37c6b7b4 _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7b4)
                                             #10 0x00007e0e37c6ccb4 _ZN4Json9OurReader9readArrayERNS0_5TokenE (libjsoncpp.so.26 + 0x1dcb4)
                                             #11 0x00007e0e37c6b7ec _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7ec)
                                             #12 0x00007e0e37c6c42a _ZN4Json9OurReader10readObjectERNS0_5TokenE (libjsoncpp.so.26 + 0x1d42a)
                                             #13 0x00007e0e37c6b7b4 _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7b4)
                                             #14 0x00007e0e37c6ccb4 _ZN4Json9OurReader9readArrayERNS0_5TokenE (libjsoncpp.so.26 + 0x1dcb4)
                                             #15 0x00007e0e37c6b7ec _ZN4Json9OurReader9readValueEv (libjsoncpp.so.26 + 0x1c7ec)
                                             <<<...removed to save chars in this post...>>>
                                             
                                             Stack trace of thread 1069:
                                             #0  0x00007e0e3602bbb0 ppoll (libc.so.6 + 0x10bbb0)
                                             #1  0x00007e0e37683327 n/a (libglib-2.0.so.0 + 0xc0327)
                                             #2  0x00007e0e3761fa55 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca55)
                                             #3  0x00007e0e37396cb6 g_application_run (libgio-2.0.so.0 + 0xdecb6)
                                             #4  0x00005b38d4212d7d n/a (/usr/bin/waybar + 0x52d7d)
                                             #5  0x00005b38d42108b5 main (/usr/bin/waybar + 0x508b5)
                                             #6  0x00007e0e35f45e08 n/a (libc.so.6 + 0x25e08)
                                             #7  0x00007e0e35f45ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                             #8  0x00005b38d421a425 n/a (/usr/bin/waybar + 0x5a425)
                                             
                                             Stack trace of thread 1094:
                                             #0  0x00007e0e360371fd syscall (libc.so.6 + 0x1171fd)
                                             #1  0x00007e0e37651be0 g_cond_wait (libglib-2.0.so.0 + 0x8ebe0)
                                             #2  0x00007e0e375e898c n/a (libglib-2.0.so.0 + 0x2598c)
                                             #3  0x00007e0e37658237 n/a (libglib-2.0.so.0 + 0x95237)
                                             #4  0x00007e0e37655be6 n/a (libglib-2.0.so.0 + 0x92be6)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1131:
                                             #0  0x00007e0e35fb0a19 n/a (libc.so.6 + 0x90a19)
                                             #1  0x00007e0e35fb3af2 pthread_cond_clockwait (libc.so.6 + 0x93af2)
                                             #2  0x00005b38d43418e7 n/a (/usr/bin/waybar + 0x1818e7)
                                             #3  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #4  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1134:
                                             #0  0x00007e0e35fb0a19 n/a (libc.so.6 + 0x90a19)
                                             #1  0x00007e0e35fb3af2 pthread_cond_clockwait (libc.so.6 + 0x93af2)
                                             #2  0x00005b38d43418e7 n/a (/usr/bin/waybar + 0x1818e7)
                                             #3  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #4  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1095:
                                             #0  0x00007e0e3602bbb0 ppoll (libc.so.6 + 0x10bbb0)
                                             #1  0x00007e0e37683327 n/a (libglib-2.0.so.0 + 0xc0327)
                                             #2  0x00007e0e3761fa55 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca55)
                                             #3  0x00007e0e3761fab2 n/a (libglib-2.0.so.0 + 0x5cab2)
                                             #4  0x00007e0e37655be6 n/a (libglib-2.0.so.0 + 0x92be6)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1100:
                                             #0  0x00007e0e3602bbb0 ppoll (libc.so.6 + 0x10bbb0)
                                             #1  0x00007e0e37683327 n/a (libglib-2.0.so.0 + 0xc0327)
                                             #2  0x00007e0e3761fa55 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca55)
                                             #3  0x00007e0e37d302fe n/a (libdconfsettings.so + 0x62fe)
                                             #4  0x00007e0e37655be6 n/a (libglib-2.0.so.0 + 0x92be6)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1135:
                                             #0  0x00007e0e360398b2 epoll_wait (libc.so.6 + 0x1198b2)
                                             #1  0x00005b38d42f8f0b n/a (/usr/bin/waybar + 0x138f0b)
                                             #2  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #3  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #4  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #5  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1133:
                                             #0  0x00007e0e35fb0a19 n/a (libc.so.6 + 0x90a19)
                                             #1  0x00007e0e35fb3af2 pthread_cond_clockwait (libc.so.6 + 0x93af2)
                                             #2  0x00005b38d43418e7 n/a (/usr/bin/waybar + 0x1818e7)
                                             #3  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #4  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1093:
                                             #0  0x00007e0e35f5de58 __sigtimedwait (libc.so.6 + 0x3de58)
                                             #1  0x00007e0e35f5d52c sigwait (libc.so.6 + 0x3d52c)
                                             #2  0x00005b38d4244eec n/a (/usr/bin/waybar + 0x84eec)
                                             #3  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #4  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1136:
                                             #0  0x00007e0e3602b63d __poll (libc.so.6 + 0x10b63d)
                                             #1  0x00007e0e366f2a78 n/a (libpulse.so.0 + 0x32a78)
                                             #2  0x00007e0e366dc654 pa_mainloop_poll (libpulse.so.0 + 0x1c654)
                                             #3  0x00007e0e366e67c5 pa_mainloop_iterate (libpulse.so.0 + 0x267c5)
                                             #4  0x00007e0e366e6891 pa_mainloop_run (libpulse.so.0 + 0x26891)
                                             #5  0x00007e0e366f7bd4 n/a (libpulse.so.0 + 0x37bd4)
                                             #6  0x00007e0e355ea34f n/a (libpulsecommon-17.0.so + 0x5d34f)
                                             #7  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #8  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1137:
                                             #0  0x00007e0e35fb0a19 n/a (libc.so.6 + 0x90a19)
                                             #1  0x00007e0e35fb3af2 pthread_cond_clockwait (libc.so.6 + 0x93af2)
                                             #2  0x00005b38d43418e7 n/a (/usr/bin/waybar + 0x1818e7)
                                             #3  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #4  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1138:
                                             #0  0x00007e0e3602bc5a read (libc.so.6 + 0x10bc5a)
                                             #1  0x00005b38d42610af n/a (/usr/bin/waybar + 0xa10af)
                                             #2  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #3  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #4  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #5  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1139:
                                             #0  0x00007e0e3602bc5a read (libc.so.6 + 0x10bc5a)
                                             #1  0x00005b38d426271f n/a (/usr/bin/waybar + 0xa271f)
                                             #2  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #3  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #4  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #5  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1140:
                                             #0  0x00007e0e35fb0a19 n/a (libc.so.6 + 0x90a19)
                                             #1  0x00007e0e35fb3af2 pthread_cond_clockwait (libc.so.6 + 0x93af2)
                                             #2  0x00005b38d43418e7 n/a (/usr/bin/waybar + 0x1818e7)
                                             #3  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #4  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1141:
                                             #0  0x00007e0e360398b2 epoll_wait (libc.so.6 + 0x1198b2)
                                             #1  0x00005b38d42c9826 n/a (/usr/bin/waybar + 0x109826)
                                             #2  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #3  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #4  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #5  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1145:
                                             #0  0x00007e0e35fb0a19 n/a (libc.so.6 + 0x90a19)
                                             #1  0x00007e0e35fb3af2 pthread_cond_clockwait (libc.so.6 + 0x93af2)
                                             #2  0x00005b38d43418e7 n/a (/usr/bin/waybar + 0x1818e7)
                                             #3  0x00005b38d4232445 n/a (/usr/bin/waybar + 0x72445)
                                             #4  0x00007e0e362e1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #5  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #6  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             
                                             Stack trace of thread 1146:
                                             #0  0x00007e0e360371fd syscall (libc.so.6 + 0x1171fd)
                                             #1  0x00007e0e37651be0 g_cond_wait (libglib-2.0.so.0 + 0x8ebe0)
                                             #2  0x00007e0e375e898c n/a (libglib-2.0.so.0 + 0x2598c)
                                             #3  0x00007e0e375e89fd g_async_queue_pop (libglib-2.0.so.0 + 0x259fd)
                                             #4  0x00007e0e357735fc n/a (libpangoft2-1.0.so.0 + 0xc5fc)
                                             #5  0x00007e0e37655be6 n/a (libglib-2.0.so.0 + 0x92be6)
                                             #6  0x00007e0e35fb439d n/a (libc.so.6 + 0x9439d)
                                             #7  0x00007e0e3603949c n/a (libc.so.6 + 0x11949c)
                                             ELF object binary architecture: AMD x86-64
Dec 27 16:55:58 arch systemd[1]: systemd-coredump@2-1586-0.service: Deactivated successfully.

I also often see warnings as shown here:

Warning
Dec 30 17:57:29 arch kernel: ------------[ cut here ]------------
Dec 30 17:57:29 arch kernel: WARNING: CPU: 7 PID: 1838 at include/linux/memcontrol.h:960 handle_mm_fault+0x33f/0x360
Dec 30 17:57:29 arch kernel: Modules linked in: ext4 mbcache jbd2 snd_seq_dummy rfcomm snd_hrtimer snd_seq snd_seq_device ccm cmac algif_hash algif_skcipher af_alg bnep 80>
Dec 30 17:57:29 arch kernel:  snd typec_ucsi sp5100_tco amd_pmf vfat cros_ec_lpcs fat joydev hid_multitouch cros_ec ecdh_generic crc16 irqbypass rapl pcspkr wmi_bmof typec>
Dec 30 17:57:29 arch kernel: CPU: 7 PID: 1838 Comm: (udev-worker) Not tainted 6.8.1-arch1-1 #1 52f97d9bb37be6168651745a1a9f8f7240d21ce5
Dec 30 17:57:29 arch kernel: Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP05, BIOS 03.05 03/29/2024
Dec 30 17:57:29 arch kernel: RIP: 0010:handle_mm_fault+0x33f/0x360
Dec 30 17:57:29 arch kernel: Code: 00 00 00 41 bf 40 00 00 00 e9 4d fd ff ff 48 8b 47 10 48 89 fe 89 d9 48 89 ea 48 89 c7 e8 89 3b 05 00 41 89 c7 e9 43 fe ff ff <0f> 0b e9>
Dec 30 17:57:29 arch kernel: RSP: 0000:ffffacc9486ffeb8 EFLAGS: 00010246
Dec 30 17:57:29 arch kernel: RAX: ffff9c6b33689800 RBX: 0000000000001255 RCX: 0000000000000000
Dec 30 17:57:29 arch kernel: RDX: 0000000000000000 RSI: 8000000147507867 RDI: ffff9c6b33689800
Dec 30 17:57:29 arch kernel: RBP: 00007ffd71724df8 R08: 0000000000000001 R09: 0000000000000011
Dec 30 17:57:29 arch kernel: R10: 0000000055555554 R11: 0000000000000001 R12: ffffacc9486fff58
Dec 30 17:57:29 arch kernel: R13: ffff9c6b00f6a680 R14: 0000000000000040 R15: 0000000000000000
Dec 30 17:57:29 arch kernel: FS:  00007e762447f880(0000) GS:ffff9c725e7c0000(0000) knlGS:0000000000000000
Dec 30 17:57:29 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 30 17:57:29 arch kernel: CR2: 00007ffd71724df8 CR3: 00000001329fa000 CR4: 0000000000f50ef0
Dec 30 17:57:29 arch kernel: PKRU: 55555554
Dec 30 17:57:29 arch kernel: Call Trace:
Dec 30 17:57:29 arch kernel:  <TASK>
Dec 30 17:57:29 arch kernel:  ? handle_mm_fault+0x33f/0x360
Dec 30 17:57:29 arch kernel:  ? __warn+0x81/0x130
Dec 30 17:57:29 arch kernel:  ? handle_mm_fault+0x33f/0x360
Dec 30 17:57:29 arch kernel:  ? report_bug+0x171/0x1a0
Dec 30 17:57:29 arch kernel:  ? handle_bug+0x3c/0x80
Dec 30 17:57:29 arch kernel:  ? exc_invalid_op+0x17/0x70
Dec 30 17:57:29 arch kernel:  ? asm_exc_invalid_op+0x1a/0x20
Dec 30 17:57:29 arch kernel:  ? handle_mm_fault+0x33f/0x360
Dec 30 17:57:29 arch kernel:  ? handle_mm_fault+0x17f/0x360
Dec 30 17:57:29 arch kernel:  do_user_addr_fault+0x15b/0x670
Dec 30 17:57:29 arch kernel:  exc_page_fault+0x7f/0x180
Dec 30 17:57:29 arch kernel:  asm_exc_page_fault+0x26/0x30
Dec 30 17:57:29 arch kernel: RIP: 0033:0x5d78291292dc
Dec 30 17:57:29 arch kernel: Code: fa 48 89 c3 e9 86 e1 fd ff 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 4c 8d 9c 24 00 80 ff ff 48 81 ec 00 10 00 00 <48> 83 0c>
Dec 30 17:57:29 arch kernel: RSP: 002b:00007ffd71724df8 EFLAGS: 00010202
Dec 30 17:57:29 arch kernel: RAX: 00005d78295a5d10 RBX: 00005d78295af8d0 RCX: 0000000000000000
Dec 30 17:57:29 arch kernel: RDX: 00005d782961a8a0 RSI: 00005d782970d1c0 RDI: 00005d782959e990
Dec 30 17:57:29 arch kernel: RBP: 00007ffd71728e20 R08: 0000000000000007 R09: 0000000000000007
Dec 30 17:57:29 arch kernel: R10: 00005d78296780d0 R11: 00007ffd71720df8 R12: 00007e762447f6f8
Dec 30 17:57:29 arch kernel: R13: 00005d78295a5d10 R14: 00005d782961a8a0 R15: 00005d782959e990
Dec 30 17:57:29 arch kernel:  </TASK>
Dec 30 17:57:29 arch kernel: ---[ end trace 0000000000000000 ]---

Other crashes are more serious and involve a null pointer dereference in the kernel, causing the system to freeze.

Kernel null pointer
Dec 30 17:58:52 arch kernel: BUG: kernel NULL pointer dereference, address: 0000000000000030
Dec 30 17:58:52 arch kernel: #PF: supervisor read access in kernel mode
Dec 30 17:58:52 arch kernel: #PF: error_code(0x0000) - not-present page
Dec 30 17:58:52 arch kernel: PGD 0 P4D 0 
Dec 30 17:58:52 arch kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Dec 30 17:58:52 arch kernel: CPU: 7 PID: 1064 Comm: kworker/u32:13 Tainted: G        W          6.8.1-arch1-1 #1 52f97d9bb37be6168651745a1a9f8f7240d21ce5
Dec 30 17:58:52 arch kernel: Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP05, BIOS 03.05 03/29/2024
Dec 30 17:58:52 arch kernel: Workqueue: kcryptd/254:0 kcryptd_crypt [dm_crypt]
Dec 30 17:58:52 arch kernel: RIP: 0010:cryptd_skcipher_child+0x9/0x20 [cryptd]
Dec 30 17:58:52 arch kernel: Code: Unable to access opcode bytes at 0xffffffffc05fbfef.
Dec 30 17:58:52 arch kernel: RSP: 0018:ffffacc944e4fd30 EFLAGS: 00010246
Dec 30 17:58:52 arch kernel: RAX: 0000000080000000 RBX: ffff9c6ba1dc1688 RCX: ffff9c6ba1dc1700
Dec 30 17:58:52 arch kernel: RDX: 0000000080000000 RSI: ffff9c6ba1dc1858 RDI: 0000000000000000
Dec 30 17:58:52 arch kernel: RBP: ffff9c6b0de05808 R08: 00000000000000f0 R09: ffff9c6ba1dc1848
Dec 30 17:58:52 arch kernel: R10: ffff9c6b0de05b80 R11: 0000000000000e00 R12: ffff9c6ba1dc16d8
Dec 30 17:58:52 arch kernel: R13: 0000000000000000 R14: ffff9c6ba1dc1580 R15: ffff9c6b00f8bc00
Dec 30 17:58:52 arch kernel: FS:  0000000000000000(0000) GS:ffff9c725e7c0000(0000) knlGS:0000000000000000
Dec 30 17:58:52 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 30 17:58:52 arch kernel: CR2: ffffffffc05fbfef CR3: 0000000723a20000 CR4: 0000000000f50ef0
Dec 30 17:58:52 arch kernel: PKRU: 55555554
Dec 30 17:58:52 arch kernel: Call Trace:
Dec 30 17:58:52 arch kernel:  <TASK>
Dec 30 17:58:52 arch kernel:  ? __die+0x23/0x70
Dec 30 17:58:52 arch kernel:  ? page_fault_oops+0x171/0x4e0
Dec 30 17:58:52 arch kernel:  ? exc_page_fault+0x7f/0x180
Dec 30 17:58:52 arch kernel:  ? asm_exc_page_fault+0x26/0x30
Dec 30 17:58:52 arch kernel:  ? cryptd_skcipher_child+0x9/0x20 [cryptd bf972f84a762f22105fbc55c4840ca959a3cd414]
Dec 30 17:58:52 arch kernel:  simd_skcipher_decrypt+0xb7/0xc0 [crypto_simd 162b3a44bb987a77ce8b947227d20bd3cf38717e]
Dec 30 17:58:52 arch kernel:  crypto_skcipher_decrypt+0x5f/0x70
Dec 30 17:58:52 arch kernel:  crypto_skcipher_decrypt+0x5f/0x70
Dec 30 17:58:52 arch kernel:  crypt_convert+0xc34/0xf80 [dm_crypt c97d8c5d315663fde9bef62848a1d4ccaaaae786]
Dec 30 17:58:52 arch kernel:  kcryptd_crypt_read_convert+0x121/0x180 [dm_crypt c97d8c5d315663fde9bef62848a1d4ccaaaae786]
Dec 30 17:58:52 arch kernel:  process_one_work+0x178/0x350
Dec 30 17:58:52 arch kernel:  worker_thread+0x30f/0x450
Dec 30 17:58:52 arch kernel:  ? __pfx_worker_thread+0x10/0x10
Dec 30 17:58:52 arch kernel:  kthread+0xe5/0x120
Dec 30 17:58:52 arch kernel:  ? __pfx_kthread+0x10/0x10
Dec 30 17:58:52 arch kernel:  ret_from_fork+0x31/0x50
Dec 30 17:58:52 arch kernel:  ? __pfx_kthread+0x10/0x10
Dec 30 17:58:52 arch kernel:  ret_from_fork_asm+0x1b/0x30
Dec 30 17:58:52 arch kernel:  </TASK>
Dec 30 17:58:52 arch kernel: Modules linked in: ext4 mbcache jbd2 snd_seq_dummy rfcomm snd_hrtimer snd_seq snd_seq_device ccm cmac algif_hash algif_skcipher af_alg bnep 80>
Dec 30 17:58:52 arch kernel:  snd typec_ucsi sp5100_tco amd_pmf vfat cros_ec_lpcs fat joydev hid_multitouch cros_ec ecdh_generic crc16 irqbypass rapl pcspkr wmi_bmof typec>
Dec 30 17:58:52 arch kernel: CR2: 0000000000000030
Dec 30 17:58:52 arch kernel: ---[ end trace 0000000000000000 ]---
Dec 30 17:58:52 arch kernel: RIP: 0010:cryptd_skcipher_child+0x9/0x20 [cryptd]
Dec 30 17:58:52 arch kernel: Code: Unable to access opcode bytes at 0xffffffffc05fbfef.
Dec 30 17:58:52 arch kernel: RSP: 0018:ffffacc944e4fd30 EFLAGS: 00010246
Dec 30 17:58:52 arch kernel: RAX: 0000000080000000 RBX: ffff9c6ba1dc1688 RCX: ffff9c6ba1dc1700
Dec 30 17:58:52 arch kernel: RDX: 0000000080000000 RSI: ffff9c6ba1dc1858 RDI: 0000000000000000
Dec 30 17:58:52 arch kernel: RBP: ffff9c6b0de05808 R08: 00000000000000f0 R09: ffff9c6ba1dc1848
Dec 30 17:58:52 arch kernel: R10: ffff9c6b0de05b80 R11: 0000000000000e00 R12: ffff9c6ba1dc16d8
Dec 30 17:58:52 arch kernel: R13: 0000000000000000 R14: ffff9c6ba1dc1580 R15: ffff9c6b00f8bc00
Dec 30 17:58:52 arch kernel: FS:  0000000000000000(0000) GS:ffff9c725e7c0000(0000) knlGS:0000000000000000
Dec 30 17:58:52 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 30 17:58:52 arch kernel: CR2: ffffffffc05fbfef CR3: 0000000723a20000 CR4: 0000000000f50ef0
Dec 30 17:58:52 arch kernel: PKRU: 55555554
Dec 30 17:58:52 arch kernel: note: kworker/u32:13[1064] exited with irqs disabled

Sometimes the system just freezes (with blinking Caps Lock), or reboots itself without any apparent reason, and no logs are saved.

Sometimes it happens even during boot:

Crash during boot

The last time it happened during boot, I had to force a power-off by holding the power button. On the next power-on, the PC turned on the keyboard and power button LEDs, but the display remained black. I had to force a shutdown again with the power button. Luckily, it booted normally after that. This behavior makes me fear some kind of hardware issue.

The crashes appear randomly. It might be a suggestion bias, but it seems to happen in streaks: for example, after it freezes, it’s likely that the next boot will crash soon after. Other times, it works without issue for a few hours.

I really appreciate any suggestions to tackle this problem (either identifying whether it is a hardware or software issue) and finding a solution for a stable setup.

1 Like

Reseat your RAM and reseat your storage drives, but this might need more support from Framework.

K3n.

I reseated the RAM and SSD, but the problem persists. Today, the system rebooted itself with the following logs:

Reboot logs
Jan 05 14:00:15 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:17 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:19 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:23 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:27 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:31 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:34 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:36 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:38 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:44 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:46 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:48 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:50 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:52 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:54 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:56 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:00:59 arch kernel: ------------[ cut here ]------------
Jan 05 14:00:59 arch kernel: WARNING: CPU: 6 PID: 1250 at kernel/softirq.c:400 __do_softirq+0x2c1/0x2c8
Jan 05 14:00:59 arch kernel: Modules linked in: ccm snd_seq_dummy rfcomm snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep snd_acp6x_pdm_dma snd_soc_dmic snd_soc_acp6x_mach snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_realtek snd_sof snd_hda_codec_generic mt7921e snd_sof_utils snd_hda_codec_hdmi mt7921_common mt792x_lib snd_soc_core mt76_connac_lib intel_rapl_msr snd_compress snd_hda_intel ac97_bus intel_rapl_common mt76 snd_intel_dspcfg snd_pcm_dmaengine snd_intel_sdw_acpi snd_pci_ps snd_rpl_pci_acp6x hid_sensor_als btusb snd_hda_codec snd_acp_pci hid_sensor_trigger btrtl mac80211 btintel industrialio_triggered_buffer snd_acp_legacy_common snd_hda_core kfifo_buf btbcm kvm_amd hid_sensor_iio_common libarc4 snd_hwdep snd_pci_acp6x btmtk snd_pcm industrialio snd_pci_acp5x snd_timer bluetooth ucsi_acpi cfg80211 snd_rn_pci_acp3x kvm typec_ucsi snd_acp_config snd amd_pmf hid_sensor_hub sp5100_tco snd_soc_acpi vfat
Jan 05 14:00:59 arch kernel:  cros_ec_lpcs joydev fat hid_multitouch cros_ec irqbypass ecdh_generic crc16 rapl pcspkr wmi_bmof typec amdtee thunderbolt soundcore k10temp rfkill snd_pci_acp3x i2c_piix4 mousedev roles amd_sfh i2c_hid_acpi amd_pmc platform_profile i2c_hid mac_hid pkcs8_key_parser crypto_user loop fuse nfnetlink ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod hid_generic usbhid amdgpu crct10dif_pclmul crc32_pclmul crc32c_intel amdxcp polyval_clmulni i2c_algo_bit polyval_generic drm_ttm_helper gf128mul ttm ghash_clmulni_intel drm_exec sha512_ssse3 serio_raw gpu_sched sha256_ssse3 atkbd sha1_ssse3 libps2 drm_suballoc_helper nvme aesni_intel vivaldi_fmap drm_buddy crypto_simd drm_display_helper cryptd nvme_core xhci_pci i8042 video ccp cec xhci_pci_renesas nvme_auth serio wmi
Jan 05 14:00:59 arch kernel: CPU: 6 PID: 1250 Comm: WRRende~ckend#1 Not tainted 6.8.1-arch1-1 #1 52f97d9bb37be6168651745a1a9f8f7240d21ce5
Jan 05 14:00:59 arch kernel: Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP05, BIOS 03.05 03/29/2024
Jan 05 14:00:59 arch kernel: RIP: 0010:__do_softirq+0x2c1/0x2c8
Jan 05 14:00:59 arch kernel: Code: 00 00 80 44 09 e2 65 0f b1 15 03 b2 46 50 0f 84 3f fe ff ff eb e5 e8 7e 27 3b ff e9 5d fe ff ff e8 04 18 34 ff e9 a9 fe ff ff <0f> 0b e9 cf fe ff ff cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc
Jan 05 14:00:59 arch kernel: RSP: 0000:ffff9df107ec3ed8 EFLAGS: 00010006
Jan 05 14:00:59 arch kernel: RAX: 0000000080000100 RBX: 0000000000000000 RCX: 000000000000001f
Jan 05 14:00:59 arch kernel: RDX: 00000000000003b8 RSI: 0000000024a3ddc3 RDI: fffffffc5ef3efd1
Jan 05 14:00:59 arch kernel: RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000080000100
Jan 05 14:00:59 arch kernel: R10: ffffffffb0c06110 R11: 00000000000006dd R12: 0000000080000100
Jan 05 14:00:59 arch kernel: R13: 0000000000000009 R14: 0000000000000009 R15: ffffffffb0c06108
Jan 05 14:00:59 arch kernel: FS:  00007aaa478006c0(0000) GS:ffff928f5e780000(0000) knlGS:0000000000000000
Jan 05 14:00:59 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 05 14:00:59 arch kernel: CR2: 00007aaa06cce000 CR3: 000000012c408000 CR4: 0000000000f50ef0
Jan 05 14:00:59 arch kernel: PKRU: 55555554
Jan 05 14:00:59 arch kernel: Call Trace:
Jan 05 14:00:59 arch kernel:  <TASK>
Jan 05 14:00:59 arch kernel:  ? __do_softirq+0x2c1/0x2c8
Jan 05 14:00:59 arch kernel:  ? __warn+0x81/0x130
Jan 05 14:00:59 arch kernel:  ? __do_softirq+0x2c1/0x2c8
Jan 05 14:00:59 arch kernel:  ? report_bug+0x171/0x1a0
Jan 05 14:00:59 arch kernel:  ? handle_bug+0x3c/0x80
Jan 05 14:00:59 arch kernel:  ? exc_invalid_op+0x17/0x70
Jan 05 14:00:59 arch kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jan 05 14:00:59 arch kernel:  ? __do_softirq+0x2c1/0x2c8
Jan 05 14:00:59 arch kernel:  ? __do_softirq+0x17a/0x2c8
Jan 05 14:00:59 arch kernel:  __irq_exit_rcu+0xa3/0xc0
Jan 05 14:00:59 arch kernel:  sysvec_apic_timer_interrupt+0x3e/0x90
Jan 05 14:00:59 arch kernel:  asm_sysvec_apic_timer_interrupt+0x1a/0x20
Jan 05 14:00:59 arch kernel: RIP: 0033:0x7aaa67bad2d8
Jan 05 14:00:59 arch kernel: Code: 38 46 89 3c b0 49 ff c6 4c 89 73 40 48 8b 85 48 ff ff ff 4c 8b 88 c8 01 00 00 31 f6 48 8d 8d c0 e8 ff ff 4c 8b 85 f0 fd ff ff <ff> 75 60 41 ff 75 f8 48 8d 95 e0 f9 ff ff 52 48 8d 95 c0 ee ff ff
Jan 05 14:00:59 arch kernel: RSP: 002b:00007aaa477f78f0 EFLAGS: 00000246
Jan 05 14:00:59 arch kernel: RAX: 00007aaa48157000 RBX: 00007aaa481571f0 RCX: 00007aaa477f7a80
Jan 05 14:00:59 arch kernel: RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000022
Jan 05 14:00:59 arch kernel: RBP: 00007aaa477f91c0 R08: 00007aaa48157078 R09: 00007aa9e842d000
Jan 05 14:00:59 arch kernel: R10: 0000000000000eaa R11: 0000000000000000 R12: 00000000ffff0000
Jan 05 14:00:59 arch kernel: R13: 00007aa9c3f45e50 R14: 0000000000000002 R15: 0000000000000000
Jan 05 14:00:59 arch kernel:  </TASK>
Jan 05 14:00:59 arch kernel: ---[ end trace 0000000000000000 ]---
Jan 05 14:01:00 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:11 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:13 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:15 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:23 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:25 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:27 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:31 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:34 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:36 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:48 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:50 arch kernel: ------------[ cut here ]------------
Jan 05 14:01:50 arch kernel: WARNING: CPU: 4 PID: 6215 at kernel/workqueue.c:2770 worker_thread+0x438/0x450
Jan 05 14:01:50 arch kernel: Modules linked in: ccm snd_seq_dummy rfcomm snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep snd_acp6x_pdm_dma snd_soc_dmic snd_soc_acp6x_mach snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_realtek snd_sof snd_hda_codec_generic mt7921e snd_sof_utils snd_hda_codec_hdmi mt7921_common mt792x_lib snd_soc_core mt76_connac_lib intel_rapl_msr snd_compress snd_hda_intel ac97_bus intel_rapl_common mt76 snd_intel_dspcfg snd_pcm_dmaengine snd_intel_sdw_acpi snd_pci_ps snd_rpl_pci_acp6x hid_sensor_als btusb snd_hda_codec snd_acp_pci hid_sensor_trigger btrtl mac80211 btintel industrialio_triggered_buffer snd_acp_legacy_common snd_hda_core kfifo_buf btbcm kvm_amd hid_sensor_iio_common libarc4 snd_hwdep snd_pci_acp6x btmtk snd_pcm industrialio snd_pci_acp5x snd_timer bluetooth ucsi_acpi cfg80211 snd_rn_pci_acp3x kvm typec_ucsi snd_acp_config snd amd_pmf hid_sensor_hub sp5100_tco snd_soc_acpi vfat
Jan 05 14:01:50 arch kernel:  cros_ec_lpcs joydev fat hid_multitouch cros_ec irqbypass ecdh_generic crc16 rapl pcspkr wmi_bmof typec amdtee thunderbolt soundcore k10temp rfkill snd_pci_acp3x i2c_piix4 mousedev roles amd_sfh i2c_hid_acpi amd_pmc platform_profile i2c_hid mac_hid pkcs8_key_parser crypto_user loop fuse nfnetlink ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod hid_generic usbhid amdgpu crct10dif_pclmul crc32_pclmul crc32c_intel amdxcp polyval_clmulni i2c_algo_bit polyval_generic drm_ttm_helper gf128mul ttm ghash_clmulni_intel drm_exec sha512_ssse3 serio_raw gpu_sched sha256_ssse3 atkbd sha1_ssse3 libps2 drm_suballoc_helper nvme aesni_intel vivaldi_fmap drm_buddy crypto_simd drm_display_helper cryptd nvme_core xhci_pci i8042 video ccp cec xhci_pci_renesas nvme_auth serio wmi
Jan 05 14:01:50 arch kernel: CPU: 4 PID: 6215 Comm: kworker/u32:7 Tainted: G        W          6.8.1-arch1-1 #1 52f97d9bb37be6168651745a1a9f8f7240d21ce5
Jan 05 14:01:50 arch kernel: Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP05, BIOS 03.05 03/29/2024
Jan 05 14:01:50 arch kernel: Workqueue:  0x0 (gfx_0.0.0)
Jan 05 14:01:50 arch kernel: RIP: 0010:worker_thread+0x438/0x450
Jan 05 14:01:50 arch kernel: Code: 30 66 b1 48 c7 82 c0 02 00 00 00 00 00 00 e8 6f c6 fd ff 49 8b 44 24 28 48 8b 0c 24 48 39 c8 0f 85 87 fc ff ff e9 5d fd ff ff <0f> 0b e9 a8 fc ff ff 0f 0b e9 62 fc ff ff 0f 0b e9 e1 fd ff ff 0f
Jan 05 14:01:50 arch kernel: RSP: 0018:ffff9df10c757eb0 EFLAGS: 00010016
Jan 05 14:01:50 arch kernel: RAX: ffff928813418888 RBX: ffff928813418880 RCX: ffff928800059028
Jan 05 14:01:50 arch kernel: RDX: ffff928800059000 RSI: 0000000055555554 RDI: ffff928800059000
Jan 05 14:01:50 arch kernel: RBP: ffff928813418888 R08: 0000000000000000 R09: 0000000000000000
Jan 05 14:01:50 arch kernel: R10: 000000000000000f R11: 0000000000000000 R12: ffff928800059000
Jan 05 14:01:50 arch kernel: R13: ffff928800059020 R14: ffff9289ec4e8c40 R15: ffff9289ec4e8c00
Jan 05 14:01:50 arch kernel: FS:  0000000000000000(0000) GS:ffff928f5e700000(0000) knlGS:0000000000000000
Jan 05 14:01:50 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 05 14:01:50 arch kernel: CR2: 00007aaa4a2e6000 CR3: 0000000361c20000 CR4: 0000000000f50ef0
Jan 05 14:01:50 arch kernel: PKRU: 55555554
Jan 05 14:01:50 arch kernel: Call Trace:
Jan 05 14:01:50 arch kernel:  <TASK>
Jan 05 14:01:50 arch kernel:  ? worker_thread+0x438/0x450
Jan 05 14:01:50 arch kernel:  ? __warn+0x81/0x130
Jan 05 14:01:50 arch kernel:  ? worker_thread+0x438/0x450
Jan 05 14:01:50 arch kernel:  ? report_bug+0x171/0x1a0
Jan 05 14:01:50 arch kernel:  ? handle_bug+0x3c/0x80
Jan 05 14:01:50 arch kernel:  ? exc_invalid_op+0x17/0x70
Jan 05 14:01:50 arch kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jan 05 14:01:50 arch kernel:  ? worker_thread+0x438/0x450
Jan 05 14:01:50 arch kernel:  ? __pfx_worker_thread+0x10/0x10
Jan 05 14:01:50 arch kernel:  kthread+0xe5/0x120
Jan 05 14:01:50 arch kernel:  ? __pfx_kthread+0x10/0x10
Jan 05 14:01:50 arch kernel:  ret_from_fork+0x31/0x50
Jan 05 14:01:50 arch kernel:  ? __pfx_kthread+0x10/0x10
Jan 05 14:01:50 arch kernel:  ret_from_fork_asm+0x1b/0x30
Jan 05 14:01:50 arch kernel:  </TASK>
Jan 05 14:01:50 arch kernel: ---[ end trace 0000000000000000 ]---
Jan 05 14:01:52 arch kernel: ------------[ cut here ]------------
Jan 05 14:01:52 arch kernel: WARNING: CPU: 6 PID: 0 at kernel/sched/idle.c:228 do_idle+0x12d/0x230
Jan 05 14:01:52 arch kernel: Modules linked in: ccm snd_seq_dummy rfcomm snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep snd_acp6x_pdm_dma snd_soc_dmic snd_soc_acp6x_mach snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_realtek snd_sof snd_hda_codec_generic mt7921e snd_sof_utils snd_hda_codec_hdmi mt7921_common mt792x_lib snd_soc_core mt76_connac_lib intel_rapl_msr snd_compress snd_hda_intel ac97_bus intel_rapl_common mt76 snd_intel_dspcfg snd_pcm_dmaengine snd_intel_sdw_acpi snd_pci_ps snd_rpl_pci_acp6x hid_sensor_als btusb snd_hda_codec snd_acp_pci hid_sensor_trigger btrtl mac80211 btintel industrialio_triggered_buffer snd_acp_legacy_common snd_hda_core kfifo_buf btbcm kvm_amd hid_sensor_iio_common libarc4 snd_hwdep snd_pci_acp6x btmtk snd_pcm industrialio snd_pci_acp5x snd_timer bluetooth ucsi_acpi cfg80211 snd_rn_pci_acp3x kvm typec_ucsi snd_acp_config snd amd_pmf hid_sensor_hub sp5100_tco snd_soc_acpi vfat
Jan 05 14:01:52 arch kernel:  cros_ec_lpcs joydev fat hid_multitouch cros_ec irqbypass ecdh_generic crc16 rapl pcspkr wmi_bmof typec amdtee thunderbolt soundcore k10temp rfkill snd_pci_acp3x i2c_piix4 mousedev roles amd_sfh i2c_hid_acpi amd_pmc platform_profile i2c_hid mac_hid pkcs8_key_parser crypto_user loop fuse nfnetlink ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod hid_generic usbhid amdgpu crct10dif_pclmul crc32_pclmul crc32c_intel amdxcp polyval_clmulni i2c_algo_bit polyval_generic drm_ttm_helper gf128mul ttm ghash_clmulni_intel drm_exec sha512_ssse3 serio_raw gpu_sched sha256_ssse3 atkbd sha1_ssse3 libps2 drm_suballoc_helper nvme aesni_intel vivaldi_fmap drm_buddy crypto_simd drm_display_helper cryptd nvme_core xhci_pci i8042 video ccp cec xhci_pci_renesas nvme_auth serio wmi
Jan 05 14:01:52 arch kernel: CPU: 6 PID: 0 Comm: swapper/6 Tainted: G        W          6.8.1-arch1-1 #1 52f97d9bb37be6168651745a1a9f8f7240d21ce5
Jan 05 14:01:52 arch kernel: Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP05, BIOS 03.05 03/29/2024
Jan 05 14:01:52 arch kernel: RIP: 0010:do_idle+0x12d/0x230
Jan 05 14:01:52 arch kernel: Code: 4c 89 ee 4c 89 e7 89 c2 e8 80 b3 ff ff 65 48 8b 04 25 80 3f 03 00 f0 80 48 02 20 9c 58 0f 1f 40 00 f6 c4 02 0f 85 2e ff ff ff <0f> 0b fb 0f 1f 44 00 00 e8 56 fe ff ff 48 8b 45 00 a8 08 0f 84 26
Jan 05 14:01:52 arch kernel: RSP: 0018:ffff9df100207ef0 EFLAGS: 00010246
Jan 05 14:01:52 arch kernel: RAX: ffffffffaef23de2 RBX: 0000000000000006 RCX: 0000000000000000
Jan 05 14:01:52 arch kernel: RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff928804583c00
Jan 05 14:01:52 arch kernel: RBP: ffff928800a08000 R08: 0000000000000002 R09: 000000000000000f
Jan 05 14:01:52 arch kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffb0d4dca0
Jan 05 14:01:52 arch kernel: R13: ffff928804583c00 R14: 0000000000000003 R15: 0000000000000000
Jan 05 14:01:52 arch kernel: FS:  0000000000000000(0000) GS:ffff928f5e780000(0000) knlGS:0000000000000000
Jan 05 14:01:52 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 05 14:01:52 arch kernel: CR2: 00007aa9fce65000 CR3: 0000000361c20000 CR4: 0000000000f50ef0
Jan 05 14:01:52 arch kernel: PKRU: 55555554
Jan 05 14:01:52 arch kernel: Call Trace:
Jan 05 14:01:52 arch kernel:  <TASK>
Jan 05 14:01:52 arch kernel:  ? do_idle+0x12d/0x230
Jan 05 14:01:52 arch kernel:  ? __warn+0x81/0x130
Jan 05 14:01:52 arch kernel:  ? do_idle+0x12d/0x230
Jan 05 14:01:52 arch kernel:  ? report_bug+0x171/0x1a0
Jan 05 14:01:52 arch kernel:  ? handle_bug+0x3c/0x80
Jan 05 14:01:52 arch kernel:  ? exc_invalid_op+0x17/0x70
Jan 05 14:01:52 arch kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jan 05 14:01:52 arch kernel:  ? do_idle+0x1e2/0x230
Jan 05 14:01:52 arch kernel:  ? do_idle+0x12d/0x230
Jan 05 14:01:52 arch kernel:  cpu_startup_entry+0x2a/0x30
Jan 05 14:01:52 arch kernel:  start_secondary+0x11e/0x140
Jan 05 14:01:52 arch kernel:  secondary_startup_64_no_verify+0x184/0x18b
Jan 05 14:01:52 arch kernel:  </TASK>
Jan 05 14:01:52 arch kernel: ---[ end trace 0000000000000000 ]---
Jan 05 14:01:52 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:56 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:01:58 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:02:00 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:02:02 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:02:04 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:02:08 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:02:11 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:02:13 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
Jan 05 14:02:17 arch kernel: xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot

After the reboot, systemd crashed shortly after starting, causing the system to experience serious issues.

Systemd crash
Jan 05 14:06:15 arch systemd[1]: Caught <ABRT>, from our own process.
Jan 05 14:06:15 arch systemd-coredump[1908]: Process 1907 (systemd) of user 0 terminated abnormally with signal 6/ABRT, processing...
Jan 05 14:06:15 arch systemd-coredump[1908]: Due to PID 1 having crashed coredump collection will now be turned off.
Jan 05 14:06:15 arch systemd-coredump[1908]: [🡕] Process 1907 (systemd) of user 0 dumped core.
                                             
                                             Stack trace of thread 1907:
                                             #0  0x00007c13baf261fd syscall (libc.so.6 + 0x1171fd)
                                             #1  0x00007c13bb239ac3 propagate_signal (libsystemd-shared-257.1-1.so + 0x239ac3)
                                             #2  0x00005f8351f8cf81 n/a (/usr/lib/systemd/systemd + 0x11f81)
                                             #3  0x00007c13bae4c1d0 n/a (libc.so.6 + 0x3d1d0)
                                             #4  0x00007c13baea53f4 n/a (libc.so.6 + 0x963f4)
                                             #5  0x00007c13bae4c120 raise (libc.so.6 + 0x3d120)
                                             #6  0x00007c13bae334c3 abort (libc.so.6 + 0x244c3)
                                             #7  0x00007c13bae34354 n/a (libc.so.6 + 0x25354)
                                             #8  0x00007c13baf34799 __fortify_fail (libc.so.6 + 0x125799)
                                             #9  0x00007c13baf35a54 __stack_chk_fail (libc.so.6 + 0x126a54)
                                             #10 0x00007c13bb30f7a5 n/a (libsystemd-shared-257.1-1.so + 0x30f7a5)
                                             #11 0x00007c13bb29626a sd_event_unref (libsystemd-shared-257.1-1.so + 0x29626a)
                                             #12 0x00007c13bb2a0382 n/a (libsystemd-shared-257.1-1.so + 0x2a0382)
                                             #13 0x00007c13bb2a0c0e sd_event_dispatch (libsystemd-shared-257.1-1.so + 0x2a0c0e)
                                             #14 0x00007c13bb2a3e71 sd_event_run (libsystemd-shared-257.1-1.so + 0x2a3e71)
                                             #15 0x00007c13bb6ee7d0 manager_loop (libsystemd-core-257.1-1.so + 0xee7d0)
                                             #16 0x00005f8351f82cdc n/a (/usr/lib/systemd/systemd + 0x7cdc)
                                             #17 0x00007c13bae34e08 n/a (libc.so.6 + 0x25e08)
                                             #18 0x00007c13bae34ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                             #19 0x00005f8351f85e45 n/a (/usr/lib/systemd/systemd + 0xae45)
                                             ELF object binary architecture: AMD x86-64
Jan 05 14:06:15 arch systemd[1]: Caught <ABRT>, dumped core as pid 1907.
Jan 05 14:06:15 arch systemd[1]: Freezing execution.

Upon rebooting again, the system got stuck twice during boot. The second time, it displayed the following message:

Timed out while waiting for udev queue being empty

(or something similar).

I then booted from the second partition, but the system crashed there as well after just a few minutes.

I’m not sure if the error Refused to change power state from D0 to D3hot is related to the crash, but it wasn’t present in all the previous crash logs (so I don’t think it’s the only cause).

EDIT: A crash even occurred while using the ArchISO during installation.

Thank you for trying that approach. Have you tried pcie_aspm=off in the Linux kernel command line?

K3n.