[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1069133: linux-image-6.6.15-arm64: luks unlock passphrase prompt is not offered on serial console



Package: src:linux
Version: 6.6.15-2
Severity: normal
X-Debbugs-Cc: forestix@nom.one

Dear Maintainer,

When booting with an encrypted root filesystem, the LUKS unlock
passphrase prompt normally appears on the serial console shortly after
the first device-mapper messages. It looks like this:

  Please unlock disk devname_crypt:

After upgrading from kernel 6.1.0-20 (bookworm) to 6.6.15-2 (testing), the
passphrase prompt never appears.

I was only able to continue the boot process because this system happens
to have network access and dropbear-initramfs, for remote unlocking via
ssh.  Were that not the case, it seems the system would be unbootable
with this kernel.

Kernel 6.7.9-2 (unstable) does not have this problem.


-- Package-specific info:
** Version:
Linux version 6.6.15-arm64 (debian-kernel@lists.debian.org) (gcc-13 (Debian 13.2.0-13) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) #1 SMP Debian 6.6.15-2 (2024-02-04)

** Command line:
root=/dev/mapper/devname_crypt net.ifnames=0

** Tainted: C (1024)
 * staging driver was loaded

** Kernel log:
[  149.090747] systemd[1]: Started systemd-journald.service - Journal Service.
[  149.254649] systemd-journald[1729]: Received client request to flush runtime journal.
[  150.667782] cpu cpu0: EM: created perf domain
[  150.692323] cpu cpu4: EM: OPP:408000 is inefficient
[  150.692622] cpu cpu4: EM: created perf domain
[  150.729385]  cs_system_cfg: CoreSight Configuration manager initialised
[  150.815867] sd 3:0:0:0: Attached scsi generic sg0 type 0
[  150.846507] mc: Linux media interface: v0.10
[  150.854523] coresight-cpu-debug fe430000.debug: Coresight debug-CPU0 initialized
[  150.855314] coresight-cpu-debug fe432000.debug: Coresight debug-CPU1 initialized
[  150.856041] coresight-cpu-debug fe434000.debug: Coresight debug-CPU2 initialized
[  150.856798] coresight-cpu-debug fe436000.debug: Coresight debug-CPU3 initialized
[  150.857544] coresight-cpu-debug fe610000.debug: Coresight debug-CPU4 initialized
[  150.858287] coresight-cpu-debug fe710000.debug: Coresight debug-CPU5 initialized
[  150.869439] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[  150.942070] dw_wdt ff848000.watchdog: No valid TOPs array specified
[  150.971530] Registered IR keymap rc-empty
[  150.972060] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[  150.985430] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[  151.005373] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input1
[  151.008902] Registered IR keymap rc-cec
[  151.009376] rc rc1: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc1
[  151.010046] input: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc1/input2
[  151.031943] rk3288-crypto ff8b0000.crypto: will run requests pump with realtime priority
[  151.032761] rk3288-crypto ff8b0000.crypto: Register ecb(aes) as ecb-aes-rk
[  151.054216] rk3288-crypto ff8b0000.crypto: Register cbc(aes) as cbc-aes-rk
[  151.058400] rk3288-crypto ff8b0000.crypto: Register ecb(des) as ecb-des-rk
[  151.081600] videodev: Linux video capture interface: v2.00
[  151.184800] rk3288-crypto ff8b0000.crypto: Register cbc(des) as cbc-des-rk
[  151.190566] panfrost ff9a0000.gpu: clock rate = 500000000
[  151.202576] rk3288-crypto ff8b0000.crypto: Register ecb(des3_ede) as ecb-des3-ede-rk
[  151.228527] Bluetooth: Core ver 2.22
[  151.229070] NET: Registered PF_BLUETOOTH protocol family
[  151.229535] rk3288-crypto ff8b0000.crypto: Register cbc(des3_ede) as cbc-des3-ede-rk
[  151.229552] Bluetooth: HCI device and connection manager initialized
[  151.230931] Bluetooth: HCI socket layer initialized
[  151.231406] Bluetooth: L2CAP socket layer initialized
[  151.231919] Bluetooth: SCO socket layer initialized
[  151.256807] rk3288-crypto ff8b0000.crypto: Register sha1 as rk-sha1
[  151.284343] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[  151.285070] panfrost ff9a0000.gpu: features: 00000000,00000407, issues: 00000000,24040400
[  151.285791] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[  151.286827] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[  151.309637] rk3288-crypto ff8b0000.crypto: Register sha256 as rk-sha256
[  151.311614] [drm] Initialized panfrost 1.2.0 20180908 for ff9a0000.gpu on minor 1
[  151.314713] rockchip-rga ff680000.rga: HW Version: 0x03.02
[  151.317607] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[  151.356517] rk3288-crypto ff8b0000.crypto: Register md5 as rk-md5
[  151.419453] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[  151.423455] rkvdec ff660000.video-codec: Adding to iommu group 1
[  151.427788] rk3288-crypto ff8b8000.crypto: will run requests pump with realtime priority
[  151.462746] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[  151.464075] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video2
[  151.465040] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video3
[  151.478239] Bluetooth: HCI UART driver ver 2.3
[  151.478653] Bluetooth: HCI UART protocol H4 registered
[  151.479161] Bluetooth: HCI UART protocol LL registered
[  151.479619] Bluetooth: HCI UART protocol ATH3K registered
[  151.480122] Bluetooth: HCI UART protocol Three-wire (H5) registered
[  151.480897] Bluetooth: HCI UART protocol Intel registered
[  151.481517] Bluetooth: HCI UART protocol Broadcom registered
[  151.482056] Bluetooth: HCI UART protocol QCA registered
[  151.482518] Bluetooth: HCI UART protocol AG6XX registered
[  151.483019] Bluetooth: HCI UART protocol Marvell registered
[  151.601048] dw-apb-uart ff180000.serial: failed to request DMA
[  151.777389] EXT4-fs (mmcblk1p1): mounting ext2 file system using the ext4 subsystem
[  151.790399] EXT4-fs (mmcblk1p1): mounted filesystem 4f8b92f7-03c7-46ff-8354-44e8ccbbd121 r/w without journal. Quota mode: none.
[  153.262750] EXT4-fs (dm-1): mounted filesystem 68e85a5c-303d-49bf-8607-00c88d05ec1c r/w with ordered data mode. Quota mode: none.
[  153.624086] audit: type=1400 audit(1713302229.316:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/lxc-start" pid=1900 comm="apparmor_parser"
[  153.633606] audit: type=1400 audit(1713302229.328:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1898 comm="apparmor_parser"
[  153.635113] audit: type=1400 audit(1713302229.328:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1898 comm="apparmor_parser"
[  153.636564] audit: type=1400 audit(1713302229.328:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=1901 comm="apparmor_parser"
[  153.640014] audit: type=1400 audit(1713302229.328:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=1901 comm="apparmor_parser"
[  153.642356] audit: type=1400 audit(1713302229.328:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=1901 comm="apparmor_parser"
[  153.644406] audit: type=1400 audit(1713302229.328:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=1896 comm="apparmor_parser"
[  153.676888] audit: type=1400 audit(1713302229.368:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1899 comm="apparmor_parser"
[  153.679001] audit: type=1400 audit(1713302229.372:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=1899 comm="apparmor_parser"
[  153.680570] audit: type=1400 audit(1713302229.372:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=1899 comm="apparmor_parser"
[  153.737061] Bluetooth: hci0: command 0x0c03 tx timeout
[  154.109962] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  154.201202] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[  154.208913] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[  154.209646] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[  154.210280] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[  157.318537] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  161.768769] Bluetooth: hci0: BCM: Reset failed (-110)
[  164.561490] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[  166.214547] systemd[2080]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[  166.230924] kauditd_printk_skb: 8 callbacks suppressed
[  166.230939] audit: type=1400 audit(1713302241.923:20): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/bin/lxc-start" pid=2146 comm="apparmor_parser"
[  166.290381] audit: type=1400 audit(1713302241.983:21): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="lxc-container-default" pid=2151 comm="apparmor_parser"
[  166.292346] audit: type=1400 audit(1713302241.983:22): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="lxc-container-default-cgns" pid=2151 comm="apparmor_parser"
[  166.294429] audit: type=1400 audit(1713302241.983:23): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="lxc-container-default-with-mounting" pid=2151 comm="apparmor_parser"
[  166.296455] audit: type=1400 audit(1713302241.983:24): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="lxc-container-default-with-nesting" pid=2151 comm="apparmor_parser"
[  167.773477] audit: type=1400 audit(1713302243.467:25): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" pid=2066 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  167.775458] audit: type=1400 audit(1713302243.467:26): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" pid=2066 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  167.779386] audit: type=1400 audit(1713302243.467:27): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/local/lib/" pid=2066 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  167.937610] audit: type=1400 audit(1713302243.631:28): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" pid=2066 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  167.939472] audit: type=1400 audit(1713302243.631:29): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/quasselcore" name="/usr/lib/" pid=2066 comm="quasselcore" requested_mask="r" denied_mask="r" fsuid=110 ouid=0
[  171.780905] systemd-journald[1729]: Time jumped backwards, rotating.

** Model information
Device Tree model: Pine64 RockPro64 v2.0

** Loaded modules:
xt_CHECKSUM
nft_chain_nat
xt_MASQUERADE
nf_nat
nf_conntrack
nf_defrag_ipv6
nf_defrag_ipv4
xt_tcpudp
nft_compat
bridge
stp
llc
nf_tables
libcrc32c
nfnetlink
binfmt_misc
snd_soc_rockchip_i2s
hci_uart
snd_soc_audio_graph_card
snd_soc_hdmi_codec
snd_soc_simple_card
hantro_vpu
btqca
snd_soc_simple_card_utils
btrtl
snd_soc_spdif_tx
rockchip_vdec(C)
btintel
snd_soc_core
rockchip_rga
v4l2_vp9
btbcm
snd_compress
snd_pcm_dmaengine
governor_simpleondemand
v4l2_h264
snd_pcm
videobuf2_dma_contig
bluetooth
v4l2_mem2mem
panfrost
des_generic
videobuf2_dma_sg
videobuf2_memops
ecb
videobuf2_v4l2
snd_timer
snd
gpu_sched
leds_gpio
pwm_fan
videodev
rk_crypto
drm_shmem_helper
soundcore
dw_hdmi_i2s_audio
gpio_ir_recv
dw_hdmi_cec
crypto_engine
rockchip_saradc
ecdh_generic
dw_wdt
videobuf2_common
ofpart
nvmem_rockchip_efuse
libdes
industrialio_triggered_buffer
spi_nor
rfkill
coresight_cpu_debug
mc
sg
mtd
rockchip_thermal
kfifo_buf
coresight_etm4x
industrialio
coresight
cpufreq_dt
evdev
loop
efi_pstore
configfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
dm_crypt
dm_mod
dax
sd_mod
t10_pi
crc64_rocksoft_generic
crc64_rocksoft
crc_t10dif
crct10dif_generic
crc64
realtek
ahci
libahci
xhci_plat_hcd
libata
scsi_mod
rk808_regulator
xhci_hcd
scsi_common
fusb302
dwc3
crct10dif_ce
tcpm
typec
fan53555
crct10dif_common
udc_core
polyval_ce
polyval_generic
ulpi
rockchipdrm
gpio_rockchip
ghash_ce
dw_hdmi
gf128mul
cec
dwmac_rk
pwm_regulator
rc_core
sha2_ce
sha256_arm64
dwc3_of_simple
stmmac_platform
sha1_ce
ohci_platform
dw_mipi_dsi
pinctrl_rockchip
ohci_hcd
stmmac
gpio_keys
analogix_dp
ehci_platform
phy_rockchip_pcie
phy_rockchip_inno_usb2
pl330
phy_rockchip_emmc
drm_display_helper
ehci_hcd
io_domain
pcs_xpcs
phylink
sdhci_of_arasan
dw_mmc_rockchip
drm_dma_helper
phy_rockchip_typec
of_mdio
sdhci_pltfm
dw_mmc_pltfm
pwm_rockchip
fixed_phy
drm_kms_helper
cqhci
fwnode_mdio
usbcore
i2c_rk3x
spi_rockchip
drm
sdhci
dw_mmc
libphy
usb_common
fixed
aes_neon_bs
aes_neon_blk
aes_ce_blk
aes_ce_cipher

** PCI devices:
00:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port [1d87:0100] (prog-if 00 [Normal decode])
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 65
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Memory behind bridge: fa000000-fa0fffff [size=1M] [32-bit]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

01:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller [1b4b:9235] (rev 11) (prog-if 01 [AHCI 1.0])
	Subsystem: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller [1b4b:9235]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 81
	Region 5: Memory at fa040000 (32-bit, non-prefetchable) [size=2K]
	Expansion ROM at fa000000 [size=256K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci


** USB devices:
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (1, 'unstable'), (1, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 6.6.15-arm64 (SMP w/6 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 linux-image-6.6.15-arm64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.142
ii  kmod                                    30+20221128-1
ii  linux-base                              4.9

Versions of packages linux-image-6.6.15-arm64 recommends:
ii  apparmor             3.0.8-3
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-6.6.15-arm64 suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-6.6           <none>

Versions of packages linux-image-6.6.15-arm64 is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information


Reply to: