tadasv site

Issues with Arch Linux

I’m an avid Linux user and I’ve used Linux for probably over a decade in some capacity either at home or professionally.

At the end of 2018 I got myself a new desktop computer and decided to make Linux my primary driver at home. I mostly do development work on a computer anyway, so it lends itself very good to that. I decided to install Arch Linux since this is what I used many years ago and I like its minimalistic nature and up to date packages.

Unfortunately, over the past couple of years I kept experiencing kernel crashes. It’s still unclear to me why I’m getting these system crashes. Initially I thought they were related to hardware being “too new”. However, I still experience the same crashes two years and many kernel upgrades later. The crashes don’t happen often, but I noticed that I typically get them during systemd upgrades. If I get a crash during systemd upgrade it will most likely leave the system in a bad state, requiring me to manually interfere and fix things from a bootable USB. This is really bad because now I’m hesitant to perform system upgrades.

Here’s some lspci output for the reference:

00:00.0 Host bridge: Intel Corporation 8th/9th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] (rev 0a)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop 9 Series)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Z390 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)
03:00.0 Non-Volatile memory controller: Micron/Crucial Technology P1 NVMe PCIe SSD (rev 03)

My CPU is Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz.

Recently I’ve been contemplating switching to FreeBSD. I’m hoping to get more stability from the system at the expense of losing certain software (though I don’t need much). My biggest blocker at the moment is the lack of Docker for FreeBSD. It’s something I need for certain dev workflows and publishing my own software to GCP. Though, I wonder if I should be able to get around it with bhyve and VMs for docker where I need to build images.