You are not logged in.

#1 2018-11-24 01:05:54

ashneo76
Member
Registered: 2010-11-15
Posts: 9

LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

Hi,

I have tried searching a lot on the internet but I am stuck as to where to look. I am looking for help or pointers.

My setup:
I am running Arch Linux on a 2015 Macbook Pro. I am using an LVM volume that is mounted from a LUKS encrypted partition.
I used to be able to boot properly, until an update yesterday. This setup has been working for around 5 months with regular updates with latest linux kernel. But linux-lts doesn't fix it either.

I have followed all the wiki instructions for mounting an encrypted root at boot as in the wiki. And I haven't changed the mkinitcpio.conf.
Also, the hooks are configured to load "keyboard" before "encrypt" and "lvm" hooks.

Now, it just stops at the prompt:

Please enter a password to unlock <disk-id>:

Pressing enter, or the right password does nothing.

Things I have researched or tried:
1. Reinstalling and booting into each of linux, linux-lts, linux-zen
2. Reinstalling mkinitcpio
3. Comparing another laptop, a Lenovo, the installed keyboard hooks from mkinitcpio package.
4. Booting from the arch install USB. This works perfectly fine.
5. Reconfiguring grub. Grub install gets the kernel config correctly.

Any help or pointers in the right direction will be very welcome.

Thanks.


Btw, I use Arch Linux

Offline

#2 2018-11-24 01:08:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

Post the pacman log from yesterday's update.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-11-24 01:12:55

jamespharvey20
Member
Registered: 2015-06-09
Posts: 129

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

jasonwryan's pacman log request is most important IMO, so post that first, but also...

When you boot from the arch USB, can you open and mount the luks partition?

What are your kernel parameters?

Offline

#4 2018-11-24 05:43:17

ashneo76
Member
Registered: 2010-11-15
Posts: 9

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

Hi,

Thank you for your questions. Yes, I unlock the luks partition from the arch live usb.

I have attached the pacman logs for the relevant time below:

/etc/default/grub

GRUB_CMDLINE_LINUX="cryptdevice=UUID=9712bbcf-2ff5-450f-8fc8-273c6b0bd56d:cryptroot root=/dev/linux/root"
GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm"
GRUB_ENABLE_CRYPTODISK=y
GRUB_TERMINAL_INPUT=console

/etc/mkinitcpio.conf

MODULES=()
BINARIES=()
FILES=()
HOOKS=(base udev autodetect keyboard keymap modconf block encrypt lvm2 filesystems fsck)

/boot/grub/grub.cfg

menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3cd9a11f-3a21-4fad-8472-1f965dad5d2a' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  67E3-17ED
	else
	  search --no-floppy --fs-uuid --set=root 67E3-17ED
	fi
	echo	'Loading Linux linux-zen ...'
	linux	/vmlinuz-linux-zen root=/dev/mapper/linux-root rw cryptdevice=UUID=9712bbcf-2ff5-450f-8fc8-273c6b0bd56d:cryptroot root=/dev/linux/root quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux-zen.img
}

/var/log/pacman.log

[2018-11-22 16:19] [PACMAN] Running 'pacman -Syy'
[2018-11-22 16:19] [PACMAN] synchronizing package lists
[2018-11-22 16:20] [PACMAN] Running 'pacman -Syu'
[2018-11-22 16:20] [PACMAN] synchronizing package lists
[2018-11-22 16:20] [PACMAN] starting full system upgrade
[2018-11-22 16:27] [PACMAN] Running 'pacman -S --force python-neovim'
[2018-11-22 16:27] [ALPM] transaction started
[2018-11-22 16:27] [ALPM] upgraded python-neovim (0.3.0-1 -> 0.3.1-1)
[2018-11-22 16:27] [ALPM] transaction completed
[2018-11-22 16:27] [ALPM] running 'systemd-update.hook'...
[2018-11-22 16:27] [PACMAN] Running 'pacman -Syu'
[2018-11-22 16:27] [PACMAN] synchronizing package lists
[2018-11-22 16:27] [PACMAN] starting full system upgrade
[2018-11-22 16:27] [ALPM] running '70-dkms-remove.hook'...
[2018-11-22 16:27] [ALPM-SCRIPTLET] ==> dkms remove hid-apple-patched/20171118.c92cc98 -k 4.19.1-arch1-1-ARCH
[2018-11-22 16:27] [ALPM-SCRIPTLET] ==> dkms remove vboxhost/5.2.22_OSE -k 4.19.1-arch1-1-ARCH
[2018-11-22 16:27] [ALPM] running 'ghc-unregister.hook'...
[2018-11-22 16:28] [ALPM] transaction started
[2018-11-22 16:28] [ALPM] upgraded acpid (2.0.30-1 -> 2.0.31-1)
[2018-11-22 16:28] [ALPM] upgraded harfbuzz (2.1.1-1 -> 2.1.3-1)
[2018-11-22 16:28] [ALPM] upgraded libjpeg-turbo (2.0.0-1 -> 2.0.1-1)
[2018-11-22 16:28] [ALPM] upgraded libtiff (4.0.9-2 -> 4.0.10-1)
[2018-11-22 16:28] [ALPM] upgraded adwaita-icon-theme (3.30.0-1 -> 3.30.1-1)
[2018-11-22 16:28] [ALPM] upgraded alsa-lib (1.1.7-1 -> 1.1.7-2)
[2018-11-22 16:28] [ALPM] upgraded archlinux-appstream-data (20181016-1 -> 20181117-1)
[2018-11-22 16:28] [ALPM] upgraded babl (0.1.58-1 -> 0.1.60-1)
[2018-11-22 16:28] [ALPM] upgraded compton (3.0-6 -> 4.0-1)
[2018-11-22 16:28] [ALPM] upgraded libmusicxml (3.13-1 -> 3.14-1)
[2018-11-22 16:28] [ALPM] upgraded tcl (8.6.8-3 -> 8.6.9-2)
[2018-11-22 16:28] [ALPM] upgraded tk (8.6.8-3 -> 8.6.9-2)
[2018-11-22 16:28] [ALPM] upgraded hwids (20180518-1 -> 20180917-1)
[2018-11-22 16:28] [ALPM] upgraded keyutils (1.5.11-1 -> 1.6-1)
[2018-11-22 16:28] [ALPM] upgraded csound (6.12.0-1 -> 6.12.2-1)
[2018-11-22 16:28] [ALPM] upgraded csound-doc (6.12.0-1 -> 6.12.2-1)
[2018-11-22 16:28] [ALPM] upgraded hunspell (1.6.2-1 -> 1.7.0-1)
[2018-11-22 16:28] [ALPM] upgraded enchant (2.2.3-1 -> 2.2.3-2)
[2018-11-22 16:28] [ALPM] upgraded wayland-protocols (1.16-1 -> 1.17-1)
[2018-11-22 16:28] [ALPM] upgraded libwebp (1.0.0-1 -> 1.0.1-1)
[2018-11-22 16:28] [ALPM] upgraded libwacom (0.31-1 -> 0.32-1)
[2018-11-22 16:28] [ALPM] upgraded flatpak (1.0.6-1 -> 1.1.0-1)
[2018-11-22 16:28] [ALPM] upgraded freerdp (1:2.0.0_rc3-1 -> 1:2.0.0_rc4-1)
[2018-11-22 16:28] [ALPM] upgraded frei0r-plugins (1.6.1-5 -> 1.6.1-7)
[2018-11-22 16:28] [ALPM] upgraded ghostscript (9.25-4 -> 9.26-1)
[2018-11-22 16:28] [ALPM] upgraded mtools (4.0.19-1 -> 4.0.20-1)
[2018-11-22 16:28] [ALPM] upgraded harfbuzz-icu (2.1.1-1 -> 2.1.3-1)
[2018-11-22 16:28] [ALPM] upgraded webkit2gtk (2.22.3-1 -> 2.22.4-1)
[2018-11-22 16:28] [ALPM] upgraded xfsprogs (4.18.0-1 -> 4.19.0-1)
[2018-11-22 16:28] [ALPM] upgraded libusbmuxd (1.0.10+13+gc724e70-1 -> 1.0.10+29+g9db5747-1)
[2018-11-22 16:28] [ALPM] upgraded usbmuxd (1.1.0+48+g1cc8b34-1 -> 1.1.0+48+g1cc8b34-2)
[2018-11-22 16:28] [ALPM] upgraded libimobiledevice (1.2.0+66+g5a85432-2 -> 1.2.0+87+g92c5462-1)
[2018-11-22 16:28] [ALPM] upgraded gnome-boxes (3.30.2-1 -> 3.30.3-1)
[2018-11-22 16:28] [ALPM] upgraded gobject-introspection-runtime (1.58.0+8+gfdaa3b1a-1 -> 1.58.1-1)
[2018-11-22 16:28] [ALPM] upgraded gst-plugins-bad (1.14.4-3 -> 1.14.4-4)
[2018-11-22 16:28] [ALPM] upgraded vim-runtime (8.1.0527-1 -> 8.1.0542-1)
[2018-11-22 16:28] [ALPM] upgraded gvim (8.1.0527-1 -> 8.1.0542-1)
[2018-11-22 16:28] [ALPM] upgraded haskell-memory (0.14.18-7 -> 0.14.18-8)
[2018-11-22 16:28] [ALPM] upgraded haskell-asn1-types (0.3.2-81 -> 0.3.2-82)
[2018-11-22 16:28] [ALPM] upgraded haskell-asn1-encoding (0.9.5-74 -> 0.9.5-75)
[2018-11-22 16:28] [ALPM] upgraded haskell-asn1-parse (0.9.4-85 -> 0.9.4-86)
[2018-11-22 16:28] [ALPM] upgraded haskell-mono-traversable (1.0.9.0-22 -> 1.0.9.0-23)
[2018-11-22 16:28] [ALPM] upgraded haskell-conduit (1.3.1-9 -> 1.3.1-10)
[2018-11-22 16:28] [ALPM] upgraded haskell-network (2.7.0.2-15 -> 2.7.0.2-16)
[2018-11-22 16:28] [ALPM] upgraded haskell-streaming-commons (0.2.1.0-13 -> 0.2.1.0-14)
[2018-11-22 16:28] [ALPM] upgraded haskell-conduit-extra (1.3.0-71 -> 1.3.0-72)
[2018-11-22 16:28] [ALPM] upgraded haskell-socks (0.5.6-41 -> 0.5.6-42)
[2018-11-22 16:28] [ALPM] upgraded haskell-cryptonite (0.25-27 -> 0.25-28)
[2018-11-22 16:28] [ALPM] upgraded haskell-pem (0.2.4-33 -> 0.2.4-34)
[2018-11-22 16:28] [ALPM] upgraded haskell-x509 (1.7.5-2 -> 1.7.5-3)
[2018-11-22 16:28] [ALPM] upgraded haskell-x509-store (1.6.7-1 -> 1.6.7-2)
[2018-11-22 16:28] [ALPM] upgraded haskell-x509-validation (1.6.11-1 -> 1.6.11-2)
[2018-11-22 16:28] [ALPM] upgraded haskell-tls (1.4.1-51 -> 1.4.1-52)
[2018-11-22 16:28] [ALPM] upgraded haskell-x509-system (1.6.6-69 -> 1.6.6-70)
[2018-11-22 16:28] [ALPM] upgraded haskell-connection (0.2.8-106 -> 0.2.8-107)
[2018-11-22 16:28] [ALPM] upgraded haskell-cryptohash (0.11.9-83 -> 0.11.9-84)
[2018-11-22 16:28] [ALPM] upgraded haskell-cryptonite-conduit (0.2.2-127 -> 0.2.2-128)
[2018-11-22 16:28] [ALPM] upgraded haskell-semigroupoids (5.3.1-22 -> 5.3.1-23)
[2018-11-22 16:28] [ALPM] upgraded haskell-either (5.0.1-24 -> 5.0.1-25)
[2018-11-22 16:28] [ALPM] upgraded haskell-foundation (0.0.21-15 -> 0.0.21-16)
[2018-11-22 16:28] [ALPM] upgraded haskell-free (5.1-22 -> 5.1-23)
[2018-11-22 16:28] [ALPM] upgraded haskell-githash (0.1.2.0-8 -> 0.1.2.0-10)
[2018-11-22 16:28] [ALPM] upgraded haskell-hackage-security (0.5.3.0-33 -> 0.5.3.0-34)
[2018-11-22 16:28] [ALPM] upgraded haskell-haddock-library (1.7.0-1 -> 1.7.0-2)
[2018-11-22 16:28] [ALPM] upgraded haskell-http-types (0.12.2-8 -> 0.12.2-9)
[2018-11-22 16:28] [ALPM] upgraded haskell-http-client (0.5.13.1-26 -> 0.5.14-1)
[2018-11-22 16:28] [ALPM] upgraded haskell-http-client-tls (0.3.5.3-85 -> 0.3.5.3-87)
[2018-11-22 16:28] [ALPM] upgraded haskell-libyaml (0.1.0.0-5 -> 0.1.0.0-6)
[2018-11-22 16:28] [ALPM] upgraded haskell-yaml (0.11.0.0-5 -> 0.11.0.0-6)
[2018-11-22 16:28] [ALPM] upgraded haskell-hpack (0.31.1-4 -> 0.31.1-6)
[2018-11-22 16:28] [ALPM] upgraded haskell-http-api-data (0.3.10-6 -> 0.3.10-7)
[2018-11-22 16:28] [ALPM] upgraded haskell-http-conduit (2.3.2-77 -> 2.3.2-80)
[2018-11-22 16:28] [ALPM] upgraded haskell-monad-logger (0.3.30-4 -> 0.3.30-5)
[2018-11-22 16:28] [ALPM] upgraded haskell-mustache (2.3.0-116 -> 2.3.0-119)
[2018-11-22 16:28] [ALPM] upgraded haskell-persistent (2.8.2-97 -> 2.8.2-98)
[2018-11-22 16:28] [ALPM] upgraded haskell-persistent-sqlite (2.8.2-43 -> 2.8.2-44)
[2018-11-22 16:28] [ALPM] upgraded haskell-persistent-template (2.5.4-123 -> 2.5.4-124)
[2018-11-22 16:28] [ALPM] upgraded haskell-project-template (0.2.0.1-101 -> 0.2.0.1-102)
[2018-11-22 16:28] [ALPM] upgraded haskell-retry (0.7.7.0-16 -> 0.7.7.0-17)
[2018-11-22 16:28] [ALPM] upgraded haskell-store (0.4.3.2-161 -> 0.4.3.2-162)
[2018-11-22 16:28] [ALPM] upgraded haskell-unicode-transforms (0.3.4-5 -> 0.3.5-1)
[2018-11-22 16:28] [ALPM] upgraded hdparm (9.57-1 -> 9.58-1)
[2018-11-22 16:28] [ALPM] upgraded python-prompt_toolkit (1.0.15-2 -> 2.0.7-1)
[2018-11-22 16:28] [ALPM] upgraded ipython (6.5.0-2 -> 7.1.1-1)
[2018-11-22 16:28] [ALPM] upgraded ldb (1:1.3.6-1 -> 1:1.4.3-1)
[2018-11-22 16:28] [ALPM] upgraded libnautilus-extension (3.30.3-1 -> 3.30.4-1)
[2018-11-22 16:28] [ALPM] upgraded libqaccessibilityclient (0.2.0-3 -> 0.3.0-1)
[2018-11-22 16:28] [ALPM] upgraded libraw (0.19.0-1 -> 0.19.1-1)
[2018-11-22 16:28] [ALPM] upgraded libreoffice-fresh (6.1.3-1 -> 6.1.3-2)
[2018-11-22 16:28] [ALPM] upgraded libwbclient (4.8.5-1 -> 4.9.2-1)
[2018-11-22 16:28] [ALPM] upgraded linux (4.19.1.arch1-1 -> 4.19.2.arch1-1)
[2018-11-22 16:28] [ALPM] upgraded linux-headers (4.19.1.arch1-1 -> 4.19.2.arch1-1)
[2018-11-22 16:28] [ALPM] upgraded sonnet (5.52.0-1 -> 5.52.0-2)
[2018-11-22 16:28] [ALPM] upgraded lokalize (18.08.3-1 -> 18.08.3-2)
[2018-11-22 16:28] [ALPM] upgraded nautilus (3.30.3-1 -> 3.30.4-1)
[2018-11-22 16:28] [ALPM] upgraded neovim (0.3.1-1 -> 0.3.1-2)
[2018-11-22 16:28] [ALPM] upgraded netctl (1.18-1 -> 1.19-1)
[2018-11-22 16:28] [ALPM] upgraded pciutils (3.6.1-1 -> 3.6.2-1)
[2018-11-22 16:28] [ALPM] upgraded python-cairo (1.17.0-2 -> 1.18.0-1)
[2018-11-22 16:28] [ALPM] upgraded python2-cairo (1.17.0-2 -> 1.18.0-1)
[2018-11-22 16:28] [ALPM] upgraded sdl_gfx (2.0.26-2 -> 2.0.26-3)
[2018-11-22 16:28] [ALPM] upgraded smbclient (4.8.5-1 -> 4.9.2-1)
[2018-11-22 16:28] [ALPM] upgraded spglib (1.11.1-1 -> 1.11.1.2-1)
[2018-11-22 16:28] [ALPM] upgraded stack (1.9.1.1-2 -> 1.9.1.1-7)
[2018-11-22 16:28] [ALPM] upgraded sudo (1.8.25.p1-1 -> 1.8.26-1)
[2018-11-22 16:28] [ALPM] upgraded tree (1.7.0-3 -> 1.8.0-1)
[2018-11-22 16:28] [ALPM] upgraded x42-plugins (20180812-2 -> 20181103-1)
[2018-11-22 16:28] [ALPM] upgraded youtube-dl (2018.11.07-1 -> 2018.11.18-1)
[2018-11-22 16:28] [ALPM] transaction completed
[2018-11-22 16:28] [ALPM] running '60-linux.hook'...
[2018-11-22 16:28] [ALPM] running '70-dkms-install.hook'...
[2018-11-22 16:28] [ALPM-SCRIPTLET] ==> dkms install vboxhost/5.2.22_OSE -k 4.19.2-arch1-1-ARCH
[2018-11-22 16:28] [ALPM-SCRIPTLET] ==> dkms install hid-apple-patched/20171118.c92cc98 -k 4.19.2-arch1-1-ARCH
[2018-11-22 16:29] [ALPM] running '90-linux.hook'...
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Starting build: 4.19.2-arch1-1-ARCH
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [lvm2]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Image generation successful
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Starting build: 4.19.2-arch1-1-ARCH
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [lvm2]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2018-11-22 16:29] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2018-11-22 16:29] [ALPM-SCRIPTLET] ==> Image generation successful
[2018-11-22 16:29] [ALPM] running 'ghc-register.hook'...
[2018-11-22 16:29] [ALPM] running 'glib-compile-schemas.hook'...
[2018-11-22 16:29] [ALPM] running 'gtk-update-icon-cache.hook'...
[2018-11-22 16:29] [ALPM] running 'systemd-daemon-reload.hook'...
[2018-11-22 16:29] [ALPM] running 'systemd-sysusers.hook'...
[2018-11-22 16:29] [ALPM] running 'systemd-tmpfiles.hook'...
[2018-11-22 16:29] [ALPM] running 'systemd-udev-reload.hook'...
[2018-11-22 16:29] [ALPM] running 'systemd-update.hook'...
[2018-11-22 16:29] [ALPM] running 'texinfo-install.hook'...
[2018-11-22 16:29] [ALPM] running 'update-appstream-cache.hook'...
[2018-11-22 16:29] [ALPM-SCRIPTLET] AppStream cache update completed successfully.
[2018-11-22 16:29] [ALPM] running 'update-desktop-database.hook'...
[2018-11-22 16:29] [ALPM] running 'update-mime-database.hook'...
[2018-11-22 16:29] [PACMAN] Running 'pacman -S ttf-dejavu ttf-libreation'
[2018-11-22 16:29] [PACMAN] Running 'pacman -S ttf-dejavu ttf-liberation'
--- other stuff where i try reinstalling the kernel and mkinitcpio as detailed above--- 

