On Mon, 26 Sep 2022 18:14:19 +0200, Guilhem Moulin wrote: > On Fri, 23 Sep 2022 at 16:47:19 +0900, Yuya Nishihara wrote: > > This is the output of 'cryptsetup luksResume', at version 2:2.5.0-3: > > Thanks for the debug log! Did you obtain that by adding ‘--debug’ to > /lib/cryptsetup/functions:resume_mapping() and rebuilding the initramfs?
Yes, but I didn't run 'update-initramfs -u'. > This is where our traces differ: > > > # Detected dm-ioctl version 4.47.0. > > # Detected dm-crypt version 1.24.0. > > # Device-mapper backend running with UDEV support enabled. > > While I got > > # Detected dm-ioctl version 4.46.0. > # Detected dm-crypt version 1.24.0. > # Udev is not running. Not using udev synchronisation code. > # Device-mapper backend running with UDEV support disabled. > > Which suggests that my resume environment is lacking /run/udev/control, > while yours doesn't: > > > https://sources.debian.org/src/lvm2/2.03.16-1/device_mapper/libdm-common.c/?hl=2336#L2336 > > https://sources.debian.org/src/systemd/251.4-3/src/libudev/libudev-queue.c/?hl=133#L133 > > Could you please apply /tmp/cryptsetup-suspend-wrapper.diff to > /lib/cryptsetup/scripts/suspend/cryptsetup-suspend-wrapper so we see > what the list of mounted filesystems and the content of /run/udev looks > like? The resume environment shouldn't contain /run/udev since we're no > longer bind-mounting /run. I couldn't find the diff, so tried with the following changes to 'functions'. This time, I also ran 'update-initramfs -u'. resume_mapping() { local keyfile="${1:--}" - /sbin/cryptsetup -T1 \ + mount | tee -a /var/tmp/cryptsetup-resume.log + tree /run/udev | tee -a /var/tmp/cryptsetup-resume.log + stdbuf -oL -eL /sbin/cryptsetup -T1 \ ${CRYPTTAB_OPTION_header:+--header="$CRYPTTAB_OPTION_header"} \ ${CRYPTTAB_OPTION_keyslot:+--key-slot="$CRYPTTAB_OPTION_keyslot"} \ ${CRYPTTAB_OPTION_keyfile_size:+--keyfile-size="$CRYPTTAB_OPTION_keyfile_size"} \ ${CRYPTTAB_OPTION_keyfile_offset:+--keyfile-offset="$CRYPTTAB_OPTION_keyfile_offset"} \ --type="$CRYPTTAB_TYPE" --key-file="$keyfile" \ - luksResume "$CRYPTTAB_NAME" + --debug \ + luksResume "$CRYPTTAB_NAME" 2>&1 | tee -a /var/tmp/cryptsetup-resume.log } The attached log file shows /run/udev/control exists, but it might not be what you suggested because the log is captured out of the chroot environment. Maybe that's why udevd is found in my environment. > If for some reason something automatically creates /run/udev/control > then I think a fix would be to pass ‘DM_DISABLE_UDEV=y’ to the > resume_device() environment. Thanks, adding DM_DISABLE_UDEV=y indeed fixed the problem. I'm not sure if the following change is correct, but it worked fine on my machine. --- a/debian/scripts/suspend/cryptsetup-suspend-wrapper +++ b/debian/scripts/suspend/cryptsetup-suspend-wrapper @@ -309,7 +309,7 @@ devices_remaining="$(chroot "$INITRAMFS_DIR" /bin/sh -c " # resume remaining active luks devices (non-initramfs devices) for dev in $devices_remaining; do if crypttab_find_entry --quiet "$dev"; then - resume_device "$dev" || true + DM_DISABLE_UDEV=y resume_device "$dev" || true else log_error "'$dev' not found in /etc/crypttab" fi
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=16018708k,nr_inodes=4004677,mode=755,inode64) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=3207736k,mode=755,inode64) /dev/mapper/vg0-root on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64) cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13415) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=409600,inode64) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700) /dev/nvme0n1p2 on /boot type ext4 (rw,relatime) /dev/mapper/vg0-var on /var type ext4 (rw,relatime) /dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro) /dev/mapper/vg0-home on /home type ext4 (rw,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=3207736k,nr_inodes=801934,mode=700,uid=1000,gid=1000,inode64) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) ramfs on /run/cryptsetup/cryptsetup-suspend-initramfs type ramfs (ro,relatime,mode=700) udev on /run/cryptsetup/cryptsetup-suspend-initramfs/main/dev type devtmpfs (rw,nosuid,noexec,relatime,size=16018708k,nr_inodes=4004677,mode=755,inode64) proc on /run/cryptsetup/cryptsetup-suspend-initramfs/main/proc type proc (rw,nosuid,nodev,noexec,relatime) ramfs on /run/cryptsetup/cryptsetup-suspend-initramfs/main/run type ramfs (rw,nosuid,nodev,noexec,relatime) sysfs on /run/cryptsetup/cryptsetup-suspend-initramfs/main/sys type sysfs (rw,nosuid,nodev,noexec,relatime) devpts on /run/cryptsetup/cryptsetup-suspend-initramfs/main/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) /run/udev âââ control âââ data â  âââ +acpi:ACPI0003:00 â  âââ +acpi:ACPI0007:00 â  âââ +acpi:ACPI0007:01 â  âââ +acpi:ACPI0007:02 â  âââ +acpi:ACPI0007:03 â  âââ +acpi:ACPI0007:04 â  âââ +acpi:ACPI0007:05 â  âââ +acpi:ACPI0007:06 â  âââ +acpi:ACPI0007:07 â  âââ +acpi:ACPI0007:08 â  âââ +acpi:ACPI0007:09 â  âââ +acpi:ACPI0007:0a â  âââ +acpi:ACPI0007:0b â  âââ +acpi:ACPI0007:0c â  âââ +acpi:ACPI0007:0d â  âââ +acpi:ACPI0007:0e â  âââ +acpi:ACPI0007:0f â  âââ +acpi:ACPI0010:00 â  âââ +acpi:AMDI0010:00 â  âââ +acpi:AMDI0030:00 â  âââ +acpi:INT3515:00 â  âââ +acpi:LEN0071:00 â  âââ +acpi:LEN0100:00 â  âââ +acpi:LEN0111:00 â  âââ +acpi:LEN0130:00 â  âââ +acpi:LEN0268:00 â  âââ +acpi:LEN2064:00 â  âââ +acpi:LNXPOWER:00 â  âââ +acpi:LNXPOWER:01 â  âââ +acpi:LNXPOWER:02 â  âââ +acpi:LNXPOWER:03 â  âââ +acpi:LNXPOWER:04 â  âââ +acpi:LNXPOWER:05 â  âââ +acpi:LNXPOWER:06 â  âââ +acpi:LNXPOWER:07 â  âââ +acpi:LNXPWRBN:00 â  âââ +acpi:LNXSYBUS:00 â  âââ +acpi:LNXSYBUS:01 â  âââ +acpi:LNXSYSTM:00 â  âââ +acpi:LNXTHERM:00 â  âââ +acpi:LNXVIDEO:00 â  âââ +acpi:PNP0000:00 â  âââ +acpi:PNP0100:00 â  âââ +acpi:PNP0200:00 â  âââ +acpi:PNP0800:00 â  âââ +acpi:PNP0A08:00 â  âââ +acpi:PNP0B00:00 â  âââ +acpi:PNP0C01:00 â  âââ +acpi:PNP0C02:00 â  âââ +acpi:PNP0C02:01 â  âââ +acpi:PNP0C02:02 â  âââ +acpi:PNP0C02:03 â  âââ +acpi:PNP0C02:04 â  âââ +acpi:PNP0C02:05 â  âââ +acpi:PNP0C02:06 â  âââ +acpi:PNP0C02:07 â  âââ +acpi:PNP0C02:08 â  âââ +acpi:PNP0C02:09 â  âââ +acpi:PNP0C02:0a â  âââ +acpi:PNP0C02:0b â  âââ +acpi:PNP0C02:0c â  âââ +acpi:PNP0C04:00 â  âââ +acpi:PNP0C09:00 â  âââ +acpi:PNP0C0A:00 â  âââ +acpi:PNP0C0C:00 â  âââ +acpi:PNP0C0D:00 â  âââ +acpi:PNP0C0E:00 â  âââ +acpi:PNP0C0F:00 â  âââ +acpi:PNP0C0F:01 â  âââ +acpi:PNP0C0F:02 â  âââ +acpi:PNP0C0F:03 â  âââ +acpi:PNP0C0F:04 â  âââ +acpi:PNP0C0F:05 â  âââ +acpi:PNP0C0F:06 â  âââ +acpi:PNP0C0F:07 â  âââ +acpi:PNP0C14:00 â  âââ +acpi:PNP0C14:01 â  âââ +acpi:PNP0C14:02 â  âââ +acpi:PNP0C14:03 â  âââ +acpi:PNP0C14:04 â  âââ +acpi:PNP0C14:05 â  âââ +acpi:SMB0001:00 â  âââ +acpi:STM0125:00 â  âââ +acpi:USBC000:00 â  âââ b254:0 â  âââ b254:1 â  âââ b254:2 â  âââ b254:3 â  âââ b259:0 â  âââ b259:1 â  âââ b259:2 â  âââ b259:3 â  âââ +backlight:amdgpu_bl0 â  âââ +bluetooth:hci0 â  âââ c10:1 â  âââ c10:125 â  âââ c10:126 â  âââ c10:127 â  âââ c10:130 â  âââ c10:144 â  âââ c10:183 â  âââ c10:223 â  âââ c10:224 â  âââ c10:228 â  âââ c10:229 â  âââ c10:231 â  âââ c10:232 â  âââ c10:235 â  âââ c10:236 â  âââ c10:242 â  âââ c1:1 â  âââ c1:11 â  âââ c116:1 â  âââ c116:10 â  âââ c116:11 â  âââ c116:12 â  âââ c116:2 â  âââ c116:3 â  âââ c116:33 â  âââ c116:4 â  âââ c116:5 â  âââ c116:6 â  âââ c116:7 â  âââ c116:8 â  âââ c116:9 â  âââ c1:3 â  âââ c13:32 â  âââ c13:33 â  âââ c13:63 â  âââ c13:64 â  âââ c13:65 â  âââ c13:66 â  âââ c13:67 â  âââ c13:68 â  âââ c13:69 â  âââ c13:70 â  âââ c13:71 â  âââ c13:72 â  âââ c13:73 â  âââ c13:74 â  âââ c13:75 â  âââ c13:76 â  âââ c13:77 â  âââ c13:78 â  âââ c13:79 â  âââ c13:80 â  âââ c1:4 â  âââ c1:5 â  âââ c1:7 â  âââ c1:8 â  âââ c189:0 â  âââ c189:128 â  âââ c189:129 â  âââ c189:256 â  âââ c189:384 â  âââ c189:385 â  âââ c189:512 â  âââ c189:640 â  âââ c189:641 â  âââ c189:768 â  âââ c1:9 â  âââ c202:0 â  âââ c202:1 â  âââ c202:10 â  âââ c202:11 â  âââ c202:12 â  âââ c202:13 â  âââ c202:14 â  âââ c202:15 â  âââ c202:2 â  âââ c202:3 â  âââ c202:4 â  âââ c202:5 â  âââ c202:6 â  âââ c202:7 â  âââ c202:8 â  âââ c202:9 â  âââ c226:0 â  âââ c226:128 â  âââ c240:0 â  âââ c240:1 â  âââ c241:0 â  âââ c242:0 â  âââ c242:1 â  âââ c244:0 â  âââ c245:0 â  âââ c245:1 â  âââ c245:2 â  âââ c245:3 â  âââ c245:4 â  âââ c246:0 â  âââ c247:0 â  âââ c251:0 â  âââ c253:65536 â  âââ c254:0 â  âââ c29:0 â  âââ c4:0 â  âââ c4:1 â  âââ c4:10 â  âââ c4:11 â  âââ c4:12 â  âââ c4:13 â  âââ c4:14 â  âââ c4:15 â  âââ c4:16 â  âââ c4:17 â  âââ c4:18 â  âââ c4:19 â  âââ c4:2 â  âââ c4:20 â  âââ c4:21 â  âââ c4:22 â  âââ c4:23 â  âââ c4:24 â  âââ c4:25 â  âââ c4:26 â  âââ c4:27 â  âââ c4:28 â  âââ c4:29 â  âââ c4:3 â  âââ c4:30 â  âââ c4:31 â  âââ c4:32 â  âââ c4:33 â  âââ c4:34 â  âââ c4:35 â  âââ c4:36 â  âââ c4:37 â  âââ c4:38 â  âââ c4:39 â  âââ c4:4 â  âââ c4:40 â  âââ c4:41 â  âââ c4:42 â  âââ c4:43 â  âââ c4:44 â  âââ c4:45 â  âââ c4:46 â  âââ c4:47 â  âââ c4:48 â  âââ c4:49 â  âââ c4:5 â  âââ c4:50 â  âââ c4:51 â  âââ c4:52 â  âââ c4:53 â  âââ c4:54 â  âââ c4:55 â  âââ c4:56 â  âââ c4:57 â  âââ c4:58 â  âââ c4:59 â  âââ c4:6 â  âââ c4:60 â  âââ c4:61 â  âââ c4:62 â  âââ c4:63 â  âââ c4:64 â  âââ c4:65 â  âââ c4:66 â  âââ c4:67 â  âââ c4:7 â  âââ c4:8 â  âââ c4:9 â  âââ c5:0 â  âââ c5:1 â  âââ c5:2 â  âââ c7:0 â  âââ c7:1 â  âââ c7:128 â  âââ c7:129 â  âââ c7:130 â  âââ c7:131 â  âââ c7:132 â  âââ c7:133 â  âââ c7:134 â  âââ c7:136 â  âââ c7:2 â  âââ c7:3 â  âââ c7:4 â  âââ c7:5 â  âââ c7:6 â  âââ c7:64 â  âââ c7:65 â  âââ c7:66 â  âââ c7:67 â  âââ c7:68 â  âââ c7:69 â  âââ c7:70 â  âââ c7:72 â  âââ c7:8 â  âââ c81:0 â  âââ c81:1 â  âââ c81:2 â  âââ c81:3 â  âââ +dmi:id â  âââ +drm:card0-DP-1 â  âââ +drm:card0-DP-2 â  âââ +drm:card0-DP-3 â  âââ +drm:card0-DP-4 â  âââ +drm:card0-eDP-1 â  âââ +drm:card0-HDMI-A-1 â  âââ +gpio:gpiochip768 â  âââ +input:input0 â  âââ +input:input10 â  âââ +input:input11 â  âââ +input:input12 â  âââ +input:input13 â  âââ +input:input14 â  âââ +input:input15 â  âââ +input:input16 â  âââ +input:input17 â  âââ +input:input2 â  âââ +input:input3 â  âââ +input:input4 â  âââ +input:input5 â  âââ +input:input6 â  âââ +input:input7 â  âââ +input:input8 â  âââ +input:input9 â  âââ +leds:input0::capslock â  âââ +leds:input0::numlock â  âââ +leds:input0::scrolllock â  âââ +leds:phy0-led â  âââ +leds:platform::micmute â  âââ +leds:platform::mute â  âââ +leds:tpacpi::lid_logo_dot â  âââ +leds:tpacpi::power â  âââ +leds:tpacpi::standby â  âââ +leds:tpacpi::thinkvantage â  âââ +module:configfs â  âââ +module:fuse â  âââ n1 â  âââ n2 â  âââ n3 â  âââ n4 â  âââ n5 â  âââ +pci:0000:00:00.0 â  âââ +pci:0000:00:00.2 â  âââ +pci:0000:00:01.0 â  âââ +pci:0000:00:02.0 â  âââ +pci:0000:00:02.1 â  âââ +pci:0000:00:02.2 â  âââ +pci:0000:00:02.3 â  âââ +pci:0000:00:02.4 â  âââ +pci:0000:00:02.5 â  âââ +pci:0000:00:02.6 â  âââ +pci:0000:00:02.7 â  âââ +pci:0000:00:08.0 â  âââ +pci:0000:00:08.1 â  âââ +pci:0000:00:14.0 â  âââ +pci:0000:00:14.3 â  âââ +pci:0000:00:18.0 â  âââ +pci:0000:00:18.1 â  âââ +pci:0000:00:18.2 â  âââ +pci:0000:00:18.3 â  âââ +pci:0000:00:18.4 â  âââ +pci:0000:00:18.5 â  âââ +pci:0000:00:18.6 â  âââ +pci:0000:00:18.7 â  âââ +pci:0000:01:00.0 â  âââ +pci:0000:02:00.0 â  âââ +pci:0000:02:00.1 â  âââ +pci:0000:02:00.2 â  âââ +pci:0000:02:00.3 â  âââ +pci:0000:02:00.4 â  âââ +pci:0000:03:00.0 â  âââ +pci:0000:04:00.0 â  âââ +pci:0000:05:00.0 â  âââ +pci:0000:06:00.0 â  âââ +pci:0000:07:00.0 â  âââ +pci:0000:08:00.0 â  âââ +pci:0000:08:00.1 â  âââ +pci:0000:08:00.2 â  âââ +pci:0000:08:00.3 â  âââ +pci:0000:08:00.4 â  âââ +pci:0000:08:00.5 â  âââ +pci:0000:08:00.6 â  âââ +platform:ACPI0003:00 â  âââ +platform:acp_pdm_mach.0 â  âââ +platform:acp_rn_pdm_dma.0 â  âââ +platform:alarmtimer.0.auto â  âââ +platform:AMDI0010:00 â  âââ +platform:AMDI0030:00 â  âââ +platform:dmic-codec.0 â  âââ +platform:efivars.0 â  âââ +platform:i8042 â  âââ +platform:INT3515:00 â  âââ +platform:intel_rapl_msr.0 â  âââ +platform:LEN0100:00 â  âââ +platform:LEN0111:00 â  âââ +platform:LEN0130:00 â  âââ +platform:LEN0268:00 â  âââ +platform:microcode â  âââ +platform:pcspkr â  âââ +platform:PNP0800:00 â  âââ +platform:PNP0C04:00 â  âââ +platform:PNP0C09:00 â  âââ +platform:PNP0C0A:00 â  âââ +platform:PNP0C0C:00 â  âââ +platform:PNP0C0D:00 â  âââ +platform:PNP0C0E:00 â  âââ +platform:PNP0C14:00 â  âââ +platform:PNP0C14:01 â  âââ +platform:PNP0C14:02 â  âââ +platform:PNP0C14:03 â  âââ +platform:PNP0C14:04 â  âââ +platform:PNP0C14:05 â  âââ +platform:reg-dummy â  âââ +platform:regulatory.0 â  âââ +platform:rtc-efi.0 â  âââ +platform:rtsx_pci_sdmmc.0 â  âââ +platform:serial8250 â  âââ +platform:snd-soc-dummy â  âââ +platform:sp5100-tco â  âââ +platform:STM0125:00 â  âââ +platform:thinkpad_acpi â  âââ +platform:thinkpad_hwmon â  âââ +platform:USBC000:00 â  âââ +rfkill:rfkill0 â  âââ +rfkill:rfkill1 â  âââ +rfkill:rfkill2 â  âââ +rfkill:rfkill3 â  âââ +sound:card0 â  âââ +sound:card1 â  âââ +sound:card2 â  âââ +usb:1-0:1.0 â  âââ +usb:2-0:1.0 â  âââ +usb:2-2:1.0 â  âââ +usb:2-2:1.1 â  âââ +usb:2-2:1.2 â  âââ +usb:2-2:1.3 â  âââ +usb:2-2:1.4 â  âââ +usb:3-0:1.0 â  âââ +usb:4-0:1.0 â  âââ +usb:4-1:2.0 â  âââ +usb:5-0:1.0 â  âââ +usb:6-0:1.0 â  âââ +usb:6-4:1.0 â  âââ +usb:6-4:1.1 â  âââ +usb:7-0:1.0 âââ links â  âââ disk\x2fby-diskseq\x2f1 â  â  âââ b259:0 -> 0:/dev/nvme0n1 â  âââ disk\x2fby-id\x2fdm-name-vg0-crypthome â  â  âââ b254:2 -> 0:/dev/dm-2 â  âââ disk\x2fby-id\x2fdm-name-vg0-home â  â  âââ b254:3 -> 0:/dev/dm-3 â  âââ disk\x2fby-id\x2fdm-name-vg0-root â  â  âââ b254:0 -> 0:/dev/dm-0 â  âââ disk\x2fby-id\x2fdm-name-vg0-var â  â  âââ b254:1 -> 0:/dev/dm-1 â  âââ disk\x2fby-id\x2fdm-uuid-CRYPT-LUKS2-377a4f32521a4a1db046ec1904ebbc47-vg0-home â  â  âââ b254:3 -> 0:/dev/dm-3 â  âââ disk\x2fby-id\x2fdm-uuid-LVM-226BLhgCaDDL9QuCDI3miSUzvJSRay479CD5tj7sOLFJ9VLdsI7wtXlrv2CRMfYK â  â  âââ b254:1 -> 0:/dev/dm-1 â  âââ disk\x2fby-id\x2fdm-uuid-LVM-226BLhgCaDDL9QuCDI3miSUzvJSRay47IhhAK53MWtQAALxPd4nAwPLGm3tJdZgP â  â  âââ b254:2 -> 0:/dev/dm-2 â  âââ disk\x2fby-id\x2fdm-uuid-LVM-226BLhgCaDDL9QuCDI3miSUzvJSRay47QQyFpRktw2RzFANxjxWI5h1OJovH4WE9 â  â  âââ b254:0 -> 0:/dev/dm-0 â  âââ disk\x2fby-id\x2flvm-pv-uuid-9NRXCN-cgUW-T2AO-9xc3-g9qi-YteL-TTtxRl â  â  âââ b259:3 -> 0:/dev/nvme0n1p3 â  âââ disk\x2fby-id\x2fnvme-eui.e8238fa6bf530001001b444a44357237 â  â  âââ b259:0 -> 0:/dev/nvme0n1 â  âââ disk\x2fby-id\x2fnvme-eui.e8238fa6bf530001001b444a44357237-part1 â  â  âââ b259:1 -> 0:/dev/nvme0n1p1 â  âââ disk\x2fby-id\x2fnvme-eui.e8238fa6bf530001001b444a44357237-part2 â  â  âââ b259:2 -> 0:/dev/nvme0n1p2 â  âââ disk\x2fby-id\x2fnvme-eui.e8238fa6bf530001001b444a44357237-part3 â  â  âââ b259:3 -> 0:/dev/nvme0n1p3 â  âââ disk\x2fby-id\x2fnvme-WDC_WDS100T2B0C-00PXH0_2022HP459801 â  â  âââ b259:0 -> 0:/dev/nvme0n1 â  âââ disk\x2fby-id\x2fnvme-WDC_WDS100T2B0C-00PXH0_2022HP459801-part1 â  â  âââ b259:1 -> 0:/dev/nvme0n1p1 â  âââ disk\x2fby-id\x2fnvme-WDC_WDS100T2B0C-00PXH0_2022HP459801-part2 â  â  âââ b259:2 -> 0:/dev/nvme0n1p2 â  âââ disk\x2fby-id\x2fnvme-WDC_WDS100T2B0C-00PXH0_2022HP459801-part3 â  â  âââ b259:3 -> 0:/dev/nvme0n1p3 â  âââ disk\x2fby-partuuid\x2f006a0baa-274c-4e12-b4ea-1ac16e63a806 â  â  âââ b259:1 -> 0:/dev/nvme0n1p1 â  âââ disk\x2fby-partuuid\x2f61f1f973-5d1f-4974-b463-558b53285dd5 â  â  âââ b259:3 -> 0:/dev/nvme0n1p3 â  âââ disk\x2fby-partuuid\x2f86910b60-cb7c-433e-aa6d-cf1732b793b0 â  â  âââ b259:2 -> 0:/dev/nvme0n1p2 â  âââ disk\x2fby-path\x2fpci-0000:01:00.0-nvme-1 â  â  âââ b259:0 -> 0:/dev/nvme0n1 â  âââ disk\x2fby-path\x2fpci-0000:01:00.0-nvme-1-part1 â  â  âââ b259:1 -> 0:/dev/nvme0n1p1 â  âââ disk\x2fby-path\x2fpci-0000:01:00.0-nvme-1-part2 â  â  âââ b259:2 -> 0:/dev/nvme0n1p2 â  âââ disk\x2fby-path\x2fpci-0000:01:00.0-nvme-1-part3 â  â  âââ b259:3 -> 0:/dev/nvme0n1p3 â  âââ disk\x2fby-uuid\x2f377a4f32-521a-4a1d-b046-ec1904ebbc47 â  â  âââ b254:2 -> 0:/dev/dm-2 â  âââ disk\x2fby-uuid\x2f657c7c45-8fed-4873-86f9-f96882d7d81a â  â  âââ b254:0 -> 0:/dev/dm-0 â  âââ disk\x2fby-uuid\x2f6b7d34eb-acd3-4339-a927-e035b0ca66f5 â  â  âââ b254:1 -> 0:/dev/dm-1 â  âââ disk\x2fby-uuid\x2f9da006d8-a29d-4ad1-90f3-2c8aa4e2f20c â  â  âââ b254:3 -> 0:/dev/dm-3 â  âââ disk\x2fby-uuid\x2fbefa79d2-d1b2-45aa-b702-a5f7b529e8fa â  â  âââ b259:2 -> 0:/dev/nvme0n1p2 â  âââ disk\x2fby-uuid\x2fEA1A-5D32 â  â  âââ b259:1 -> 0:/dev/nvme0n1p1 â  âââ dri\x2fby-path\x2fpci-0000:08:00.0-card â  â  âââ c226:0 -> 0:/dev/dri/card0 â  âââ dri\x2fby-path\x2fpci-0000:08:00.0-render â  â  âââ c226:128 -> 0:/dev/dri/renderD128 â  âââ input\x2fby-id\x2fusb-Azurewave_Integrated_Camera_0000-event-if00 â  â  âââ c13:79 -> 0:/dev/input/event15 â  âââ input\x2fby-id\x2fusb-Azurewave_Integrated_Camera_0000-event-if02 â  â  âââ c13:80 -> 0:/dev/input/event16 â  âââ input\x2fby-path\x2fpci-0000:07:00.0-usb-0:2:1.0-event â  â  âââ c13:79 -> 0:/dev/input/event15 â  âââ input\x2fby-path\x2fpci-0000:07:00.0-usb-0:2:1.2-event â  â  âââ c13:80 -> 0:/dev/input/event16 â  âââ input\x2fby-path\x2fplatform-i8042-serio-0-event-kbd â  â  âââ c13:64 -> 0:/dev/input/event0 â  âââ input\x2fby-path\x2fplatform-i8042-serio-1-event-mouse â  â  âââ c13:65 -> 0:/dev/input/event1 â  âââ input\x2fby-path\x2fplatform-i8042-serio-1-mouse â  â  âââ c13:32 -> 0:/dev/input/mouse0 â  âââ input\x2fby-path\x2fplatform-i8042-serio-2-event-mouse â  â  âââ c13:66 -> 0:/dev/input/event2 â  âââ input\x2fby-path\x2fplatform-i8042-serio-2-mouse â  â  âââ c13:33 -> 0:/dev/input/mouse1 â  âââ input\x2fby-path\x2fplatform-thinkpad_acpi-event â  â  âââ c13:72 -> 0:/dev/input/event8 â  âââ mapper\x2fvg0-crypthome â  â  âââ b254:2 -> 0:/dev/dm-2 â  âââ mapper\x2fvg0-home â  â  âââ b254:3 -> 0:/dev/dm-3 â  âââ mapper\x2fvg0-root â  â  âââ b254:0 -> 0:/dev/dm-0 â  âââ mapper\x2fvg0-var â  â  âââ b254:1 -> 0:/dev/dm-1 â  âââ rtc â  â  âââ c251:0 -> -100:/dev/rtc0 â  âââ snd\x2fby-path\x2fpci-0000:08:00.1 â  â  âââ c116:6 -> 0:/dev/snd/controlC0 â  âââ snd\x2fby-path\x2fpci-0000:08:00.5-platform-acp_pdm_mach.0 â  â  âââ c116:8 -> 0:/dev/snd/controlC2 â  âââ snd\x2fby-path\x2fpci-0000:08:00.6 â  â  âââ c116:12 -> 0:/dev/snd/controlC1 â  âââ v4l\x2fby-id\x2fusb-Azurewave_Integrated_Camera_0000-video-index0 â  â  âââ c81:0 -> 0:/dev/video0 â  â  âââ c81:2 -> 0:/dev/video2 â  âââ v4l\x2fby-id\x2fusb-Azurewave_Integrated_Camera_0000-video-index1 â  â  âââ c81:1 -> 0:/dev/video1 â  â  âââ c81:3 -> 0:/dev/video3 â  âââ v4l\x2fby-path\x2fpci-0000:07:00.0-usb-0:2:1.0-video-index0 â  â  âââ c81:0 -> 0:/dev/video0 â  âââ v4l\x2fby-path\x2fpci-0000:07:00.0-usb-0:2:1.0-video-index1 â  â  âââ c81:1 -> 0:/dev/video1 â  âââ v4l\x2fby-path\x2fpci-0000:07:00.0-usb-0:2:1.2-video-index0 â  â  âââ c81:2 -> 0:/dev/video2 â  âââ v4l\x2fby-path\x2fpci-0000:07:00.0-usb-0:2:1.2-video-index1 â  â  âââ c81:3 -> 0:/dev/video3 â  âââ vg0\x2fcrypthome â  â  âââ b254:2 -> 0:/dev/dm-2 â  âââ vg0\x2froot â  â  âââ b254:0 -> 0:/dev/dm-0 â  âââ vg0\x2fvar â  âââ b254:1 -> 0:/dev/dm-1 âââ static_node-tags â  âââ uaccess â  âââ snd\x2fseq -> /dev/snd/seq â  âââ snd\x2ftimer -> /dev/snd/timer âââ tags â  âââ master-of-seat â  â  âââ c226:0 â  â  âââ +drm:card0-DP-1 â  â  âââ +drm:card0-DP-2 â  â  âââ +drm:card0-DP-3 â  â  âââ +drm:card0-DP-4 â  â  âââ +drm:card0-eDP-1 â  â  âââ +drm:card0-HDMI-A-1 â  âââ power-switch â  â  âââ c13:64 â  â  âââ c13:67 â  â  âââ c13:68 â  â  âââ c13:69 â  â  âââ c13:70 â  â  âââ c13:71 â  â  âââ c13:72 â  â  âââ c13:73 â  â  âââ c13:74 â  â  âââ c13:75 â  â  âââ c13:77 â  â  âââ c13:78 â  â  âââ c13:79 â  â  âââ c13:80 â  âââ seat â  â  âââ +backlight:amdgpu_bl0 â  â  âââ c10:232 â  â  âââ c10:242 â  â  âââ c189:0 â  â  âââ c189:128 â  â  âââ c189:256 â  â  âââ c189:384 â  â  âââ c189:512 â  â  âââ c189:640 â  â  âââ c189:768 â  â  âââ c226:0 â  â  âââ c226:128 â  â  âââ c240:0 â  â  âââ c240:1 â  â  âââ c254:0 â  â  âââ c29:0 â  â  âââ c81:0 â  â  âââ c81:1 â  â  âââ c81:2 â  â  âââ c81:3 â  â  âââ +drm:card0-DP-1 â  â  âââ +drm:card0-DP-2 â  â  âââ +drm:card0-DP-3 â  â  âââ +drm:card0-DP-4 â  â  âââ +drm:card0-eDP-1 â  â  âââ +drm:card0-HDMI-A-1 â  â  âââ +gpio:gpiochip768 â  â  âââ +input:input0 â  â  âââ +input:input10 â  â  âââ +input:input11 â  â  âââ +input:input12 â  â  âââ +input:input13 â  â  âââ +input:input14 â  â  âââ +input:input15 â  â  âââ +input:input16 â  â  âââ +input:input17 â  â  âââ +input:input2 â  â  âââ +input:input3 â  â  âââ +input:input4 â  â  âââ +input:input5 â  â  âââ +input:input6 â  â  âââ +input:input7 â  â  âââ +input:input8 â  â  âââ +input:input9 â  â  âââ +leds:input0::capslock â  â  âââ +leds:input0::numlock â  â  âââ +leds:input0::scrolllock â  â  âââ +leds:phy0-led â  â  âââ +leds:platform::micmute â  â  âââ +leds:platform::mute â  â  âââ +leds:tpacpi::lid_logo_dot â  â  âââ +leds:tpacpi::power â  â  âââ +leds:tpacpi::standby â  â  âââ +leds:tpacpi::thinkvantage â  â  âââ +sound:card0 â  â  âââ +sound:card1 â  â  âââ +sound:card2 â  âââ systemd â  â  âââ b254:0 â  â  âââ b254:1 â  â  âââ b254:2 â  â  âââ b254:3 â  â  âââ b259:0 â  â  âââ b259:1 â  â  âââ b259:2 â  â  âââ b259:3 â  â  âââ +backlight:amdgpu_bl0 â  â  âââ +bluetooth:hci0 â  â  âââ c10:224 â  â  âââ c10:242 â  â  âââ c116:12 â  â  âââ c116:6 â  â  âââ c116:8 â  â  âââ c253:65536 â  â  âââ c4:64 â  â  âââ c4:65 â  â  âââ c4:66 â  â  âââ c4:67 â  â  âââ +module:configfs â  â  âââ +module:fuse â  â  âââ n2 â  â  âââ n3 â  â  âââ n4 â  â  âââ n5 â  âââ uaccess â  âââ c10:232 â  âââ c10:242 â  âââ c116:1 â  âââ c116:10 â  âââ c116:11 â  âââ c116:12 â  âââ c116:2 â  âââ c116:3 â  âââ c116:33 â  âââ c116:4 â  âââ c116:5 â  âââ c116:6 â  âââ c116:7 â  âââ c116:8 â  âââ c116:9 â  âââ c226:0 â  âââ c226:128 â  âââ c240:0 â  âââ c240:1 â  âââ c254:0 â  âââ c81:0 â  âââ c81:1 â  âââ c81:2 â  âââ c81:3 â  âââ +gpio:gpiochip768 âââ watch âââ 1 -> b254:0 âââ 2 -> b259:0 âââ 3 -> b259:3 âââ 4 -> b259:2 âââ 5 -> b254:1 âââ 6 -> b259:1 âââ 7 -> b254:2 âââ 8 -> b254:3 âââ b254:0 -> 1 âââ b254:1 -> 5 âââ b254:2 -> 7 âââ b254:3 -> 8 âââ b259:0 -> 2 âââ b259:1 -> 6 âââ b259:2 -> 4 âââ b259:3 -> 3 71 directories, 651 files # cryptsetup 2.5.0 processing "/sbin/cryptsetup -T1 --type=luks --key-file=- --debug luksResume vg0-home" # Verifying parameters for command luksResume. # Running command luksResume. # Locking memory. # Installing SIGINT/SIGTERM handler. # Unblocking interruption on signal. # Allocating crypt device context by device vg0-home. # Initialising device-mapper backend library. # dm version [ opencount flush ] [16384] (*1) # dm versions [ opencount flush ] [16384] (*1) # Detected dm-ioctl version 4.47.0. # Detected dm-crypt version 1.24.0. # Device-mapper backend running with UDEV support enabled. # dm status vg0-home [ opencount noflush ] [16384] (*1) # Releasing device-mapper backend. # Trying to open and read device /dev/mapper/vg0-crypthome with direct-io. # Allocating context for crypt device /dev/mapper/vg0-crypthome. # Trying to open and read device /dev/mapper/vg0-crypthome with direct-io. # Initialising device-mapper backend library. # dm versions [ opencount flush ] [16384] (*1) # dm table vg0-home [ opencount flush securedata ] [16384] (*1) # dm status (254:2) [ opencount noflush ] [16384] (*1) # Trying to open and read device /dev/mapper/vg0-crypthome with direct-io. # dm versions [ opencount flush ] [16384] (*1) # dm deps vg0-home [ opencount flush ] [16384] (*1) # dm table vg0-crypthome [ opencount flush securedata ] [16384] (*1) # Crypto backend (OpenSSL 3.0.5 5 Jul 2022 [default][legacy]) initialized in cryptsetup library version 2.5.0. # Detected kernel Linux 5.19.0-2-amd64 x86_64. # Reloading LUKS2 header (repair disabled). # Acquiring read lock for device /dev/mapper/vg0-crypthome. # Opening lock resource file /run/cryptsetup/L_254:2 # Verifying lock handle for /dev/mapper/vg0-crypthome. # Device /dev/mapper/vg0-crypthome READ lock taken. # Trying to read primary LUKS2 header at offset 0x0. # Opening locked device /dev/mapper/vg0-crypthome # Verifying locked device handle (bdev) # LUKS2 header version 2 of size 16384 bytes, checksum sha256. # Checksum:af81f24962aab09694ca451aa87dc40a151f95de35b53d56144fd0ba8c41d850 (on-disk) # Checksum:af81f24962aab09694ca451aa87dc40a151f95de35b53d56144fd0ba8c41d850 (in-memory) # Trying to read secondary LUKS2 header at offset 0x4000. # Reusing open ro fd on device /dev/mapper/vg0-crypthome # LUKS2 header version 2 of size 16384 bytes, checksum sha256. # Checksum:0d1024f9b1c646b8ff5ca6e805d84011d5c4800dfda0e8537f2c2d3c5fac4b1a (on-disk) # Checksum:0d1024f9b1c646b8ff5ca6e805d84011d5c4800dfda0e8537f2c2d3c5fac4b1a (in-memory) # Device size 800000573440, offset 16777216. # Device /dev/mapper/vg0-crypthome READ lock released. # PBKDF argon2id, time_ms 2000 (iterations 0), max_memory_kb 1048576, parallel_threads 4. # dm versions [ opencount flush ] [16384] (*1) # dm table vg0-home [ opencount flush securedata ] [16384] (*1) # dm status (254:2) [ opencount noflush ] [16384] (*1) # Trying to open and read device /dev/mapper/vg0-crypthome with direct-io. # Resuming volume vg0-home by token (any type) -1. # dm versions [ opencount flush ] [16384] (*1) # dm status vg0-home [ opencount noflush ] [16384] (*1) No usable token is available. # STDIN descriptor passphrase entry requested. # Resuming volume vg0-home. # dm versions [ opencount flush ] [16384] (*1) # dm status vg0-home [ opencount noflush ] [16384] (*1) # Keyslot 0 priority 1 != 2 (required), skipped. # Trying to open LUKS2 keyslot 0. # Running keyslot key derivation. # Reading keyslot area [0x8000]. # Acquiring read lock for device /dev/mapper/vg0-crypthome. # Opening lock resource file /run/cryptsetup/L_254:2 # Verifying lock handle for /dev/mapper/vg0-crypthome. # Device /dev/mapper/vg0-crypthome READ lock taken. # Reusing open ro fd on device /dev/mapper/vg0-crypthome # Device /dev/mapper/vg0-crypthome READ lock released. # Verifying key from keyslot 0, digest 0. # Loading key (64 bytes, type logon) in thread keyring. # dm message vg0-home [ opencount flush securedata ] key set [16384] (*1) # Udev cookie 0xd4d7f15 (semid 2) created # Udev cookie 0xd4d7f15 (semid 2) incremented to 1 # Udev cookie 0xd4d7f15 (semid 2) incremented to 2 # Udev cookie 0xd4d7f15 (semid 2) assigned to RESUME task(5) with flags DISABLE_LIBRARY_FALLBACK (0x20) # dm resume vg0-home [ opencount flush ] [16384] (*1) # vg0-home: Stacking NODE_ADD (254,3) 0:6 0660 [trust_udev] # Udev cookie 0xd4d7f15 (semid 2) decremented to 1 # Udev cookie 0xd4d7f15 (semid 2) waiting for zero