[pkg-cryptsetup-devel] Bug#999731: cryptsetup-suspend: fails to wake up screen after suspend

Jonas Smedegaard dr at jones.dk
Mon Nov 15 17:06:57 GMT 2021


Package: cryptsetup-suspend
Version: 2:2.4.1-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

cryptsetup-suspend looks promising, but unfortunately failed for me so
far on my ARM-based laptop - TERES-I - running an up-to-date bookwork
sytem with with the Wayland-based window-manager Sway: Without
cryptsetup-suspend, waking up leads to screen being backlit-black where
I can either hit ESC and get visual feedback from sway-lock, or
CTRL+ALT+F2 and get a text console; with cryptsetup-suspend installed,
waking up also leads to screen being backlit-black but not responding to
keyboard entry - system is however enough restored that I can power it
down and then examine the journal.

Attached is a log extracted from the journal, where key events are...
 * 16:21:42 power key pressed, resulting in power up
 * 16:21:46 log in to Sway
 * 16:23:00 trigger lid events resulting in deep sleep
 * 16:23:20 trigger lid events resulting in succesful wakeup
 * 16:29:36 install cryptsetup-suspend
 * 16:29:50 trigger lid events resulting in deep sleep
 * 16:30:32 trigger lid events resulting in backlit-but-black screen
 * 16:30:52 power key pressed, resulting in power down


 - Jonas


- -- Package-specific info:
- -- /proc/cmdline
UUID=a58783c9-b793-44e2-86cf-1964a5208d40 ro loglevel=3 console=ttyS0,115200 console=tty0 clk_ignore_unused

- -- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
luksroot UUID=a58783c9-b793-44e2-86cf-1964a5208d40 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>
# / was on /dev/mapper/vg_sys-lv_root during installation
UUID=c2411576-7d13-42ee-bdb2-5339f9f5d396 /               ext4    errors=remount-ro       0       1
# /boot was on /dev/mmcblk2p1 during installation
UUID=69cc7768-265f-4176-a131-fe092ef49d9d /boot           ext4    defaults        0       2
# /home was on /dev/mapper/vg_sys-lv_home during installation
UUID=7aab2183-f9d5-4dec-9037-325b81479a6e /home           ext4    defaults        0       2
# /tmp was on tmpfs during installation
tmpfs    /tmp        tmpfs    defaults    0 0
# /var/tmp was on tmpfs during installation
tmpfs    /var/tmp    tmpfs    defaults    0 0
# swap was on /dev/mapper/vg_sys-lv_swap during installation
UUID=763f7ad1-5f58-496f-a258-100aef3ad6c1 none            swap    sw              0       0

