[pkg-cryptsetup-devel] Bug#939766: cryptsetup-initramfs: Trying to boot linux-image-5.2.0-2-amd64 fails, linux-image-4.19.0-5-amd64 works.
Alexander
brock.alexander at web.de
Sun Sep 8 16:14:48 BST 2019
Package: cryptsetup-initramfs
Version: 2:2.2.0-3
Severity: important
Dear Maintainer,
* What led up to the situation?
I ran apt upgrade and restarted the system since I noticed that some drivers
were upgraded (firmware-linux-* stuff).
I have an encrypted / partition, this is the output of lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 244M 0 part /boot
└─sda3 8:3 0 930.8G 0 part
└─sda3_crypt 254:0 0 930.8G 0 crypt
├─luna--vg-swap 254:1 0 14.9G 0 lvm [SWAP]
└─luna--vg-root 254:2 0 915.9G 0 lvm /
This is the output of "mount":
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=32935756k,nr_inodes=8233939,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=6591424k,mode=755)
/dev/mapper/luna--vg-root on / type ext4 (rw,noatime,nodiratime,errors=remount-
ro)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2
(rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
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)
cgroup on /sys/fs/cgroup/pids type cgroup
(rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup
(rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/rdma type cgroup
(rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=43,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13961)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
/dev/sda2 on /boot type ext2
(rw,relatime,block_validity,barrier,user_xattr,acl)
/dev/sda1 on /boot/efi type vfat
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-
ro)
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=6591420k,mode=700,uid=1000,gid=1000)
fusectl on /sys/fs/fuse/connections type fusectl
(rw,nosuid,nodev,noexec,relatime)
/dev/fuse on /run/user/1000/doc type fuse
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
After rebooting I entered my password and this happened:
> Please unlock disk sda3_crypt:****************************
> libgcc_s.so.1 must be installed for pthread_cancel to work
> Aborted
> cryptsetup: ERROR: sda3_crypt: cryptsetup failed, bad password or options?
>
> Please unlock disk sda3_crypt:
I booted a grml, mounted the partitions to make sure I got the password right,
ran "grml-chroot /mnt" and used "update-initramfs -u, this didn't help.
I was able to boot the older 4.19 kernel and ran "update-initramfs -uv", also
did not help, this is the output: https://paste.debian.net/1099530/
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.19.0-5-amd64 root=/dev/mapper/luna--vg-root ro quiet
-- /etc/crypttab
sda3_crypt UUID=4161a32d-e8b4-45a8-8f49-198b89278fda none luks,discard
-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/luna--vg-root / ext4 noatime,nodiratime,errors=remount-ro 0 1
# /boot was on /dev/sda2 during installation
UUID=d822425d-2328-42e5-b197-4125333ca853 /boot ext2 defaults 0 2
# /boot/efi was on /dev/sda1 during installation
UUID=336C-D773 /boot/efi vfat umask=0077 0 1
/dev/mapper/luna--vg-swap none swap sw 0 0
-- lsmod
Module Size Used by
snd_usb_audio 253952 3
snd_usbmidi_lib 36864 1 snd_usb_audio
snd_rawmidi 40960 1 snd_usbmidi_lib
snd_seq_device 16384 1 snd_rawmidi
fuse 122880 5
mmc_block 49152 2
appletalk 40960 0
psnap 16384 1 appletalk
llc 16384 1 psnap
ax25 65536 0
cpufreq_userspace 16384 0
cpufreq_powersave 16384 0
cpufreq_conservative 16384 0
cmac 16384 1
bnep 24576 2
snd_hda_codec_hdmi 57344 1
arc4 16384 2
binfmt_misc 20480 1
intel_rapl 24576 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
nls_ascii 16384 1
nls_cp437 20480 1
vfat 20480 1
fat 86016 1 vfat
btusb 53248 0
kvm_intel 245760 0
snd_hda_codec_realtek 122880 1
kvm 724992 1 kvm_intel
iwlmvm 299008 0
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 24576 1 btusb
mac80211 815104 1 iwlmvm
snd_hda_intel 45056 1
irqbypass 16384 1 kvm
bluetooth 647168 26 btrtl,btintel,btbcm,bnep,btusb
uvcvideo 118784 0
videobuf2_vmalloc 16384 1 uvcvideo
snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
iwlwifi 241664 1 iwlmvm
intel_cstate 16384 0
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_common 53248 2 videobuf2_v4l2,uvcvideo
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
videodev 212992 3 videobuf2_v4l2,uvcvideo,videobuf2_common
drbg 28672 1
intel_uncore 135168 0
ansi_cprng 16384 0
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
efi_pstore 16384 0
tpm_crb 16384 0
media 45056 2 videodev,uvcvideo
ecdh_generic 24576 2 bluetooth
cfg80211 761856 3 iwlmvm,iwlwifi,mac80211
snd_pcm 114688 7 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer 36864 1 snd_pcm
intel_rapl_perf 16384 0
snd 94208 18 snd_hda_codec_generic,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
joydev 24576 0
mei_me 45056 0
soundcore 16384 1 snd
efivars 20480 1 efi_pstore
serio_raw 16384 0
pcspkr 16384 0
sg 36864 0
mei 118784 1 mei_me
rfkill 28672 5 bluetooth,cfg80211
iTCO_wdt 16384 0
wmi_bmof 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
battery 20480 0
tpm_tis 16384 0
tpm_tis_core 20480 1 tpm_tis
tpm 65536 3 tpm_tis,tpm_crb,tpm_tis_core
intel_hid 16384 0
sparse_keymap 16384 1 intel_hid
rng_core 16384 1 tpm
evdev 28672 21
ac 16384 0
acpi_pad 24576 0
pcc_cpufreq 16384 0
ipmi_devintf 20480 0
ipmi_msghandler 65536 1 ipmi_devintf
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 57344 3 parport_pc,lp,ppdev
efivarfs 16384 1
ip_tables 28672 0
x_tables 45056 1 ip_tables
autofs4 49152 2
ext4 733184 4
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 122880 1 ext4
crc32c_generic 16384 0
fscrypto 32768 1 ext4
ecb 16384 0
algif_skcipher 16384 0
af_alg 28672 1 algif_skcipher
dm_crypt 40960 3
dm_mod 155648 13 dm_crypt
uas 28672 1
usb_storage 73728 1 uas
hid_generic 16384 0
usbhid 57344 0
hid 135168 2 usbhid,hid_generic
sd_mod 61440 8
nouveau 2166784 2
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 6
ghash_clmulni_intel 16384 0
pcbc 16384 0
i2c_algo_bit 16384 1 nouveau
ttm 126976 1 nouveau
ahci 40960 4
drm_kms_helper 200704 1 nouveau
libahci 40960 1 ahci
xhci_pci 16384 0
libata 270336 2 libahci,ahci
xhci_hcd 266240 1 xhci_pci
mxm_wmi 16384 1 nouveau
aesni_intel 200704 8
drm 483328 5 drm_kms_helper,ttm,nouveau
sdhci_pci 45056 0
usbcore 290816 9 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,usb_storage,uvcvideo,btusb,xhci_pci,uas
aes_x86_64 20480 1 aesni_intel
cqhci 28672 1 sdhci_pci
crypto_simd 16384 1 aesni_intel
sdhci 57344 1 sdhci_pci
scsi_mod 245760 5 sd_mod,usb_storage,uas,libata,sg
cryptd 28672 6 crypto_simd,ghash_clmulni_intel,aesni_intel
psmouse 172032 0
glue_helper 16384 1 aesni_intel
mmc_core 172032 4 sdhci,cqhci,mmc_block,sdhci_pci
i2c_i801 28672 0
alx 53248 0
mdio 16384 1 alx
thermal 20480 0
usb_common 16384 1 usbcore
video 45056 1 nouveau
wmi 28672 3 wmi_bmof,mxm_wmi,nouveau
button 16384 1 nouveau
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-5-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
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 1:1.30.1-4
ii cryptsetup 2:2.2.0-3
ii debconf [debconf-2.0] 1.5.73
ii initramfs-tools [linux-initramfs-tool] 0.135
Versions of packages cryptsetup-initramfs recommends:
ii console-setup 1.193
ii kbd 2.0.4-4
cryptsetup-initramfs suggests no packages.
-- debconf information:
cryptsetup-initramfs/prerm_active_mappings: true
More information about the pkg-cryptsetup-devel
mailing list