Btw, I use Arch Linux

Offline

#5 2018-11-24 06:17:39

ashneo76
Member
Registered: 2010-11-15
Posts: 9

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

I downgraded the kernel to 4.19.1 as shown in the logs, but no luck either.


Btw, I use Arch Linux

Offline

#6 2018-11-24 09:36:01

jamespharvey20
Member
Registered: 2015-06-09
Posts: 129

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

Post the stuff left out a replaced with "--- other stuff..." too.  We can't see your downgrade attempt, like if you only downgraded linux or also linux-headers.

I only see some darts I'd start throwing, nothing sticking out to me as the solution.  Something might stick out to someone else, but roughly in order of what I'd check:

I'd triple check that UUID, making absolutely sure it's the UUID for the encrypted device, and not accidentally a PARTUUID, or a uuid or UUID_SUB for the lvm volume.  Run "lsblk -f" and make sure it's the UUID next to "crypto_LUKS", and that there's no typo.  Copy/paste it.

Try downgrading libusbmuxd and usbmuxd.  I haven't seen those before and looked only briefly, but it does have a udev rule.  I don't know if the udev hook is even going to add this one to your image, so this might not even be in play.

I'd try switching to a systemd based initramfs, and using systemd hooks.

If you have a PS/2 port and keyboard, I'd try that.

