Since the Linux update from 14th of april (or maybe one or two days before), Linux Zen will hang when booting

Same problem with me. I just wanted to write a new topic in these forums but I’ll continue here. It must be a regression in the Kernel in the new update.

Since the Linux update from 14th of april (or maybe one or two days before), Linux Zen will hang when booting. The regression is even “backwards compatible”, causing boot errors with Linux-Zen boot options for all previous Snapper Snapshots as long as no previous snapshot was successfully restored. All of the older Linux-Zen options will fail with error messages “Failed to start Samba SMB Deamon” and “Failed to start Samba NMB Deamon”. Additionally, the error message “Failed to start Remount Root and Kernel File System” appears one or more times in between the green OK messages. (This remount failure is not a big problem. It also appears for the successfully booting older snapshot options and goes away when a previous snapshot is restored.)

With the newest Kernel update on my laptop’s disk, the only bootable options are Linux-LTS and Linux-Hardened from previous snapshots. And this time with a succesfully installed garuda-update (no crash due to the out of storage problem).

Because of this booting problem with the newest Kernel version I just noticed that no fallback options are able to boot for any snapshot, even after restoring a previous snapshot. This affects all snapshots. After the dracut initialization, it will not be able to access the SSD. It says “A start job is running for /dev/disk/by-uuid/…” but won’t finish even after minutes, so I cancel it with CTRL+ALT+Del. I don’t need to care as long as the non-fallback options would boot every time.

This same start job event appears on my laptop for all boot options of the newest snapshot after the kernel update. It happens after the “Target reached Initrd Root Device” message. As for the age of my laptop, it was released in 2022 which I got new in April 2023 (and it allowed choosing between Windows and Ubuntu as initial OS). From an unfamiliar user perspective, it looks like a disk driver bug or something.

My current procedure is to update everything except for the kernel and wait one or two weeks to retry it. I keep my data backuped on an external hard-drive using rsync commands.

1 Like

Please.

We need the garuda-inxi, always.

There are different problems here that we should not confuse.

:warning: Missing information requested in the template may result in not receiving assistance

Make sure you have done the following before you post:

Issue still unresolved? Then:

  • ONE issue per topic.
  • Describe your issue in detail. The more we know, the better we can help
  • Show us the results of your searches, and what you’ve tried
  • After rebooting, post the FULL output of garuda-inxi in the body of the post (not linked externally, or collapsed with the “hide details” feature)
  • Format terminal output (including your garuda-inxi) as a code block by clicking the preformatted text button (</>) , or put three tildes (~) above and below the text

Without garuda-inxi this request will be moved to 412 Precondition Failed


4 Likes

That is definitely not related to a kernel update because when you boot a snapshot, you are using the kernel as it was in a previous state (before being updated).

It could be a bad bootloader configuration. Have you ever installed Grub Customizer?

:point_up:

2 Likes

Thank you for putting it in a new thread.

Here is the desired garuda-inxi output.

