Garuda randomly freezes up after updates

hey, after i updated my pc and my laptop both of them started randomly freezing up, since about a week and since i need my laptop for work and school i need a reliable system which does not freeze up randomly
some info of my system:

[[email protected] ~]$ df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
dev            devtmpfs  7,8G     0  7,8G   0% /dev
run            tmpfs     7,9G  1,7M  7,9G   1% /run
/dev/sdc1      btrfs     207G   52G  154G  26% /
tmpfs          tmpfs     7,9G   94M  7,8G   2% /dev/shm
/dev/sdc1      btrfs     207G   52G  154G  26% /root
/dev/sdc1      btrfs     207G   52G  154G  26% /home
/dev/sdc1      btrfs     207G   52G  154G  26% /srv
/dev/sdc1      btrfs     207G   52G  154G  26% /var/cache
/dev/sdc1      btrfs     207G   52G  154G  26% /var/log
/dev/sdc1      btrfs     207G   52G  154G  26% /var/tmp
tmpfs          tmpfs     7,9G  568K  7,9G   1% /home/guest
tmpfs          tmpfs     7,9G  6,5M  7,9G   1% /tmp
/dev/sda3      ext4      295G  166G  114G  60% /home/ash/Games
/dev/sda2      ext4      141G   72G   63G  54% /home/ash/Downloads
/dev/sda1      fuseblk   489G  442G   47G  91% /home/ash/Games/ntfs
tmpfs          tmpfs     1,6G  151M  1,5G  10% /run/user/1000
/dev/sdc1      btrfs     207G   52G  154G  26% /run/timeshift/backup
[[email protected] ~]$ lscpu
Architecture:            x86_64
CPU op-mode(s):        32-bit, 64-bit
Address sizes:         36 bits physical, 48 bits virtual
Byte Order:            Little Endian
CPU(s):                  8
On-line CPU(s) list:   0-7
Vendor ID:               GenuineIntel
Model name:            Intel(R) Core(TM) i7 CPU         930  @ 2.80GHz
CPU family:          6
Model:               26
Thread(s) per core:  2
Core(s) per socket:  4
Socket(s):           1
Stepping:            5
Frequency boost:     enabled
CPU max MHz:         2800,0000
CPU min MHz:         1600,0000
BogoMIPS:            5613.90
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept 
vpid dtherm ida flush_l1d
Virtualization features: 
Virtualization:        VT-x
Caches (sum of all):     
L1d:                   128 KiB (4 instances)
L1i:                   128 KiB (4 instances)
L2:                    1 MiB (4 instances)
L3:                    8 MiB (1 instance)
NUMA:                    
NUMA node(s):          1
NUMA node0 CPU(s):     0-7
Vulnerabilities:         
Itlb multihit:         KVM: Mitigation: VMX disabled
L1tf:                  Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Mds:                   Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Meltdown:              Mitigation; PTI
Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2:            Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
Srbds:                 Not affected
Tsx async abort:       Not affected
[[email protected] ~]$ lspci
00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:14.0 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
03:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
03:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
04:00.0 Network controller: Intel Corporation Wireless 7265 (rev 61)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
07:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 10)
ff:00.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture Generic Non-Core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Physical 0 (rev 05)
ff:03.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller (rev 05)
ff:03.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Target Address Decoder (rev 05)
ff:03.4 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Test Registers (rev 05)
ff:04.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Control Registers (rev 05)
ff:04.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Address Registers (rev 05)
ff:04.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Rank Registers (rev 05)
ff:04.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Thermal Control Registers (rev 05)
ff:05.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Control Registers (rev 05)
ff:05.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Address Registers (rev 05)
ff:05.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Rank Registers (rev 05)
ff:05.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Thermal Control Registers (rev 05)
ff:06.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Control Registers (rev 05)
ff:06.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Address Registers (rev 05)
ff:06.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Rank Registers (rev 05)
ff:06.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers (rev 05)

oddly enough i never owned a xeon cpu, so no idea how that ended up there
my inxi output:

