[pkg-cryptsetup-devel] Bug#1052547: unable to boot, no luks passwort prompt shown

Eduard Bloch edi at gmx.de
Sun Sep 24 13:42:27 BST 2023


Package: cryptsetup-initramfs
Version: 2:2.6.1-5
Severity: grave

Hello Maintainer,

we have a problem here. After latest upgrades, I am no longer able to
boot into a system with LUKS-encrypted rootfs. This worked just fine a few
weeks ago. I jumped in circles in the search for the cause, and only
after downgrading cryptsetup-initramfs to 2:2.6.1-4 it suddenly started
working again.

The symptom:

initramfs starts more or less okay, after a second KVM switches the
screen mode. And then I see a blinking cursor. And that's all.

Normally (like before, or after after downgrading the package) I get a
LUKS passwort prompt instead, where I enter the rootfs password.

Best regards,
Eduard.


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.5.5 root=UUID=6e83a5a5-0c68-41e9-8bcb-ea0b50c06197 ro acpi=force

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
#xroot /dev/sdb2 none luks,discard
#xroot UUID=4047a384-74d1-465d-9e1b-536f40ed73d2 none luks,discard
yroot UUID=0a03cfce-d1a8-4a93-a403-d411f8ead12e none luks,discard

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc                                         /proc                   proc          defaults                                                  0                    0
/dev/mapper/yroot  /                       ext4          defaults,errors=remount-ro,noatime,commit=120                                0                    1
UUID="e69c6bbe-f493-4dc5-aed3-419654c4bf41"	/boot	ext4	defaults,errors=remount-ro 0	1
UUID="B63D-00A4" /boot/efi vfat defaults,errors=remount-ro 0	1
/dev/cdrom                                   /media/cdrom0           udf,iso9660   ro,user,noauto                                            0                    0
UUID="0a03cfce-d1a8-4a93-a403-d411f8ead12e"  /mnt/bigdata   auto noauto,user
UUID="2610550D1054E579"                        /mnt/d                  ntfs-3g       utf8,user,auto,umask=000,nofail                                       0                    0
UUID="78496414545E7C56"                      /mnt/cfs2               ntfs-3g       defaults,noauto,nofail                                           0                    1
UUID=CE2E78A02E78836F                         /mnt/c                  ntfs-3g       utf8,user,auto,umask=000,nofail                                       0                    0
none                                         /var/cache/pbuilder/bd  tmpfs         defaults                                                  0                    0