System:
Kernel: 6.8.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=11d26dd1-3904-490b-9e30-1b11c6731dc0 rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=bbfad61d-c762-4f28-a49c-e041bde44e28 loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.0.3 tk: Qt v: N/A info: frameworks v: 6.1.0
wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Detachable System: SHIFT product: SHIFT13mi v: N/A
serial: <superuser required>
Mobo: SHIFT model: SHIFT13mi-pcb v: 06 serial: <superuser required>
part-nu: 0752454247011 uuid: <superuser required> UEFI: American Megatrends
LLC. v: 5.19 date: 01/13/2023
Battery:
ID-1: BAT0 charge: 35.5 Wh (74.0%) condition: 48.0/53.9 Wh (89.0%)
volts: 12.5 min: 11.6 model: Intel SR 1 SR Real Battery type: Unknown
serial: <filter> status: charging
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard
serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
microcode: 0xB6
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 8 MiB
desc: 1x8 MiB
Speed (MHz): avg: 762 high: 1097 min/max: 400/4200 scaling:
driver: intel_pstate governor: powersave cores: 1: 400 2: 400 3: 1047
4: 1097 5: 400 6: 1046 7: 725 8: 986 bogomips: 38707
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
alternate: xe arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports:
active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, HDMI-A-1
bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
Device-2: Orbbec 3D USB 2.0 Camera driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-5:2
chip-ID: 2bc5:051e class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: BOE Display 0x08dd built: 2019 res: 1920x1080
hz: 60 dpi: 166 gamma: 1.2 size: 294x165mm (11.57x6.5") diag: 337mm (13.3")
ratio: 16:9 modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel Xe Graphics (TGL GT2)
device-ID: 8086:9a49 memory: 30.36 GiB unified: yes
API: Vulkan v: 1.3.279 layers: 4 device: 0 type: integrated-gpu name: Intel
Xe Graphics (TGL GT2) driver: mesa intel v: 24.0.5-arch1.1
device-ID: 8086:9a49 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.5-arch1.1 (LLVM
17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio driver: snd_hda_intel
v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:a0c8 class-ID: 0403
Device-2: Orbbec 3D USB 2.0 Camera driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-5:2
chip-ID: 2bc5:051e class-ID: 0102 serial: <filter>
API: ALSA v: k6.8.4-zen1-1-zen status: kernel-api tools: N/A
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
chip-ID: 8086:a0f0 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:5 chip-ID: 8087:0026
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c0000
Drives:
Local Storage: total: 953.87 GiB used: 235.03 GiB (24.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lexar model: SSD NM6A1 1TB
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: V1.25D temp: 47.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 48.14 GiB size: 48.14 GiB (100.00%)
used: 40.53 GiB (84.2%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:6
ID-2: /boot/efi raw-size: 501 MiB size: 500 MiB (99.80%)
used: 588 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p6 maj-min: 259:5
ID-3: /home raw-size: 280.27 GiB size: 280.27 GiB (100.00%)
used: 194.49 GiB (69.4%) fs: btrfs dev: /dev/nvme0n1p8 maj-min: 259:7
ID-4: /var/log raw-size: 48.14 GiB size: 48.14 GiB (100.00%)
used: 40.53 GiB (84.2%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:6
ID-5: /var/tmp raw-size: 48.14 GiB size: 48.14 GiB (100.00%)
used: 40.53 GiB (84.2%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:6
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.09 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
ID-2: swap-2 type: partition size: 3.91 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p9 maj-min: 259:8
Sensors:
System Temperatures: cpu: 53.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB note: est. available: 31.09 GiB used: 5.41 GiB (17.4%)
Processes: 330 Power: uptime: 0m states: freeze,mem,disk suspend: s2idle
avail: deep wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.42 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 2321 libs: 570 tools: pamac,paru Compilers:
clang: 17.0.6 gcc: 13.2.1 Shell: garuda-inxi default: Bash v: 5.2.26
running-in: konsole inxi: 3.3.34
Garuda (2.6.25-1):
System install date:     2023-04-30
Last full system update: 2024-04-10
Is partially upgraded:   Yes
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Probably (Run as root to verify)
Failed units:

Because of the problems with the update, I now updated all packages except for Linux packages and Dracut. It did work and I can immediately reboot without failures.

I could try to update some of the remaining packages and see what works if you haven’t heared of this problem.

I have not heard about Grub Customizer before, so likely no. I did not try to customize grub yet. It just happens after the full system upgrade.

You are right. It isn’t a kernel regression.

I could update and reboot successfully when I update everything without just Dracut. (And krunner5 and electron25 whose files could not be downloaded at the moment.)

After updating Dracut, it seems, it will halt after “Target reached Initrd root Device” and the “start job” runs literally with no limit.

Please paste the full output from garuda-update into the thread so we can take a look.

4 Likes

Yeah.
So, in order to show you, I have updated everything now, except for Dracut, and I could restart without any problems or red error messages.

However, then I just did the full update (only Dracut remaining) with garuda-update.

:: Synchronizing package databases...
garuda is up to date
core is up to date
extra is up to date
multilib is up to date
chaotic-aur is up to date

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵

:: Synchronizing package databases...
garuda downloading...
core downloading...
extra downloading...
multilib downloading...
chaotic-aur downloading...
spawn pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) dracut-101-1

Total Installed Size:  1.02 MiB
Net Upgrade Size:      0.01 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                                                                 [----------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                               [----------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                    [----------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                              [----------------------------------------------------------------------------] 100%
(1/1) checking available disk space                                                                                            [----------------------------------------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/2) Performing snapper pre snapshots for the following configurations...
==> root: 546
(2/2) Prune package cache before updating
==> no candidate packages found for pruning
:: Processing package changes...
(1/1) upgrading dracut                                                                                                         [----------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/9) Reloading system manager configuration...
(2/9) Arming ConditionNeedsUpdate...
(3/9) Updating initramfs...
:: Building initramfs for linux-lts (6.6.28-1-lts)
dracut[W]: If you need to use bluetooth, please include it explicitly.
dracut[W]: If you need to use bluetooth, please include it explicitly.
:: Building fallback initramfs for linux-lts (6.6.28-1-lts)
:: Building initramfs for linux-hardened (6.8.7-hardened1-2-hardened)
dracut[W]: If you need to use bluetooth, please include it explicitly.
dracut[W]: If you need to use bluetooth, please include it explicitly.
:: Building fallback initramfs for linux-hardened (6.8.7-hardened1-2-hardened)
:: Building initramfs for linux-zen (6.8.7-zen1-1-zen)
dracut[W]: If you need to use bluetooth, please include it explicitly.
dracut[W]: If you need to use bluetooth, please include it explicitly.
:: Building fallback initramfs for linux-zen (6.8.7-zen1-1-zen)
(4/9) Refreshing PackageKit...
(5/9) Foreign/AUR package notification
archlinux-appstream-data-pamac 1:20230421-1
clang15 15.0.7-2
cnmatrix-git 0.0.r36.g5936c62-1
compiler-rt15 15.0.7-1
electron19 19.1.9-5
electron25 25.9.8-1
fcitx5-input-support 2021.09-1
intel-media-stack-bin 1:23.4.3-1
intel-power-control-git r33.244dc71-1
jupyter-lsp 2.2.5-1
kdav5 1:5.115.0-1
khotkeys 5.27.10-1
khtml 5.115.0-1
kjs 5.115.0-1
kpeoplevcard 0.1-2
kquickcharts5 5.115.0-1
krunner5 5.115.0-4
kwin-scripts-forceblur 0.6.1-1.3
librealsense 2.54.2-1
libsidplay 1.36.59-10
libsurvive 1.0-3
lldb-mi-git r88.610d71a-1
llvm15-libs 15.0.7-1
monado 21.0.0-3
oculus-udev 1-2
openhmd 0.3.0-1
plasma-runners-translator 1.5.0-4
plasma5-applets-eventcalendar 76-1.4
pyside2 5.15.13-1
python-shiboken2 5.15.13-1
python2 2.7.18-10
qgpgme-qt5 1.23.2-1
sciplot 1:0.2.2-2
skypeforlinux-stable-bin 8.109.0.209-1
xr-hardware 1.1.1-1
youtube-dl 2021.12.17-2
(6/9) Orphaned package notification...
audiofile 0.3.6-8
base-devel 1-1
benchmark 1.8.3-1
bluez-qt5 5.115.0-1
botan2 2.19.3-1
chrpath 0.17-1
clang15 15.0.7-2
cmark 0.31.0-2
doxygen 1.10.0-3
eigen 3.4.0-2
electron 1:30-1
electron19 19.1.9-5
electron22 22.3.27-5
electron25 25.9.8-1
electron27 27.3.11-1
electron29 29.3.1-1
embree3 3.13.5-2
enet 1.3.17-1
extra-cmake-modules 6.1.0-1
flake8 1:7.0.0-1
gdb 14.2-1
glibmm-2.68 2.80.0-1
gn 0.2157.22581fb4-1
gnome-online-accounts 3.50.1-1
go 2:1.22.2-1
gperf 3.1-5
gptfdisk 1.0.10-1
grantlee 5.3.1-1
haskell-aeson-yaml 1.1.0.1-186
haskell-atomic-write 0.2.0.7-259
haskell-cborg-json 0.2.5.0-85
haskell-cryptohash-sha256 0.11.102.1-90
haskell-cryptonite 0.30-72
haskell-diff 0.4.1-74
haskell-dotgen 0.4.3-9
haskell-either 5.0.2-113
haskell-http-client-tls 0.3.6.3-53
haskell-lens-family-core 2.1.3-1
haskell-megaparsec 9.5.0-9
haskell-mmorph 1.2.0-6
haskell-parsers 0.12.11-115
haskell-pretty-simple 4.1.2.0-71
haskell-repline 0.4.2.0-2
haskell-serialise 0.2.6.1-24
haskell-text-manipulate 0.3.1.0-64
haskell-th-lift-instances 0.1.20-46
haskell-uri-encode 1.5.0.7-212
id3lib 3.8.3-18
jre-openjdk-headless 22.0.1.u0-1
kactivities-stats5 5.115.0-1
kcalendarcore5 5.115.0-1
kdav5 1:5.115.0-1
kdepim-runtime 24.02.2-1
kdesu5 5.115.0-1
kdnssd5 5.115.0-1
kdsoap-qt5 2.2.0-1
kfilemetadata5 5.115.0-1
kholidays5 1:5.115.0-1
khtml 5.115.0-1
kidletime5 5.115.0-1
kimageannotator-qt5 0.7.1-3
kirigami-addons5 0.11.0-7
kontactinterface 24.02.2-1
kpeoplevcard 0.1-2
kpmcore 24.02.2-1
kquickcharts5 5.115.0-1
kquickimageeditor5 0.3.0-2
ktexteditor5 5.115.0-1
ktnef 24.02.2-1
ldns 1.8.3-2
libgee 0.20.6-1
libgexiv2 0.14.2-1
libgsf 1.14.52-1
libindicator-gtk3 12.10.1-10
libmgba 0.10.3-1
libngtcp2 1.4.0-1
libqaccessibilityclient-qt5 0.6.0-1
libquotient 0.8.2-1
libsidplay 1.36.59-10
libvips 8.15.1-5
libxnvctrl 550.67-1
lld 17.0.6-1
lua53 5.3.6-2
mbox-importer 24.02.2-1
meson 1.4.0-2
modemmanager-qt5 5.115.0-1
networkmanager-qt5 5.115.0-1
openfortivpn 1.21.0-1
oxygen-sounds 6.0.4-1
patchutils 0.4.2-2
perl-ipc-run3 0.049-1
pim-data-exporter 24.02.2-1
pim-sieve-editor 24.02.2-1
purpose5 5.115.0-3
pyside2 5.15.13-1
python-atspi 2.46.1-1
python-build 1.2.1-1
python-capng 0.8.5-1
python-gpgme 1.23.2-1
python-httplib2 0.22.0-4
python-installer 0.7.0-4
python-wheel 0.43.0-1
qemu-base 8.2.2-2
qgpgme-qt5 1.23.2-1
qqc2-desktop-style5 5.115.0-1
qt5-doc 5.15.13-1
qt5-webview 5.15.13-1
qtermwidget 1.4.0-1
qtkeychain-qt5 0.14.2-1
sqlcipher 4.5.5-1
sysfsutils 2.1.1-1
tinycompress 1.2.11-1
virt-manager 4.1.0-2
virt-viewer 11.0-2
wayland-protocols 1.34-1
webrtc-audio-processing 0.3.1-4
xdman-beta-bin 8.0.29-8
xorg-server-xvfb 21.1.13-1
xplc 0.3.13-10
yarn 1.22.22-1
(7/9) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/passwd.pacnew
/etc/shells.pacnew
/etc/locale.gen.pacnew
/etc/pam.d/kde.pacnew
/etc/pamac.conf.pacnew
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge
(8/9) Performing snapper post snapshots for the following configurations...
==> root: 547
(9/9) Syncing all file systems...

System updated! 🐧

After I did that, it would have the problem that I mentioned in my original post above. The LTS and hardened images load but only from snapshots before the Dracut update (note, I was already suspect of the update when I saw the message about Bluetooth). In the newest snapshot (system state), it would always hang after “Reached target Initrd Root Device”.

Btw, I also see a blue message “Blutooth …: Malformed MFST vendor event: 0x02” appearing whenever I boot (also before the Dracut update).

Not sure, if these blue notification messages are related.

If you downgrade dracut and regenerate the images, does it restore the ability to boot normally?

sudo downgrade dracut
sudo dracut-rebuild

I am just wondering if there is a regression or bug in the latest version of dracut which is affecting your system, or if perhaps the dracut thing is a coincidence.

2 Likes

Thank you for your answer.

The dracut version I am using for the time being is “059-6”. I have problems with version “101-1” which looks like a major version update and major version updates may break old functionality. I currently update everything except for Dracut which requires me to do some extra clicks and command. Once they release a newer Dracut version, I’ll try it. Hm, I could maybe drop a bug report or something for the maintainer.

I posted the issue about Dracut hanging at the start job.
It was closed because the versioned shown in the update is not known to them???
Wondering, if they just don’t know about Arch extra repo versioning or if something is foul.

That was the wrong GitHub site.
The dracut package in the Arch repo is linked to this upstream url:

The latest issue there (#221) is already “yours”. They already noticed it in the other site and opened one in the new/correct site and are awaiting additional info.

5 Likes

Yes, right.

In my bug report, the developer(s) assumes, it could be related to Garuda’s own support module. It seems to work with Dracut 059-6 but when I update to Dracut 101-1, the start job is hanging. It tries to load a disk device UUID which I do not find in GParted or in my current system when successfully booted.

I finally had a chance to take a look at this tonight. I was able to reproduce the issue by bringing a KDE install up to date, creating a snapshot, and attempting to boot into it.

Has anyone else tested booting a snapshot on dracut 101? I am kind of surprised there are not more issues in the forum related to this. :thinking:

❯ pacman -Qs dracut
local/dracut 101-1
An event driven initramfs infrastructure
local/garuda-dracut-support 1.0.1-1
Dracut support for Garuda Linux
❯ garuda-inxi
System:
Kernel: 6.8.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/dr460nized/boot/vmlinuz-linux-zen
root=UUID=5fa54f34-b5fc-40be-8092-8ba34ced9eba rw
rootflags=subvol=dr460nized quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.1.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: Framework product: Laptop v: AB
serial: <superuser required>
Mobo: Framework model: FRANBMCP0B v: AB serial: <superuser required>
part-nu: FRANBMCP0B uuid: <superuser required> UEFI: INSYDE v: 03.10
date: 07/19/2022
Battery:
ID-1: BAT1 charge: 41.6 Wh (80.8%) condition: 51.5/55.0 Wh (93.5%)
volts: 16.6 min: 15.4 model: NVT Framewo type: Li-ion serial: <filter>
status: charging cycles: 137
CPU:
Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
microcode: 0xB6
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 1048 high: 2976 min/max: 400/4700 scaling:
driver: intel_pstate governor: powersave cores: 1: 1019 2: 1100 3: 400
4: 400 5: 1075 6: 1017 7: 2976 8: 400 bogomips: 44851
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Framework
driver: i915 v: kernel alternate: xe arch: Gen-12.1 process: Intel 10nm
built: 2020-21 ports: active: DP-5,DP-6,eDP-1 empty: DP-1, DP-2, DP-3,
DP-4, DP-7 bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
Device-2: Realtek Laptop Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-7:3 chip-ID: 0bda:5634
class-ID: 0e02 serial: <filter>
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 d-rect: 5984x1440
display-ID: 0
Monitor-1: DP-5 pos: center res: 2560x1440 size: N/A modes: N/A
Monitor-2: DP-6 pos: right res: 1920x1080 size: N/A modes: N/A
Monitor-3: eDP-1 pos: primary,left res: 1504x1003 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris wayland: drv: iris x11:
drv: iris inactive: gbm
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel Xe Graphics (TGL GT2)
device-ID: 8086:9a49 memory: 15.05 GiB unified: yes display-ID: :1.0
API: Vulkan v: 1.3.279 layers: 3 device: 0 type: integrated-gpu name: Intel
Xe Graphics (TGL GT2) driver: mesa intel v: 24.0.5-arch1.1
device-ID: 8086:9a49 surfaces: xcb,xlib,wayland device: 1 type: cpu
name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
v: 24.0.5-arch1.1 (LLVM 17.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Framework
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
Device-2: Realtek USB Audio driver: snd-usb-audio type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4.3.4:9 chip-ID: 0bda:402e
class-ID: 0102 serial: <filter>
API: ALSA v: k6.8.7-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: aa:00.0
chip-ID: 8086:2725 class-ID: 0280
IF: wlp170s0 state: up mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
rev: 3.0 speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 2-3.4:4
chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp0s13f0u3u4 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:8 chip-ID: 8087:0032
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 931.51 GiB used: 136.86 GiB (14.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: WDS100T3X0C-00SJG0 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 111130WD temp: 36.9 C scheme: GPT
Partition:
ID-1: / raw-size: 931.42 GiB size: 931.42 GiB (100.00%)
used: 136.85 GiB (14.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 94 MiB size: 92.5 MiB (98.44%)
used: 9.4 MiB (10.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 931.42 GiB size: 931.42 GiB (100.00%)
used: 136.85 GiB (14.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 931.42 GiB size: 931.42 GiB (100.00%)
used: 136.85 GiB (14.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 931.42 GiB size: 931.42 GiB (100.00%)
used: 136.85 GiB (14.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.41 GiB used: 773.5 MiB (4.9%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 45.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.41 GiB used: 3.19 GiB (20.7%)
Processes: 269 Power: uptime: 20m states: freeze,mem,disk suspend: s2idle
avail: deep wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.15 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1395 libs: 386 tools: octopi,pacseek,paru
Compilers: gcc: 13.2.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.34
Garuda (2.6.26-1):
System install date:     2024-03-19
Last full system update: 2024-04-25
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

The errors when booting a snapshot are like this:

[FAILED] Failed to start Remount Root and Kernel File Systems.
[FAILED] Failed to start Remount Root and Kernel File Systems.
[FAILED] Failed to start Remount Root and Kernel File Systems.
[FAILED] Failed to start Remount Root and Kernel File Systems.
[FAILED] Failed to start Samba NMB Daemon.
[FAILED] Failed to start Samba NMB Daemon.

It hangs there, but switching to a TTY works. It looks like the display manager is not able to start:

sddm[796]: Initializing...
sddm[796]: Starting...
sddm[796]: Logind interface found
sddm[796]: Adding new display...
sddm[796]: Loaded empty theme configuration
sddm[796]: Xauthority path: "/run/sddm/xauth_wnehTK"
sddm[796]: Using VT 2
sddm[796]: Display server starting...
sddm[796]: Writing cookie to "/run/sddm/xauth_wnehTK"
sddm[796]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_wnehTK -noreset -displayfd 16
sddm[796]: Failed to read display number from pipe
sddm[796]: Display server stopping...
sddm[796]: Attempt 1 starting the Display server on vt 2 failed
sddm[796]: Display server starting...
sddm[796]: Writing cookie to "/run/sddm/xauth_wnehTK"
sddm[796]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_wnehTK -noreset -displayfd 16
sddm[796]: Failed to read display number from pipe
sddm[796]: Display server stopping...
sddm[796]: Attempt 2 starting the Display server on vt 2 failed
sddm[796]: Display server starting...
sddm[796]: Writing cookie to "/run/sddm/xauth_wnehTK"
sddm[796]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_wnehTK -noreset -displayfd 16
sddm[796]: Failed to read display number from pipe
sddm[796]: Display server stopping...
sddm[796]: Attempt 3 starting the Display server on vt 2 failed
sddm[796]: Could not start Display server on vt 2

I logged in to the TTY and ran startplasma-wayland and started getting a ton of pop-up notifications with an assortment of failure messages like this:

"Configuration file “/home/jeremy/.config/ksplashrc” not writeable.
Please contact your system administrator.

There were probably a dozen messages similar to that one, and then one of these:

The following installation problem was detected
while trying to start Plasma:

<html>No write access to $HOME directory (/home/
jeremy). If this is intentional, set
<tt>$KDE_HOME_READONLY=1</tt> in your
environment.</html>

Plasma is unable to start.

Finally, to my surprise, I got the notification from Snapper Tools:

Apologies for the terrible quality of the photo, and the dust on the screen and so on.

I did click Yes to restore the snapshot, but I never got a notification that it had been restored. Later, after a reboot, I confirmed that it in fact did not restore the snapshot, it must have failed somehow.

At some point, the desktop did load though, which I was also not expecting. I got a few more notifications mentioning this or that had failed, but considering all that I guess the desktop seemed at least pseudo-normal.


Based on this clue (posted by @Elmar above), I decided to try something wild and I removed the /usr/lib/dracut/modules.d/91btrfs-snapshot-overlay/ directory (it has two scripts inside, module-setup.sh and snapshot-overlay.sh), then regenerated the initramfs images. Finally, I generated a pair of new snapshots by uninstalling a package, then attempted to reboot to the pre-uninstall snapshot.

First, I got a black screen…but when I switched to a TTY and switched back, finally an error message popped up (again, please forgive the bad photo):

After I clicked OK, SDDM loaded normally, and the desktop as well (no dozens of error messages), and the Snapper Tools prompt appeared (“You are currently booted into a snapshot, would you like to restore it?”). I clicked Yes to restore the snapshot but it didn’t do anything again. I searched all running processes for snap and got nothing–I guess maybe it is not succeeding for some reason.

I opened Btrfs Assistant to restore the snapshot, and that succeeded immediately. I rebooted afterward and confirmed the system is the restored snapshot, with the package I uninstalled and everything.


TL;DR

It seems like the scripts in /usr/lib/dracut/modules.d/91btrfs-snapshot-overlay/ need to be reworked following the latest update to dracut. I have opened an issue here: garuda-dracut-support - issue with overlayfs script after dracut 101 update (#10) · Issues · Garuda Linux 🦅 / PKGBUILDs · GitLab


Update

Since posting this, I have also tested Gnome and Sway. They do throw the same [FAILED] Failed to start Remount Root and Kernel File Systems errors just before the display manager loads when booting a snapshot on dracut 101, but it’s just a flash on the screen and then the display manager comes up normally. Logging in and starting the session works fine. The Snapper prompt still does not work, but restoring the snapshots through Btrfs Assistant is working fine.

It still seems something about the dracut update is causing a problem somewhere, but perhaps the scripts in /usr/lib/dracut/modules.d/91btrfs-snapshot-overlay/ are a red herring and the actual issue is with SDDM.

5 Likes

My experience here is not at all the same. It is definitely a kernel issue.

Ever since a new linux-zen kernel update, the home, log and other partitions are mounted read only for some reason.

1 Like

What kernel are you testing with?

I got different results on different DEs (different display managers), but they were all using the 6.8.7 Zen kernel.

Can confirm this is a problem for me here too.
When I tried booting with linux-zen into plasma 6 it hangs after logging in through sddm. This applied to even earlier snapshots too. When using the linux-lts kernel (which I have precisely for this type of stuff lol), it works.
Curiously though, I also have hyprland, and I can use hyprland even with the zen kernel.

So, if this problem affects KDE Plasma, what Desktop environment are you Garuda Team using or endorsing?

Try switching to the LTS kernel for now and see if it resolves the issue (the LTS kernel does not use the 6.8 version).