I wonder if there's any chance on your upgrade sometime before 11-22, that you didn't reboot.  I'd try downgrading linux and linux-headers to 4.18.16.arch1-1.  You could look through journalctl after running arch-chroot into your root volume, but with it being so close to a new minor version, I'd just try it.

Several years ago, I see a single version of systemd caused this behavior, but you don't show you even updated that, and you aren't using systemd hooks.  Several years ago, I see a single version of mkinitcpio caused this behavior, but you don't show you updated that and the last update was over a month ago with no other reports of this.

I'm almost certain this isn't causing any problem, but I'll mention it since I saw it.  In "/boot/grub/grub.cfg", your linux line has two root's, two different names for the same thing.  It should discard the first and use the second, but no reason to leave 2 there.  It's been a long time since I've used grub, but the dm-crypt Arch wiki says grub-mkconfig will determine the correct UUID of the decrypted root filesystem and add it automatically, so you don't need to manually specify root.  I think that should read the correct argumen for the decrypted root filesystem.  I think it's adding the root=/dev/mapper/linux-root, and I think you can remove the root=/dev/linux/root from /etc/default/grub.  But, like I said, it's been years since I've used grub.

Offline

#7 2018-11-24 15:36:07

Taijian
Member
Registered: 2016-04-10
Posts: 74

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

