[pkg-cryptsetup-devel] Bug#964187: cryptsetup: takes one minute to unlock the disk with a passphrase

Vincent Lefevre vincent at vinc17.net
Fri Jul 3 11:53:17 BST 2020


Package: cryptsetup
Version: 2:2.3.3-1
Severity: important

I don't know really where the problem comes from, but it now takes
one minute to unlock the disk of my laptop with a passphrase. Well,
I'm not sure whether this comes from cryptsetup or something that
comes just after it, but at least the fact that cryptsetup doesn't
output any confirmation message doesn't help.

Until June 30, this was always immediate, and nothing changed
on my system. My laptop no longer has an Ethernet cable plugged
in, so that this might make the difference (but this was working
fine several months ago). Note that I've always had

e1000e

in /etc/initramfs-tools/modules.

-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-5.7.0-1-amd64 root=/dev/mapper/zira--vg-root ro quiet

-- /etc/crypttab
sda5_crypt UUID=ef627f6a-4469-42c8-9b15-f26477969e7b none luks

-- /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/zira--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=7b3de7fd-236a-47f6-bb85-64831a06ca1f /boot           ext2    defaults        0       2
/dev/mapper/zira--vg-swap_1 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sdb        /media/mem      auto user,noauto,noatime    0       0
/dev/sdb1       /media/mem      auto user,noauto,noatime    0       0

-- lsmod
Module                  Size  Used by
ctr                    16384  2
ccm                    20480  6
rfcomm                 90112  4
ipt_REJECT             16384  3679
nf_reject_ipv4         16384  1 ipt_REJECT
xt_multiport           20480  2
nft_compat             20480  3681
nft_counter            16384  3683
nf_tables             229376  11047 nft_compat,nft_counter
nfnetlink              16384  2 nft_compat,nf_tables
psnap                  16384  0
cpufreq_conservative    16384  0
llc                    16384  1 psnap
cmac                   16384  1
cpufreq_userspace      20480  0
cpufreq_powersave      20480  0
bnep                   28672  2
intel_rapl_msr         20480  0
intel_rapl_common      32768  1 intel_rapl_msr
iwlmvm                319488  0
btusb                  57344  0
btrtl                  24576  1 btusb
btbcm                  20480  1 btusb
mac80211              905216  1 iwlmvm
btintel                32768  1 btusb
mei_wdt                16384  0
binfmt_misc            24576  1
libarc4                16384  1 mac80211
snd_hda_codec_realtek   131072  1
bluetooth             688128  31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
snd_hda_codec_hdmi     73728  1
snd_hda_codec_generic    94208  1 snd_hda_codec_realtek
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
iwlwifi               274432  1 iwlmvm
coretemp               20480  0
uvcvideo              114688  0
snd_hda_intel          57344  5
snd_intel_dspcfg       24576  1 snd_hda_intel
snd_hda_codec         163840  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
intel_cstate           16384  0
drbg                   28672  1
videobuf2_v4l2         28672  1 uvcvideo
cfg80211              872448  3 iwlmvm,iwlwifi,mac80211
snd_hwdep              16384  1 snd_hda_codec
ansi_cprng             16384  0
intel_uncore          163840  0
videobuf2_common       57344  2 videobuf2_v4l2,uvcvideo
hp_wmi                 16384  0
intel_rapl_perf        16384  0
snd_pcm               131072  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
videodev              266240  3 videobuf2_v4l2,uvcvideo,videobuf2_common
joydev                 28672  0
snd_timer              45056  1 snd_pcm
iTCO_wdt               16384  0
mei_me                 45056  1
serio_raw              20480  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd                   106496  18 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
sparse_keymap          16384  1 hp_wmi
tpm_infineon           20480  0
ecdh_generic           16384  2 bluetooth
ecc                    36864  1 ecdh_generic
mxm_wmi                16384  0
pcspkr                 16384  0
wmi_bmof               16384  0
sg                     36864  0
mc                     57344  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
watchdog               28672  2 iTCO_wdt,mei_wdt
rfkill                 28672  6 hp_wmi,bluetooth,cfg80211
mei                   122880  3 mei_wdt,mei_me
soundcore              16384  1 snd
ie31200_edac           16384  0
evdev                  28672  28
tpm_tis                16384  0
tpm_tis_core           28672  1 tpm_tis
tpm                    73728  3 tpm_tis,tpm_infineon,tpm_tis_core
hp_accel               28672  0
lis3lv02d              28672  1 hp_accel
rng_core               16384  1 tpm
button                 24576  0
hp_wireless            16384  0
ac                     16384  0
nvidia_drm             53248  1
drm_kms_helper        249856  1 nvidia_drm
cec                    61440  1 drm_kms_helper
nvidia_modeset       1056768  3 nvidia_drm
nvidia              15835136  156 nvidia_modeset
ipmi_devintf           20480  0
ipmi_msghandler        73728  2 ipmi_devintf,nvidia
parport_pc             28672  1
ppdev                  24576  0
drm                   606208  4 drm_kms_helper,nvidia_drm
lp                     20480  0
parport                61440  3 parport_pc,lp,ppdev
ip_tables              32768  0
x_tables               53248  4 nft_compat,xt_multiport,ipt_REJECT,ip_tables
autofs4                53248  2
ext4                  778240  2
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  139264  1 ext4
crc32c_generic         16384  0
dm_crypt               49152  1
dm_mod                159744  9 dm_crypt
sd_mod                 57344  3
sr_mod                 28672  0
cdrom                  73728  1 sr_mod
t10_pi                 16384  1 sd_mod
crc_t10dif             20480  1 t10_pi
crct10dif_generic      16384  0
crct10dif_pclmul       16384  1
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
crc32_pclmul           16384  0
crc32c_intel           24576  2
ghash_clmulni_intel    16384  0
rtsx_pci_sdmmc         32768  0
mmc_core              184320  1 rtsx_pci_sdmmc
xhci_pci               20480  0
xhci_hcd              290816  1 xhci_pci
aesni_intel           368640  7
ahci                   40960  2
libaes                 16384  2 bluetooth,aesni_intel
libahci                45056  1 ahci
crypto_simd            16384  1 aesni_intel
libata                286720  2 libahci,ahci
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
ehci_pci               20480  0
ehci_hcd               98304  1 ehci_pci
psmouse               180224  0
e1000e                290816  0
scsi_mod              258048  4 sd_mod,libata,sg,sr_mod
usbcore               315392  6 xhci_hcd,ehci_pci,uvcvideo,ehci_hcd,btusb,xhci_pci
rtsx_pci               90112  1 rtsx_pci_sdmmc
i2c_i801               32768  0
lpc_ich                28672  0
ptp                    28672  1 e1000e
mfd_core               20480  2 rtsx_pci,lpc_ich
pps_core               24576  1 ptp
usb_common             16384  4 xhci_hcd,usbcore,uvcvideo,ehci_hcd
battery                20480  0
video                  53248  0
wmi                    36864  3 hp_wmi,wmi_bmof,mxm_wmi


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-1-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:2.3.3-1
ii  debconf [debconf-2.0]  1.5.74
ii  dmsetup                2:1.02.167-1+b1
ii  libc6                  2.30-8

Versions of packages cryptsetup recommends:
ii  cryptsetup-initramfs  2:2.3.3-1
pn  cryptsetup-run        <none>

Versions of packages cryptsetup suggests:
ii  dosfstools              4.1-2
pn  keyutils                <none>
ii  liblocale-gettext-perl  1.07-4

-- debconf information:
  cryptsetup/prerm_active_mappings: true

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-cryptsetup-devel mailing list