You are not logged in.
Pages: 1
Hello
So i have some issue with reboot, only reboot, if i shutdown the computer and restart it, no issue what ever.
But if i reboot i'm stuck on the screen ask me if i want to go on boot menu.
I suspect zram to be the cause of that because each fail reboot attempt is follow by this
Sep 11 15:38:02 ThinkPad-Laptop-003 (udev-worker)[505]: zram0: /etc/udev/rules.d/99-zram.rules:1 Failed to write ATTR{/sys/devices/virtual/block/zram0/comp_algorithm}="zstd", ignoring: Device or resource busy
Sep 11 15:38:02 ThinkPad-Laptop-003 (udev-worker)[505]: zram0: /etc/udev/rules.d/99-zram.rules:1 Failed to write ATTR{/sys/devices/virtual/block/zram0/backing_dev}="/dev/volgroup0/lv_swap", ignoring: Device or resource busy
Sep 11 15:38:02 ThinkPad-Laptop-003 (udev-worker)[505]: zram0: /etc/udev/rules.d/99-zram.rules:1 Failed to write ATTR{/sys/devices/virtual/block/zram0/disksize}="8G", ignoring: Device or resource busy/etc/udev/rules.d/99-zram.rules
ACTION=="add", KERNEL=="zram0", ATTR{comp_algorithm}="zstd", ATTR{backing_dev}="/dev/volgroup0/lv_swap", ATTR{disksize}="8G", RUN="/usr/bin/mkswap -U clear /dev/%k", TAG+="systemd"my partitions thing
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 0B 0 disk
zram0 253:0 0 8G 0 disk [SWAP]
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /efi
└─nvme0n1p2 259:2 0 475.9G 0 part
└─lv_root 254:0 0 475.9G 0 crypt
├─volgroup0-lv_root 254:1 0 50G 0 lvm /
├─volgroup0-lv_home 254:2 0 300G 0 lvm /home
└─volgroup0-lv_swap 254:3 0 24G 0 lvm I use UKI, so i add some conf of my uki
/etc/cmdline.d/00-root.conf
rd.luks.name=a176b8d3-e57b-4e68-b684-479a1770ec9c=lv_root root=/dev/volgroup0/lv_root rw/etc/mkinitcpio.d/linux-hardened.preset
# mkinitcpio preset file for the 'linux-hardened' package
#ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux-hardened"
PRESETS=('default' 'fallback')
#default_config="/etc/mkinitcpio.conf"
#default_image="/boot/initramfs-linux-hardened.img"
default_uki="/efi/EFI/Linux/arch-linux-hardened.efi"
default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp"
#fallback_config="/etc/mkinitcpio.conf"
#fallback_image="/boot/initramfs-linux-hardened-fallback.img"
fallback_uki="/efi/EFI/Linux/arch-linux-hardened-fallback.efi"
fallback_options="-S autodetect"The thing i find weird is that the system stop booting before i was ask to enter my password to decrypt my main partition, but, i have nothing relatate to zram on my no crypt part of disk.
Tree of all my file and directory on clear text before decrypt by luks
/efi
└── EFI
└── Linux
├── arch-linux-hardened-fallback.efi
└── arch-linux-hardened.efi
3 directories, 2 filesLast edited by Wateir (2025-09-12 13:28:23)
Offline
Your udev rule is missing:
ATTR{initstate}=="0",Without it, the rule gets run twice and you get the warnings. https://wiki.archlinux.org/title/zram#Using_a_udev_rule was changed to use it in January.
But if i reboot i'm stuck on the screen ask me if i want to go on boot menu.
This has nothing to do with zram.
Since your ESP only contains the UKIs, are you booting directly from UEFI using boot entries created by efibootmgr?
If the UEFI is trowing you back to the boot menu, then it's likely because it can't find the file referenced by the boot entry. Perhaps the NVMe drive takes too long to initialize after rebooting? Try turning off "fast boot" in UEFI setup.
Offline
Your udev rule is missing:
ATTR{initstate}=="0",
Without it, the rule gets run twice and you get the warnings. https://wiki.archlinux.org/title/zram#Using_a_udev_rule was changed to use it in January.
Seems fix the issue, i can't reproduce it anymore
Since your ESP only contains the UKIs, are you booting directly from UEFI using boot entries created by efibootmgr?
exacly that.
I can't find right now the exact command i have use, gonna add it if i find it.
Btw gonna update post name because the issue is not zram
Offline
Some more information,
If the UEFI is trowing you back to the boot menu, then it's likely because it can't find the file referenced by the boot entry. Perhaps the NVMe drive takes too long to initialize after rebooting? Try turning off "fast boot" in UEFI setup.
What is call the "diagnostic" mode, i was on quick beofre, change nothing,
My fan blow full speed during the stuck menu, that i think it's because hight cpu usage relate to what you have say.
Reboot and go into bios menu stuck me into the "launch bios menu" too, with fan at max speed too
shutdown and restart just after have the same issue at rebooting, need to wait 5 or 10 sec before restart it after reboot.
leaving the bios menu, stuck me on the boot too. SO starting machine go into bios, leaving bios menu stuck me too, like a reboot.
Offline
Pages: 1