Howdy Geekos!
I have a new install of Tumbleweed – 20220103 that is giving me BTRFS errors after being on for some amount of time. I’m not sure if this is a software fix, a BTRFS fix, an SSD going bad, or what.
I am entirely ignorant of this sort of low-level issue.
If it belongs in another category, feel free to move it!
Also let me know if I can provide any other information.
The error is not present in ‘journalctl’ when I search for it, and I haven’t had much luck online either. It is preceded by a whole line of “@^@^@^@^@^@^” at the top of the screen.
BTRFS error (device dm-1): bdev /dev/mapper/cl root errs: write 211, rd 13, flush 0, corrupt 0, gen 0
‘journalctl | grep btrfs’ shows some scrubs right before the crash (around 10:52). I have added a space gap around the line that looks the most confusing to me, and potentially similar to the error output above.
Jan 06 10:51:26 <HOSTNAME> systemd[1]: Stopped Balance block groups on a btrfs filesystem.
Jan 06 10:51:26 <HOSTNAME> systemd[1]: btrfs-defrag.timer: Deactivated successfully.
Jan 06 10:51:26 <HOSTNAME> systemd[1]: btrfs-scrub.timer: Deactivated successfully.
Jan 06 10:51:26 <HOSTNAME> systemd[1]: Stopped Scrub btrfs filesystem, verify block checksums.
Jan 06 10:51:26 <HOSTNAME> systemd[1]: btrfs-trim.timer: Deactivated successfully.
Jan 06 10:51:28 <HOSTNAME> systemd[1]: btrfsmaintenance-refresh.path: Deactivated successfully.
Jan 06 10:51:28 <HOSTNAME> systemd[1]: Stopped Watch /etc/sysconfig/btrfsmaintenance.
Jan 06 10:52:05 localhost dracut-cmdline[305]: Using kernel command line parameters: rd.driver.pre=btrfs rd.luks.uuid=luks-eb23bd18-dd9a-412c-aa14-3530d13fb038 rd.luks.uuid=luks-32eb3bab-373c-46c6-9906-585d0276896e root=/dev/mapper/cr_root rootfstype=btrfs rootflags=rw,relatime,ssd,space_cache=v2,subvolid=266,subvol=/@/.snapshots/1/snapshot,subvol=@/.snapshots/1/snapshot BOOT_IMAGE=/boot/vmlinuz-5.15.12-1-default root=UUID=25172501-f833-4edd-a758-020c0fa501af splash=silent quiet lsm=apparmor mitigations=auto
Jan 06 10:52:16 <HOSTNAME> systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance.
Jan 06 10:52:16 <HOSTNAME> systemd[1]: Started Balance block groups on a btrfs filesystem.
Jan 06 10:52:16 <HOSTNAME> systemd[1]: Started Scrub btrfs filesystem, verify block checksums.
Jan 06 12:54:09 localhost dracut-cmdline[305]: Using kernel command line parameters: rd.driver.pre=btrfs rd.luks.uuid=luks-eb23bd18-dd9a-412c-aa14-3530d13fb038 rd.luks.uuid=luks-32eb3bab-373c-46c6-9906-585d0276896e root=/dev/mapper/cr_root rootfstype=btrfs rootflags=rw,relatime,ssd,space_cache=v2,subvolid=266,subvol=/@/.snapshots/1/snapshot,subvol=@/.snapshots/1/snapshot BOOT_IMAGE=/boot/vmlinuz-5.15.12-1-default root=UUID=25172501-f833-4edd-a758-020c0fa501af splash=silent quiet lsm=apparmor mitigations=auto
Jan 06 12:54:17 <HOSTNAME> systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance.
Jan 06 12:54:17 <HOSTNAME> systemd[1]: Started Balance block groups on a btrfs filesystem.
Jan 06 12:54:17 <HOSTNAME> systemd[1]: Started Scrub btrfs filesystem, verify block checksums.
Jan 06 12:56:34 <HOSTNAME> sudo[3975]: <USER> : TTY=pts/1 ; PWD=/home/<USER> ; USER=root ; COMMAND=/usr/sbin/btrfs scrub /
Jan 06 12:56:40 <HOSTNAME> sudo[3980]: <USER> : TTY=pts/1 ; PWD=/home/<USER> ; USER=root ; COMMAND=/usr/sbin/btrfs scrub start /
I used to have kernel parameter added to boot: “nvme_core.default_ps_max_latency_us=0” but this (verified) results in incredibly slow shutdowns and restarts, taking around 5 minutes rather than the normal 10sec.
I can put up with slow shutdowns if it prevents system crashes, but I know there is something I am missing.
HARDWARE:
$ inxi -Fxxc
System: Host: <HOSTNAME> Kernel: 5.15.12-1-default x86_64 bits: 64 compiler: gcc v: 11.2.1
Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 wm: kwin_wayland dm: SDDM Distro: openSUSE Tumbleweed 20220103
Machine: Type: Laptop System: LENOVO product: 20UDCTO1WW v: ThinkPad T14 Gen 1 serial: <superuser required> Chassis:
type: 10 serial: <superuser required>
Mobo: LENOVO model: 20UDCTO1WW v: SDK0J40709 WIN serial: <superuser required> UEFI: LENOVO v: R1BET66W(1.35 )
date: 07/30/2021
Battery: ID-1: BAT0 charge: 44.3 Wh (86.0%) condition: 51.5/50.5 Wh (101.9%) volts: 12.1 min: 11.6 model: LGC 5B10W139
serial: 3176 status: Discharging
CPU: Info: 8-Core model: AMD Ryzen 7 PRO 4750U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 rev: 1 cache:
L2: 4 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 54299
Speed: 1391 MHz min/max: 1400/1700 MHz boost: enabled Core speeds (MHz): 1: 1391 2: 1329 3: 2127 4: 1650 5: 1319
6: 1319 7: 1441 8: 1540 9: 1986 10: 1398 11: 1388 12: 1340 13: 1386 14: 1389 15: 1936 16: 1672
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Renoir vendor: Lenovo driver: amdgpu v: kernel bus-ID: 07:00.0
chip-ID: 1002:1636
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 2-2:2 chip-ID: 04f2:b6d0
Display: wayland server: X.org 1.21.1.2 compositor: kwin_wayland driver: loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: <missing: xdpyinfo>
OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.12-1-default LLVM 13.0.0) v: 4.6 Mesa 21.3.1 direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 07:00.1 chip-ID: 1002:1637
Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
driver: snd_rn_pci_acp3x v: kernel bus-ID: 07:00.5 chip-ID: 1022:15e2
Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 07:00.6 chip-ID: 1022:15e3
Sound Server-1: ALSA v: k5.15.12-1-default running: yes
Sound Server-2: PulseAudio v: 15.0 running: yes
Sound Server-3: PipeWire v: 0.3.42 running: no
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3400
bus-ID: 02:00.0 chip-ID: 10ec:8168
IF: enp2s0f0 state: down mac: 00:2b:67:e7:a4:94
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 03:00.0 chip-ID: 8086:2723
IF: wlp3s0 state: up mac: 34:cf:f6:f4:8c:e7
Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 2000
bus-ID: 05:00.0 chip-ID: 10ec:8168
IF: enp5s0 state: down mac: 00:2b:67:e7:a4:93
IF-ID-1: virbr0 state: down mac: 52:54:00:62:f7:c1
Drives: Local Storage: total: 931.51 GiB used: 334.48 GiB (35.9%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS100T2B0C-00PXH0 size: 931.51 GiB speed: 31.6 Gb/s lanes: 4
serial: 2041B2808034 temp: 45.9 C
Partition: ID-1: / size: 929.01 GiB used: 334.47 GiB (36.0%) fs: btrfs dev: /dev/dm-1 mapped: cr_root
ID-2: /boot/efi size: 511 MiB used: 5.1 MiB (1.0%) fs: vfat dev: /dev/nvme0n1p1
ID-3: /home size: 929.01 GiB used: 334.47 GiB (36.0%) fs: btrfs dev: /dev/dm-1 mapped: cr_root
ID-4: /opt size: 929.01 GiB used: 334.47 GiB (36.0%) fs: btrfs dev: /dev/dm-1 mapped: cr_root
ID-5: /var size: 929.01 GiB used: 334.47 GiB (36.0%) fs: btrfs dev: /dev/dm-1 mapped: cr_root
Swap: ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-0 mapped: cr_swap
Sensors: System Temperatures: cpu: 45.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
Fan Speeds (RPM): fan-1: 2900
Info: Processes: 363 Uptime: 0h 5m Memory: 30.57 GiB used: 2.52 GiB (8.2%) Init: systemd v: 249 runlevel: 5
target: graphical.target Compilers: gcc: 11.2.1 alt: 11 Packages: note: see --pkg flatpak: 13 Shell: Bash v: 5.1.12
running-in: yakuake inxi: 3.3.07