Do you by any chance have a non US keyboard layout? I discovered that since kernel 4.19.x my initramfs no longer has my local keymap in it. Kernel 4.18.x or 4.14.x do, however. So could you try typing in your passphrase 'as if using a US keyboard'? Maybe that works for you, just as it does for me...

Offline

#8 2018-11-24 15:43:46

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

@Taijan your bug report https://bugs.archlinux.org/task/60900 fails for both the sd-vconsole hook and the keymap hook?

Offline

#9 2018-11-25 19:15:40

ashneo76
Member
Registered: 2010-11-15
Posts: 9

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

Taijian wrote:

Do you by any chance have a non US keyboard layout? I discovered that since kernel 4.19.x my initramfs no longer has my local keymap in it. Kernel 4.18.x or 4.14.x do, however. So could you try typing in your passphrase 'as if using a US keyboard'? Maybe that works for you, just as it does for me...

Hi,

I am running a 2015 Macbook Pro. It should be the use keyboard layout. How do I try typing my passphrase as if using a US keyoard?


Btw, I use Arch Linux

Offline

#10 2019-01-10 13:55:50

jdevelop
Member
Registered: 2014-04-18
Posts: 48

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

The same problem - can not unlock LUKS root partition on Lenovo P1 after upgrade.


/etc/defaults/grub

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi=Linux nogpumanager"
GRUB_CMDLINE_LINUX="cryptdevice=/dev/nvme0n1p2:root:allow-discards root=/dev/mapper/root ro"
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
GRUB_TERMINAL_INPUT=console
GRUB_GFXMODE=auto
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_DISABLE_RECOVERY=true

/etc/mkinitcpio.conf

MODULES="i915 bbswitch"
BINARIES=""
FILES=""
HOOKS="base udev autodetect keyboard consolefont modconf block encrypt filesystems fsck"

/var/log/pacman.log

