You are not logged in.

#1 2024-11-25 10:23:27

ksnw
Member
Registered: 2023-02-26
Posts: 8

Boot Failure - Timed out waiting for device /dev/*xxxx-xxxx-xxx

Since yesterday I wasn't able to wake from hibernation, here are the messages when booting from hibernation.

[ TIME ] Timed out waiting for device /dev/*xxxx-xxxx-xxx....
[DEPEND] Dependency failed for Cryptography Setup for crypt_root.
[DEPEND] Dependency failed for Local Encrypted Volumes.
[ TIME ] Timed out waiting for device /dev/mapper/crypt_root.
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System.
[DEPEND] Dependency failed for Mountpoints Configured in the Real Root.
[DEPEND] Dependency failed for Initrd Root Device.
[DEPEND] Dependency failed for File System Check on /dev/mapper/crypt_root.

It is my root on LUKS2. If I boot from archiso usb, I can `cryptsetup open` that drive without an issue at all. So somehow just the booting process is disturbed.

I did run pacman -Syu regularly and the only suspicious package was kernel, so I reverted from 6.12.1.arch1-1 to 6.11.7.arch1-2, but the problem persists.

I run root on LUKS2, systemd-boot bootloader, UKI image.

/etc/kernel/cmdline: 
rd.luks.name=xxxx-xxxx-xxxx=crypt_root rd.luks.options=no-read-workqueue,no-write-workqueue,discard root=/dev/mapper/crypt_root rw rd.log=file ipv6.disable=1 quiet resume=/dev/mapper/crypt_root resume_offset=xxxxxxxxx

/etc/mkinitcpio.conf:
HOOKS=(systemd keyboard autodetect microcode modconf kms keymap consolefont block sd-encrypt filesystems fsck)

/etc/mkinitcpio.d/linux.preset:
ALL_kver="/boot/vmlinuz-linux"
PRESETS=('default' 'fallback')
default_uki="/efi/EFI/Linux/arch-linux.efi"
fallback_uki="/efi/EFI/Linux/arch-linux-fallback.efi"
fallback_options="-S autodetect"

/etc/loader/loader.conf:
default arch-linux.efi

/etc/crypttab
#empty

/etc/fstab
PARTUUID=xxxx /efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
UUID=xxxx / ext4 rw,relatime,stripe=2 0 1

One of the problems I have is, the first error line, timed out ... /dev/*xxx, where the * is actually an ASCII square char. When I search for 'Timed out waiting for device' online, all other users encountered something like /dev/by-something/, where for me it is /dev/ directly followed by uuid. I am not sure whether that is part of the problem or not.

Weird thing is, I tried a fresh install on another machine (by default the newest kernel 6.12.1 then), won't boot up the first time, and the error is exactly the same, except without mentioning hibernation.

Considering I haven't changed any configuration on my machine except updating packages, and I installed a new machine with exactly the same configs then hitting the same error, I guess there is some updates in repo that caused this? But still, so far I haven't seen anybody reporting about this...

Help appreciated!

Last edited by ksnw (2024-11-25 11:27:56)

Offline

#2 2024-11-29 18:01:00

xerxes_
Member
Registered: 2018-04-29
Posts: 815

Re: Boot Failure - Timed out waiting for device /dev/*xxxx-xxxx-xxx

Boot from archiso, mount your partitions (especially boot) and post output of commands:

bootctl status
bootctl list

Read 'man bootctl', so you may find even more useful parameters to find what happened.
Here is how to upload text: https://wiki.archlinux.org/title/List_o … ted_client

Offline

Board footer

Powered by FluxBB