Suddenly started getting “unable to write” error windows appearing in KDE after a full day of normal computer use. I restarted the PC and now it won’t boot.
Relevant errors during boot:
BTRFS error (device nvme0n1p4) incorrect extent count for 2177892352; counted 1751, expected 1750
assertion failed: 0, in fs/btrfs/free-space-tree.c:1547
kernel BUG at fs/btrfs/free-space-tree.c:1547!
invalid opcode: 0000 [#1] PREEMPT
Tumbleweed will eventually drop to a maintenance command prompt.
Unable to write errors are a common result of a full root filesystem. You may have too many saved snapshots and need to remove some older ones. SDB:BTRFS - openSUSE Wiki addresses this. If the root filesystem is old, you may have accumulated too many journal logs in /var/log/journal/<longlongstring>/ and need to use sudo journalctl --vacuum. See man journalctl. sudo systemctl edit systemd-journald may be used to configure various limits on journal size, and whether a persistent journal is even kept - /var/log/journal/ may not even exist.