[2019-01-02 09:13] [PACMAN] Running 'pacman -Suy'
[2019-01-02 09:13] [PACMAN] synchronizing package lists
[2019-01-02 09:13] [PACMAN] starting full system upgrade
[2019-01-03 22:25] [PACMAN] Running 'pacman -Suy'
[2019-01-03 22:25] [PACMAN] synchronizing package lists
[2019-01-03 22:25] [PACMAN] starting full system upgrade
[2019-01-04 22:30] [PACMAN] Running 'pacman -Suy'
[2019-01-04 22:30] [PACMAN] synchronizing package lists
[2019-01-04 22:30] [PACMAN] starting full system upgrade
[2019-01-05 22:08] [PACMAN] Running 'pacman -Suy'
[2019-01-05 22:08] [PACMAN] synchronizing package lists
[2019-01-05 22:08] [PACMAN] starting full system upgrade
[2019-01-05 22:14] [ALPM] transaction started
[2019-01-05 22:14] [ALPM] installed python2-css-parser (1.0.4-1)
[2019-01-05 22:14] [ALPM] upgraded python2-lxml (4.2.5-1 -> 4.2.6-1)
[2019-01-05 22:14] [ALPM] upgraded python2-netifaces (0.10.7-2 -> 0.10.9-1)
[2019-01-05 22:14] [ALPM] upgraded calibre (3.36.0-1 -> 3.37.0-1)
[2019-01-05 22:14] [ALPM] upgraded re2 (20181001-1 -> 20190101-1)
[2019-01-05 22:14] [ALPM] upgraded chromium (71.0.3578.98-2 -> 71.0.3578.98-3)
[2019-01-05 22:14] [ALPM] upgraded cmake (3.13.1-1 -> 3.13.2-1)
[2019-01-05 22:14] [ALPM] upgraded cpupower (4.19-1 -> 4.20-1)
[2019-01-05 22:14] [ALPM] upgraded diffutils (3.6-2 -> 3.7-1)
[2019-01-05 22:14] [ALPM] upgraded fuse-common (3.3.0-1 -> 3.4.1-1)
[2019-01-05 22:14] [ALPM] upgraded fuse3 (3.3.0-1 -> 3.4.1-1)
[2019-01-05 22:14] [ALPM] upgraded libxmlb (0.1.5-1 -> 0.1.6-1)
[2019-01-05 22:14] [ALPM] upgraded python (3.7.1-1 -> 3.7.2-1)
[2019-01-05 22:14] [ALPM] upgraded fwupd (1.2.2-1 -> 1.2.3-1)
[2019-01-05 22:14] [ALPM] upgraded gzip (1.9-2 -> 1.10-1)
[2019-01-05 22:14] [ALPM] upgraded gdb-common (8.2-2 -> 8.2.1-1)
[2019-01-05 22:14] [ALPM] upgraded gdb (8.2-2 -> 8.2.1-1)
[2019-01-05 22:14] [ALPM] installed libcerf (1.11-1)
[2019-01-05 22:14] [ALPM] upgraded gnuplot (5.2.5-1 -> 5.2.6-1)
[2019-01-05 22:14] [ALPM] upgraded hugin (2018.0.0-5 -> 2018.0.0-6)
[2019-01-05 22:14] [ALPM] upgraded libmagick (7.0.8.21-1 -> 7.0.8.23-1)
[2019-01-05 22:14] [ALPM] upgraded imagemagick (7.0.8.21-1 -> 7.0.8.23-1)
[2019-01-05 22:14] [ALPM] upgraded libgxps (0.3.0-1 -> 0.3.1-1)
[2019-01-05 22:14] [ALPM] upgraded wiredtiger (3.1.0.20181030-1 -> 3.1.0.20181203-1)
[2019-01-05 22:14] [ALPM] upgraded mongodb (4.0.4-1 -> 4.0.5-1)
[2019-01-05 22:14] [ALPM] upgraded ngspice (29-1 -> 30-1)
[2019-01-05 22:14] [ALPM] upgraded opencv (4.0.1-1 -> 4.0.1-2)
[2019-01-05 22:14] [ALPM] upgraded perl-term-readkey (2.37-5 -> 2.38-1)
[2019-01-05 22:14] [ALPM] upgraded protobuf (3.6.1-1 -> 3.6.1.3-1)
[2019-01-05 22:14] [ALPM] upgraded python-lxml (4.2.5-1 -> 4.2.6-1)
[2019-01-05 22:14] [ALPM] upgraded python-netifaces (0.10.7-2 -> 0.10.9-1)
[2019-01-05 22:14] [ALPM] upgraded python-protobuf (3.6.1-1 -> 3.6.1.3-1)
[2019-01-05 22:14] [ALPM] upgraded python-requests (2.20.1-1 -> 2.21.0-1)
[2019-01-05 22:15] [ALPM] upgraded python-scipy (1.2.0-1 -> 1.2.0-2)
[2019-01-05 22:15] [ALPM] upgraded python2-cheroot (6.5.2-1 -> 6.5.4-1)
[2019-01-05 22:15] [ALPM] upgraded python2-protobuf (3.6.1-1 -> 3.6.1.3-1)
[2019-01-05 22:15] [ALPM] upgraded python2-requests (2.20.1-1 -> 2.21.0-1)
[2019-01-05 22:15] [ALPM] upgraded ruby-sass (3.6.0-1 -> 3.7.2-1)
[2019-01-05 22:15] [ALPM] upgraded smartmontools (6.6-2 -> 7.0-1)
[2019-01-05 22:15] [ALPM] upgraded strace (4.25-1 -> 4.26-1)
[2019-01-05 22:15] [ALPM] upgraded suitesparse (5.3.0-1 -> 5.4.0-1)
[2019-01-05 22:15] [ALPM] upgraded vulkan-icd-loader (1.1.92+2999+abe5c2b3c-1 -> 1.1.96+3009+32d33e965-1)
[2019-01-05 22:15] [ALPM] upgraded wpa_supplicant (1:2.7-1 -> 2:2.6-1)
[2019-01-05 22:15] [ALPM] transaction completed
[2019-01-05 22:15] [ALPM] running 'detect-old-perl-modules.hook'...
[2019-01-05 22:15] [ALPM-SCRIPTLET] WARNING: '/usr/lib/perl5/5.26' contains data from at least 16 packages which will NOT be used by the installed perl interpreter.
[2019-01-05 22:15] [ALPM-SCRIPTLET]  -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/5.26'
[2019-01-05 22:15] [ALPM-SCRIPTLET] error: No package owns /usr/lib/perl5/site_perl
[2019-01-05 22:15] [ALPM-SCRIPTLET] WARNING: 1 file(s) in /usr/lib/perl5/site_perl are not tracked by pacman and need to be rebuilt.
[2019-01-05 22:15] [ALPM-SCRIPTLET]  -> These were most likely installed directly by cpan or a similar tool.
[2019-01-05 22:15] [ALPM-SCRIPTLET]     Run the following command to get a list of these files:
[2019-01-05 22:15] [ALPM-SCRIPTLET]     LC_ALL=C find "/usr/lib/perl5/site_perl" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\1/p'
[2019-01-05 22:15] [ALPM-SCRIPTLET] WARNING: '/usr/lib/perl5/vendor_perl' contains data from at least 2 packages which will NOT be used by the installed perl interpreter.
[2019-01-05 22:15] [ALPM-SCRIPTLET]  -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/vendor_perl'
[2019-01-05 22:15] [ALPM] running 'gtk-update-icon-cache.hook'...
[2019-01-05 22:15] [ALPM] running 'mktexlsr.hook'...
[2019-01-05 22:15] [ALPM] running 'systemd-daemon-reload.hook'...
[2019-01-05 22:15] [ALPM] running 'systemd-sysusers.hook'...
[2019-01-05 22:15] [ALPM] running 'systemd-tmpfiles.hook'...
[2019-01-05 22:15] [ALPM] running 'systemd-udev-reload.hook'...
[2019-01-05 22:15] [ALPM] running 'systemd-update.hook'...
[2019-01-05 22:15] [ALPM] running 'texinfo-install.hook'...
[2019-01-05 22:15] [ALPM] running 'update-desktop-database.hook'...
[2019-01-05 22:15] [ALPM] running 'update-mime-database.hook'...
[2019-01-06 21:53] [PACMAN] Running 'pacman -S cuda cudnn'
[2019-01-06 21:54] [ALPM] transaction started
[2019-01-06 21:54] [ALPM] installed gcc7-libs (7.4.1+20181207-2)
[2019-01-06 21:55] [ALPM] installed gcc7 (7.4.1+20181207-2)
[2019-01-06 21:57] [ALPM] installed cuda (10.0.130-2)
[2019-01-06 21:57] [ALPM-SCRIPTLET] The cuda binaries are in /opt/cuda/bin
[2019-01-06 21:57] [ALPM-SCRIPTLET] The cuda samples are in /opt/cuda/samples
[2019-01-06 21:57] [ALPM-SCRIPTLET] The cuda docs are in /opt/cuda/doc
[2019-01-06 21:57] [ALPM-SCRIPTLET] You need to relogin in order for the cuda binaries to appear in your PATH
[2019-01-06 21:58] [ALPM] installed cudnn (7.4.1.5-2)
[2019-01-06 21:58] [ALPM] transaction completed
[2019-01-06 21:58] [ALPM] running 'systemd-update.hook'...
[2019-01-06 21:58] [ALPM] running 'update-desktop-database.hook'...
[2019-01-07 19:54] [PACMAN] Running 'pacman -Suy'
[2019-01-07 19:54] [PACMAN] synchronizing package lists
[2019-01-07 19:54] [PACMAN] starting full system upgrade
[2019-01-09 08:42] [PACMAN] Running 'pacman -Suy'
[2019-01-09 08:42] [PACMAN] synchronizing package lists
[2019-01-09 08:42] [PACMAN] starting full system upgrade
[2019-01-09 08:42] [ALPM] running '70-dkms-remove.hook'...
[2019-01-09 08:42] [ALPM-SCRIPTLET] ==> dkms remove vboxhost/6.0.0_OSE -k 4.20.0-arch1-1-ARCH
[2019-01-09 08:43] [ALPM] transaction started
[2019-01-09 08:43] [ALPM] upgraded iana-etc (20180913-1 -> 20181219-1)
[2019-01-09 08:43] [ALPM] upgraded libutil-linux (2.33-2 -> 2.33-3)
[2019-01-09 08:43] [ALPM] upgraded python-botocore (1.12.69-1 -> 1.12.74-1)
[2019-01-09 08:43] [ALPM] upgraded aws-cli (1.16.79-1 -> 1.16.84-1)
[2019-01-09 08:43] [ALPM] upgraded bind-tools (9.13.5-1 -> 9.13.5-2)
[2019-01-09 08:43] [ALPM] upgraded cabextract (1.6-3 -> 1.9-1)
[2019-01-09 08:43] [ALPM] upgraded libsystemd (239.370-1 -> 240.0-3)
[2019-01-09 08:43] [ALPM] upgraded elinks (0.13-20 -> 0.13-21)
[2019-01-09 08:43] [ALPM] upgraded foomatic-db (3:20181030-1 -> 3:20190104-1)
[2019-01-09 08:43] [ALPM] upgraded fuse2 (2.9.8-1 -> 2.9.9-1)
[2019-01-09 08:43] [ALPM] installed geocode-glib (3.26.0-1)
[2019-01-09 08:43] [ALPM] upgraded geoclue2 (2.5.1-1 -> 2.5.2-1)
[2019-01-09 08:43] [ALPM] upgraded shadow (4.6-1 -> 4.6-2)
[2019-01-09 08:43] [ALPM] upgraded util-linux (2.33-2 -> 2.33-3)
[2019-01-09 08:43] [ALPM] warning: /etc/systemd/resolved.conf installed as /etc/systemd/resolved.conf.pacnew
[2019-01-09 08:43] [ALPM] upgraded systemd (239.370-1 -> 240.0-3)
[2019-01-09 08:43] [ALPM] upgraded i3status (2.12-1 -> 2.12-2)
[2019-01-09 08:43] [ALPM] upgraded iproute2 (4.19.0-1 -> 4.20.0-1)
[2019-01-09 08:43] [ALPM] upgraded js185 (1.0.0-5 -> 1.0.0-7)
[2019-01-09 08:43] [ALPM] upgraded lib32-systemd (239.370-1 -> 240.0-1)
[2019-01-09 08:43] [ALPM] upgraded libwpd (0.10.2-1 -> 0.10.3-1)
[2019-01-09 08:43] [ALPM] upgraded libcdr (0.1.4-5 -> 0.1.5-1)
[2019-01-09 08:43] [ALPM] upgraded libcmis (0.5.1-10 -> 0.5.2-1)
[2019-01-09 08:43] [ALPM] upgraded libetonyek (0.1.8-1 -> 0.1.9-1)
[2019-01-09 08:43] [ALPM] upgraded libinput (1.12.4-1 -> 1.12.5-1)
[2019-01-09 08:43] [ALPM] upgraded libmbim (1.16.2-1 -> 1.18.0-1)
[2019-01-09 08:43] [ALPM] upgraded libqmi (1.20.2-1 -> 1.22.0-1)
[2019-01-09 08:43] [ALPM] upgraded libqxp (0.0.1-4 -> 0.0.2-1)
[2019-01-09 08:43] [ALPM] upgraded libsodium (1.0.16-1 -> 1.0.17-1)
[2019-01-09 08:43] [ALPM] upgraded libwpg (0.3.2-1 -> 0.3.3-1)
[2019-01-09 08:43] [ALPM] upgraded libxslt (1.1.32+3+g32c88216-1 -> 1.1.33-1)
[2019-01-09 08:43] [ALPM] upgraded man-db (2.8.4-1 -> 2.8.5-1)
[2019-01-09 08:43] [ALPM] upgraded mutt (1.11.1-1 -> 1.11.2-1)
[2019-01-09 08:43] [ALPM] upgraded pango (1.43.0-1 -> 1:1.42.4-1)
[2019-01-09 08:43] [ALPM] upgraded tar (1.30-2 -> 1.31-1)
[2019-01-09 08:43] [ALPM] upgraded opencv (4.0.1-2 -> 4.0.1-3)
[2019-01-09 08:43] [ALPM] upgraded openimageio (1.8.15-1 -> 1.8.17-1)
[2019-01-09 08:43] [ALPM] upgraded physlock (11-3 -> 11-4)
[2019-01-09 08:43] [ALPM] upgraded powertop (2.9-2 -> 2.10-1)
[2019-01-09 08:43] [ALPM] upgraded python-pytz (2018.7-2 -> 2018.9-1)
[2019-01-09 08:43] [ALPM] upgraded python2-apsw (3.25.2-1 -> 3.26.0-1)
[2019-01-09 08:43] [ALPM] upgraded python2-pytz (2018.7-2 -> 2018.9-1)
[2019-01-09 08:43] [ALPM] upgraded qt5-base (5.12.0-1 -> 5.12.0-2)
[2019-01-09 08:43] [ALPM] upgraded qpdfview (0.4.17beta1-7 -> 0.4.18beta1-1)
[2019-01-09 08:43] [ALPM] upgraded ruby-ffi (1.9.25-1 -> 1.10.0-1)
[2019-01-09 08:43] [ALPM] upgraded ruby-rdoc (6.0.4-1 -> 6.1.1-1)
[2019-01-09 08:43] [ALPM] upgraded systemd-sysvcompat (239.370-1 -> 240.0-3)
[2019-01-09 08:43] [ALPM] upgraded virtualbox-host-dkms (6.0.0-1 -> 6.0.0-2)
[2019-01-09 08:43] [ALPM] upgraded virtualbox (6.0.0-1 -> 6.0.0-2)
[2019-01-09 08:43] [ALPM] upgraded virtualgl (2.6-1 -> 2.6.1-1)
[2019-01-09 08:43] [ALPM] upgraded wget (1.20-1 -> 1.20.1-1)
[2019-01-09 08:43] [ALPM] transaction completed
[2019-01-09 08:43] [ALPM] running '70-dkms-install.hook'...
[2019-01-09 08:43] [ALPM-SCRIPTLET] ==> dkms install vboxhost/6.0.0_OSE -k 4.20.0-arch1-1-ARCH
[2019-01-09 08:44] [ALPM] running '90-linux.hook'...
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Starting build: 4.20.0-arch1-1-ARCH
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Starting build: 4.20.0-arch1-1-ARCH
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-01-09 08:44] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2019-01-09 08:44] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-01-09 08:44] [ALPM] running 'fontconfig-32.hook'...
[2019-01-09 08:44] [ALPM] running 'fontconfig.hook'...
[2019-01-09 08:44] [ALPM] running 'gtk-update-icon-cache.hook'...
[2019-01-09 08:44] [ALPM] running 'systemd-catalog.hook'...
[2019-01-09 08:44] [ALPM] running 'systemd-daemon-reload.hook'...
[2019-01-09 08:44] [ALPM] running 'systemd-hwdb.hook'...
[2019-01-09 08:44] [ALPM] running 'systemd-sysctl.hook'...
[2019-01-09 08:44] [ALPM] running 'systemd-sysusers.hook'...
[2019-01-09 08:44] [ALPM] running 'systemd-tmpfiles.hook'...
[2019-01-09 08:44] [ALPM] running 'systemd-udev-reload.hook'...
[2019-01-09 08:44] [ALPM] running 'systemd-update.hook'...
[2019-01-09 08:44] [ALPM] running 'texinfo-install.hook'...
[2019-01-09 08:44] [ALPM] running 'update-desktop-database.hook'...
[2019-01-09 08:44] [ALPM] running 'update-mime-database.hook'...
[2019-01-09 08:44] [ALPM] running 'xorg-mkfontdir.hook'...