[[email protected] ~]$ inxi -Fz
System:    Kernel: 5.14.7-zen1-1-zen x86_64 bits: 64 Desktop: KDE Plasma 5.22.5 Distro: Garuda Linux
Machine:   Type: Desktop Mobo: MSI model: MSI X58 Pro-E (MS-7522) v: 3.0 serial: <filter> BIOS: American Megatrends v: 8.14B8
date: 11/09/2012
CPU:       Info: Quad Core model: Intel Core i7 930 bits: 64 type: MT MCP cache: L2: 8 MiB
Speed: 2039 MHz min/max: 1600/2800 MHz Core speeds (MHz): 1: 2039 2: 1738 3: 1614 4: 2787 5: 1621 6: 1694 7: 2147
8: 1633
Graphics:  Device-1: NVIDIA GM204 [GeForce GTX 970] driver: nvidia v: 470.74
Display: x11 server: X.Org 1.20.13 driver: loaded: nvidia resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
OpenGL: renderer: NVIDIA GeForce GTX 970/PCIe/SSE2 v: 4.6.0 NVIDIA 470.74
Audio:     Device-1: Intel 82801JI HD Audio driver: snd_hda_intel
Device-2: NVIDIA GM204 High Definition Audio driver: snd_hda_intel
Device-3: JMTek LLC. USB PnP Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid
Sound Server-1: ALSA v: k5.14.7-zen1-1-zen running: yes
Sound Server-2: PipeWire v: 0.3.37 running: yes
Network:   Device-1: Intel Wireless 7265 driver: iwlwifi
IF: wlp4s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
Report: bt-adapter ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:    Local Storage: total: 1.36 TiB used: 730.08 GiB (52.4%)
ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-00WN4A0 size: 931.51 GiB
ID-2: /dev/sdb vendor: Silicon Power model: SPCC Solid State Disk size: 238.47 GiB
ID-3: /dev/sdc vendor: Crucial model: CT240BX500SSD1 size: 223.57 GiB
Partition: ID-1: / size: 206.39 GiB used: 51.44 GiB (24.9%) fs: btrfs dev: /dev/sdc1
ID-2: /home size: 206.39 GiB used: 51.44 GiB (24.9%) fs: btrfs dev: /dev/sdc1
ID-3: /var/log size: 206.39 GiB used: 51.44 GiB (24.9%) fs: btrfs dev: /dev/sdc1
ID-4: /var/tmp size: 206.39 GiB used: 51.44 GiB (24.9%) fs: btrfs dev: /dev/sdc1
Swap:      ID-1: swap-1 type: partition size: 17.18 GiB used: 0 KiB (0.0%) dev: /dev/sdc2
ID-2: swap-2 type: zram size: 15.62 GiB used: 256 KiB (0.0%) dev: /dev/zram0
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A gpu: nvidia temp: 66 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 38%
Info:      Processes: 276 Uptime: 53m Memory: 15.62 GiB used: 5.76 GiB (36.9%) Shell: Bash inxi: 3.3.06
1 Like

Your BIOS has a 2012 date. Does the manufacturer have a newer one?

Do you reboot between updates?

EDIT: have you tried different kernels?

1 Like

i don't think my bios got a newer update, the mainboard is pretty old, but i never had problems before and as i said it's both on my laptop and my pc, yes i do reboot after a big update and no i did not try different kernels

Please do so. An LTS perhaps.

EDIT: Also, let's only consider one machine at a time unless a forum search provides a common solution, please.

where do i get the info if a kernel is lts? i got linux-zen and linux, both one "normal" and a "fallback initramfs" each

oh i had to actually boot the os and go to the kernel settings, but it seems like there are only two kernels for my laptop there, on my pc there are more

You can install the linux-lts kernel, if you don't already have it, from pamac, also knows as "add/remove software"

just installed it on the laptop, the pc already had it installed, but till now the laptop did not freeze with the "linux" kernel, even after starting rider(a ide to program, goes through ram like a hot knife through butter), if the pc freezes up again i'll change the kernel to the linux-lts one, how do i set a kernel as default?

nvm just froze up again, now on the linux-lts kernel on both devices, but i doubt that will change anything

I've had similar problems with my Ryzen 3700X + GTX 1070 desktop after the linux-zen update from 5.14.6-1 to 5.14.7-1. The system hangs and becomes unresponsive, occasionally continuing a sound loop if it was playing audio, but not always. Usually occurs during video playback or gaming. Never right away but always hangs eventually.

Thankfully, timeshift works really well and I rolled back to before the update and the desktop is stable again. I've since run pacman -Syu --ignore=linux-zen --ignore=linux-zen-headers and installed everything but the kernel and the desktop remains stable.

My laptop running Garuda with a Ryzen 4700U and no dedicated graphics has been flawless since the same kernel update.

Didn't see anything informative via journalctl, it just stops at the hang with no warning.

1 Like

Try the linux-hardened kernel.

1 Like

Bisecting the kernels may give you specific insight.

1 Like

The freezing issue happens to me too after the kernel update (I use linux-tkg-cacule). I have switched to linux-tkg-cacule-lts for the time being. The linux-tkg-cacule kernel just updated to 5.14.8 so maybe it will fix it?

I have the same issue. Rolling back zen to 5.14.6-1 did the trick. I tried 5.14.8 today but the system froze again within an hour, so I rolled back again. I can only hope a future kernel update becomes stable again otherwise I'm not sure what to do.

update: the system is running stable on the lts kernel now, but the system feels slower, is this just my imagination or is the lts kernel indeed slower or less efficient?

that would do the trick too, but i do not like holding back updates, especially of something like a kernel, i also removed the pacman etc packages within the "hold-back part" of my /etc/pacman.conf because of that

Are you using the BFQ I/O scheduler?
If yes, then please read this:
https://lore.kernel.org/linux-block/[email protected]/T/#t

Synthesis: There was a faulty commit regarding BFQ, known to lead to hard freezes.

Workaround: use another scheduler, like "none" or "mq-deadline".

Correct, but bisecting is usually time-consuming :slight_smile: I actually spend several hours to find out...
I'm quite sure though that this issue is due to commit 88013a0c5d99 as mentioned in the above kernel thread.

So please try switching to a different I/O scheduler for the moment being and see if it helps.

1 Like

well bfq is used

what do you suggest to do ?

Well, first check if BFQ is really the issue (it was in my case).
Then, you could temporarily change to another scheduler, either via udev (like you did) or with a tmpfile in /etc/tmpfiles.d.

Or just give notice to the kernel packagers to revert that commit until the revert is upstreamed (should be soon, maybe for 5.14.10).

1 Like

though i dont experience freezes
:sweat_smile:

on my hardware