-- lsmod
Module                  Size  Used by
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               110592  7 snd_seq_dummy
cpufreq_userspace      16384  0
cpufreq_conservative    16384  0
cpufreq_powersave      16384  0
nvme_fabrics           36864  0
overlay               188416  0
bnep                   28672  2
uinput                 20480  1
binfmt_misc            28672  1
nls_ascii              12288  1
nls_cp437              16384  1
vfat                   20480  1
fat                    94208  1 vfat
pktcdvd                53248  0
uvcvideo              143360  0
videobuf2_vmalloc      20480  1 uvcvideo
uvc                    12288  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         36864  1 uvcvideo
snd_usb_audio         401408  1
videodev              356352  2 videobuf2_v4l2,uvcvideo
snd_usbmidi_lib        49152  1 snd_usb_audio
snd_rawmidi            53248  1 snd_usbmidi_lib
videobuf2_common       77824  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
joydev                 24576  0
snd_seq_device         16384  2 snd_seq,snd_rawmidi
mc                     94208  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
btusb                  81920  0
btmtk                  12288  1 btusb
btrtl                  28672  1 btusb
btbcm                  24576  1 btusb
btintel                57344  1 btusb
bluetooth            1110016  15 btrtl,btmtk,btintel,btbcm,bnep,btusb
intel_rapl_msr         20480  0
intel_rapl_common      36864  1 intel_rapl_msr
kvm_amd               180224  0
sha3_generic           16384  1
jitterentropy_rng      20480  1
drbg                   28672  1
snd_hda_codec_realtek   192512  1
ccp                   135168  1 kvm_amd
snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
ansi_cprng             12288  0
ledtrig_audio          12288  1 snd_hda_codec_generic
ecdh_generic           16384  1 bluetooth
snd_hda_codec_hdmi     90112  2
rfkill                 40960  4 bluetooth
snd_hda_intel          61440  3
ecc                    45056  1 ecdh_generic
snd_intel_dspcfg       24576  1 snd_hda_intel
kvm                  1335296  1 kvm_amd
snd_hda_codec         221184  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
irqbypass              12288  1 kvm
snd_hda_core          143360  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
tpm_crb                20480  0
rapl                   20480  0
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
tpm_tis                20480  0
wmi_bmof               12288  0
snd_pcm               184320  5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
igb                   303104  0
tpm_tis_core           32768  1 tpm_tis
pcspkr                 12288  0
acpi_cpufreq           32768  0
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
dca                    16384  1 igb
k10temp                12288  0
sp5100_tco             16384  0
snd                   147456  23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
soundcore              16384  1 snd
sg                     40960  0
k8temp                 12288  0
it87                   73728  0
hwmon_vid              12288  1 it87
nf_conntrack_irc       20480  0
nf_conntrack_ftp       24576  0
nf_conntrack          204800  2 nf_conntrack_irc,nf_conntrack_ftp
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         12288  1 nf_conntrack
evdev                  28672  50
msr                    12288  0
nfsd                  864256  5
auth_rpcgss           188416  1 nfsd
drivetemp              16384  0
nfs_acl                12288  1 nfsd
i2c_dev                24576  0
lockd                 151552  1 nfsd
grace                  12288  2 nfsd,lockd
loop                   32768  0
fuse                  180224  7
efi_pstore             12288  0
configfs               65536  1
sunrpc                860160  17 nfsd,auth_rpcgss,lockd,nfs_acl
efivarfs               24576  1
tpm                   102400  3 tpm_tis,tpm_crb,tpm_tis_core
rng_core               20480  2 ccp,tpm
ip_tables              36864  0
x_tables               69632  1 ip_tables
autofs4                57344  2
ext4                 1081344  2
crc16                  12288  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  196608  1 ext4
dm_mirror              28672  0
dm_region_hash         28672  1 dm_mirror
dm_log                 24576  2 dm_region_hash,dm_mirror
dm_crypt               61440  1
dm_mod                192512  5 dm_crypt,dm_log,dm_mirror
hid_microsoft          12288  0
ff_memless             16384  1 hid_microsoft
ohci_hcd               61440  0
uhci_hcd               57344  0
ehci_pci               16384  0
ehci_hcd              106496  1 ehci_pci
hid_generic            12288  0
usbhid                 73728  0
hid                   172032  3 usbhid,hid_microsoft,hid_generic
amdgpu              11116544  2
crct10dif_pclmul       12288  1
crc32_pclmul           12288  0
amdxcp                 12288  1 amdgpu
drm_buddy              20480  1 amdgpu
crc32c_intel           16384  4
ghash_clmulni_intel    16384  0
gpu_sched              61440  1 amdgpu
sr_mod                 28672  0
i2c_algo_bit           12288  2 igb,amdgpu
sd_mod                 57344  0
cdrom                  81920  2 pktcdvd,sr_mod
drm_suballoc_helper    12288  1 amdgpu
sha512_ssse3           49152  1
drm_display_helper    225280  1 amdgpu
sha512_generic         16384  1 sha512_ssse3
cec                    61440  1 drm_display_helper
drm_ttm_helper         12288  1 amdgpu
nvme                   57344  5
ahci                   49152  0
ttm                   106496  2 amdgpu,drm_ttm_helper
libahci                57344  1 ahci
nvme_core             184320  7 nvme,nvme_fabrics
xhci_pci               24576  0
drm_kms_helper        266240  4 drm_display_helper,amdgpu
libata                458752  2 libahci,ahci
t10_pi                 20480  2 sd_mod,nvme_core
xhci_hcd              348160  1 xhci_pci
aesni_intel           360448  2
crypto_simd            16384  1 aesni_intel
crc64_rocksoft_generic    12288  1
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
usbcore               401408  11 xhci_hcd,ohci_hcd,ehci_pci,snd_usb_audio,usbhid,snd_usbmidi_lib,uvcvideo,ehci_hcd,btusb,xhci_pci,uhci_hcd
scsi_mod              315392  6 sd_mod,pktcdvd,drivetemp,libata,sg,sr_mod
crc64_rocksoft         16384  1 t10_pi
i2c_piix4              28672  0
drm                   802816  11 gpu_sched,drm_kms_helper,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm,amdxcp
crc64                  16384  2 crc64_rocksoft,crc64_rocksoft_generic
scsi_common            16384  6 scsi_mod,sd_mod,pktcdvd,libata,sg,sr_mod
usb_common             16384  6 xhci_hcd,ohci_hcd,usbcore,uvcvideo,ehci_hcd,uhci_hcd
video                  73728  1 amdgpu
thermal                28672  0
wmi                    40960  2 video,wmi_bmof
gpio_amdpt             16384  0
gpio_generic           20480  1 gpio_amdpt
button                 24576  0


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.5 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cryptsetup-initramfs depends on:
ii  busybox-static [busybox]                1:1.36.1-3.1
ii  cryptsetup                              2:2.6.1-5
ii  debconf [debconf-2.0]                   1.5.82
ii  initramfs-tools [linux-initramfs-tool]  0.142

Versions of packages cryptsetup-initramfs recommends:
ii  console-setup  1.222
ii  kbd            2.5.1-1+b1

cryptsetup-initramfs suggests no packages.

-- debconf information:
  cryptsetup-initramfs/prerm_active_mappings: true

--
<thomax_> hallo, ich habe probleme mit artscontrol unter debian unstable.
	bekomme ein SIGSEGV beim ausfuehren. kann das hier jemand bestaetigen?
<Alfie> thomax_: Ja, Du bekommst einen SIGSEGV beim ausführen.



More information about the pkg-cryptsetup-devel mailing list