Offline

#11 2019-01-10 22:48:16

jdevelop
Member
Registered: 2014-04-18
Posts: 48

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

Funny enough, I tried to downgrade Kernel to 4.19 - and that didn't help. Then I tried something stupid - added a few input modules to mkinitcpio.conf:

MODULES="i915 bbswitch i8042 atkbd serio serio_raw"

and that helped. Perhaps the hook was missing the atkbd module for some reason.

Offline

#12 2019-01-10 22:59:07

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

@jdevelop

[2019-01-09 08:43] [ALPM] upgraded systemd (239.370-1 -> 240.0-3)

https://bugs.archlinux.org/task/61328

Offline

#13 2019-01-11 20:11:33

hashstat
Member
Registered: 2013-05-24
Posts: 23

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

I also ran into this issue when I went to the coffee shop yesterday and tried to resume my hibernated Dell Precision 5520. I could not get the keyboard to respond to any input at all, even when I tried to boot my emergency and rescue images. After digging into it more today I discovered that I cannot get the builtin keyboard to work when prompted for the LUKS password on boot. It works great when I'm connected to my docking station or when I plug in a USB keyboard.

I tried jdevelop's fix of adding atkbd to the MODULES list in /etc/mkinitcpio.conf and I'm back to normal. Thanks for the help!