- -- lsmod
Module                  Size  Used by
snd_seq_dummy          16384  0
snd_hrtimer            20480  1
snd_seq                90112  7 snd_seq_dummy
snd_seq_device         20480  1 snd_seq
aes_ce_ccm             20480  0
algif_aead             20480  0
algif_skcipher         20480  0
sha512_generic         16384  0
sha512_arm64           20480  0
md4                    16384  0
algif_hash             24576  0
af_alg                 28672  3 algif_hash,algif_skcipher,algif_aead
ecb                    16384  0
r8723bs               557056  0
axp20x_battery         16384  0
axp20x_adc             20480  0
axp20x_ac_power        16384  0
industrialio           77824  3 axp20x_battery,axp20x_ac_power,axp20x_adc
des_generic            16384  0
axp20x_pek             16384  0
sunxi_cedrus           49152  0
libdes                 24576  1 des_generic
v4l2_mem2mem           28672  1 sunxi_cedrus
uvcvideo              110592  0
snd_soc_simple_card    24576  1
cfg80211              741376  1 r8723bs
snd_soc_simple_card_utils    24576  1 snd_soc_simple_card
videobuf2_dma_contig    24576  1 sunxi_cedrus
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  2 videobuf2_vmalloc,videobuf2_dma_contig
sun50i_codec_analog    32768  1
videobuf2_v4l2         24576  3 sunxi_cedrus,uvcvideo,v4l2_mem2mem
sun8i_adda_pr_regmap    16384  1 sun50i_codec_analog
lima                   65536  2
videobuf2_common       53248  7 sunxi_cedrus,videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_v4l2,uvcvideo,v4l2_mem2mem,videobuf2_memops
gpu_sched              40960  1 lima
sun4i_i2s              24576  2
sun8i_codec            49152  1
rfkill                 32768  3 cfg80211
snd_soc_simple_amplifier    16384  1
libarc4                16384  1 r8723bs
sun8i_thermal          16384  0
sunxi_wdt              20480  0
snd_soc_core          204800  6 sun4i_i2s,sun50i_codec_analog,sun8i_codec,snd_soc_simple_amplifier,snd_soc_simple_card_utils,snd_soc_simple_card
videodev              229376  5 sunxi_cedrus,videobuf2_v4l2,uvcvideo,videobuf2_common,v4l2_mem2mem
sun8i_ce               32768  0
nvmem_sunxi_sid        16384  1
snd_pcm_dmaengine      20480  1 snd_soc_core
crypto_engine          20480  1 sun8i_ce
mc                     53248  6 sunxi_cedrus,videodev,videobuf2_v4l2,uvcvideo,videobuf2_common,v4l2_mem2mem
evdev                  32768  13
snd_pcm               114688  4 sun4i_i2s,sun8i_codec,snd_soc_core,snd_pcm_dmaengine
snd_timer              40960  3 snd_seq,snd_hrtimer,snd_pcm
sun6i_dma              32768  2
snd                    94208  9 snd_seq,snd_seq_device,snd_timer,snd_soc_core,snd_pcm
soundcore              20480  1 snd
leds_gpio              16384  0
cpufreq_dt             20480  0
pkcs8_key_parser       16384  0
fuse                  155648  1
configfs               49152  1
ip_tables              32768  0
x_tables               36864  1 ip_tables
autofs4                49152  2
ext4                  765952  3
crc16                  16384  1 ext4
mbcache                24576  1 ext4
jbd2                  151552  1 ext4
crc32c_generic         16384  6
hid_generic            16384  0
usbhid                 61440  0
hid                   131072  2 usbhid,hid_generic
dm_crypt               53248  1
dm_mod                135168  17 dm_crypt
pinctrl_axp209         16384  0
axp20x_regulator       49152  12
analogix_anx6345       20480  0
analogix_dp            49152  1 analogix_anx6345
crct10dif_ce           20480  0
crct10dif_common       16384  1 crct10dif_ce
ghash_ce               24576  0
gf128mul               16384  1 ghash_ce
ohci_platform          16384  0
sha2_ce                20480  0
ohci_hcd               53248  1 ohci_platform
ehci_platform          20480  0
ehci_hcd               90112  1 ehci_platform
sha256_arm64           28672  1 sha2_ce
axp20x_rsb             16384  0
sha1_ce                20480  0
axp20x_i2c             16384  0
axp20x                 36864  2 axp20x_rsb,axp20x_i2c
usbcore               270336  6 ohci_platform,ohci_hcd,ehci_platform,usbhid,uvcvideo,ehci_hcd
fixed                  20480  1
sun4i_drm              20480  5
sun4i_frontend         20480  1 sun4i_drm
i2c_mv64xxx            24576  0
sun8i_mixer            40960  0
sun4i_tcon             36864  1 sun4i_drm
phy_sun4i_usb          28672  2
pwm_sun4i              20480  1
sun8i_tcon_top         20480  2 sun4i_tcon,sun4i_drm
usb_common             16384  6 ohci_hcd,ehci_platform,phy_sun4i_usb,usbcore,uvcvideo,ehci_hcd
drm_kms_helper        217088  8 sun8i_mixer,sun4i_frontend,sun4i_tcon,sun4i_drm,analogix_anx6345,analogix_dp
drm                   462848  14 gpu_sched,sun8i_mixer,drm_kms_helper,lima,sun4i_frontend,sun4i_tcon,sun4i_drm,analogix_anx6345,analogix_dp
sunxi_mmc              32768  0
gpio_keys              24576  0
pwm_bl                 20480  0
aes_neon_bs            28672  0
aes_neon_blk           32768  1 aes_neon_bs
aes_ce_blk             36864  2
crypto_simd            24576  3 aes_neon_bs,aes_ce_blk,aes_neon_blk
cryptd                 24576  2 crypto_simd
aes_ce_cipher          20480  2 aes_ce_ccm,aes_ce_blk


- -- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 5.14.0-4-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cryptsetup-suspend depends on:
ii  cryptsetup-initramfs  2:2.4.1-1
ii  initramfs-tools-core  0.140
ii  kbd                   2.3.0-3
ii  libc6                 2.32-4
ii  libcryptsetup12       2:2.4.1-1
ii  systemd               249.5-2

cryptsetup-suspend recommends no packages.

cryptsetup-suspend suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmGSk64ACgkQLHwxRsGg
ASHa8w//R1oNXfa64D48R13azoarrs1z5tc5H1r+2/215Jh1rdAqyei6pcIEnm8C
rZzPKUdrJrhe1eyLtDRayB8Gb/s9QO/7jgkiOfZC4RSw1b81/ohJrsD5ZMh71B88
oGucqK/TcTCE6fC3hn6m/XrREMecmVkX6dVPlPuonwFsUKbTprycidMruPmQO3NR
IWg0H8RrhrD09guzqn0qORX+DeRrtrxhgUpNKOnaxp8V/mvU20vcFT12Es/wpRan
Q5tZ178od6YlXg5oHjyzXn1YQrwQQCV+X11k7/XV0P2cpplAYLZrsEnTcfu5AWGr
ThwlkXoqDkN+2ran5g2ertAEDwwA+14LJhtURDDb9TPCvgA+okyXEJnD+gzXqIJ0
uEvh7SZA5AvUScKR1KjvjYfbaNVQCn3Bdp34Eh8SrsiH4/QOXSVgSRoDfD8oktef
bjZ3ieyw4WgcaSFwBovdp7uZETMdMF+iBZlkfF0h6WLfW0cn9KOpYlwmmCxxRlpC
99hxQLSEswUqHNaPEJo2PFinNDYsvTvTeBreymVWS0gr1yPOW1diKS3H7xt0tzde
QZbyju/aTBCRr1JeeedyeEs3yGXF8W+jl4ouVwGSDbUcSUFV4FsOBZjD5pMJmt6H
eFwGepP3HwagW8hduZpZ5RP6SGIZO7HmzIT55oso4j9yLh0cg/I=
=DNR0
-----END PGP SIGNATURE-----



More information about the pkg-cryptsetup-devel mailing list