[Bug 2042710] Re: Can't enter cryptsetup password on MacBook Pro 2017 (MacBookPro14, 1) due to missing kernel modules in initramfs
Benjamin Drung
2042710 at bugs.launchpad.net
Tue Nov 14 08:56:25 UTC 2023
I stripped the timestamp (sed -s 's/\[[0-9. ]*\] //') and sorted the
entries of the two dmesg outputs, but I did not find new entries in the
diff.
lspci shows that following devices are using the intel_lpss_pci kernel
module:
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
00:1e.3 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO SPI Controller #1 (rev 21)
and I found this in the dmesg log:
input: Apple SPI Keyboard as /devices/pci0000:00/0000:00:1e.3/pxa2xx-
spi.3/spi_master/spi2/spi-APP000D:00/input/input4
which shows that the keyboard is connected via SPI on 00:1e.3.
That explains it. I will upload a fixed initramfs-tools to noble and
file a bug against dracut to include intel_lpss_pci. Thanks for your
investigation and help. Do you want to help on getting the SRU (see
https://wiki.ubuntu.com/StableReleaseUpdates) into mantic?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2042710
Title:
Can't enter cryptsetup password on MacBook Pro 2017 (MacBookPro14,1)
due to missing kernel modules in initramfs
Status in initramfs-tools package in Ubuntu:
Triaged
Status in initramfs-tools source package in Mantic:
New
Bug description:
I have a MacBook Pro 2017 (MacBookPro14,1) with an encrypted root
partition, which I decrypt via passphrase during boot, at the "Please
unlock disk nvme0n1p4_crypt" prompt.
Using 23.04 "Lunar" this worked fine. However after upgrading to 23.10
"Mantic", the built-in keyboard doesn't work for entering the
passphrase.
Quickest workaround: plug in a USB keyboard for entering the
passphrase.
Workaround: add the following modules to "/etc/initramfs-
tools/modules":
spi_pxa2xx_platform
intel_lpss_pci
... then "sudo update-initramfs -u".
I found that both kernel modules were required to get the keyboard
recognised in initramfs.
I did a bit of digging into what changed for 23.10. It could
potentially (?) be commit 2df78bbb143884b9601a32608e12e43d40ccb0b0 "Do
not install ARM/RISCV specific modules on other architectures".
I had a look into how dracut handles it. Turns out that they
specifically include "spi_pxa2xx_platform" after reporting a similar
bug report in Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=2166209
I don't know how (if?) they handle the 2nd module, "intel_lpss_pci".
Anyway, I don't need an immediate fix since the workaround works for
me. Just posting this for further investigation, and for any other
MacBook Pro users in the same situation. Thanks for working on Ubuntu,
I think you're all amazing!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2042710/+subscriptions
More information about the foundations-bugs
mailing list