Last edited by hashstat (2019-01-11 20:40:03)

Offline

#14 2019-01-12 00:26:32

Utini
Member
Registered: 2015-09-28
Posts: 452
Website

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

jdevelop wrote:

Funny enough, I tried to downgrade Kernel to 4.19 - and that didn't help. Then I tried something stupid - added a few input modules to mkinitcpio.conf:

MODULES="i915 bbswitch i8042 atkbd serio serio_raw"

and that helped. Perhaps the hook was missing the atkbd module for some reason.

Thanks for the fix (Thinkpad X1 Extreme).

Just curious, why did u add bbswitch, i8042 and serio to the "Modules" ?


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#15 2019-01-12 11:20:43

mplima
Member
Registered: 2019-01-12
Posts: 1

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

MODULES=(atkbd)

Worked for me as well.
Thanks smile

Offline

#16 2019-01-14 20:49:55

michelesr
Member
Registered: 2016-02-04
Posts: 64

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

MODULES=(atkbd)

This seems to solve the problem on my Dell XPS 9570, thanks!

Offline

#17 2019-01-14 21:01:54

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,092
Website

Re: LUKS encrypt hook cannot unloc from internal keyboard on boot MBP 2015

Okay. Given that there seems to be a general work-around here. I will be closing this thread (to avoid "me-too" bumps).

All the best,

-HG

Offline

Board footer

Powered by FluxBB