View Issue Details

IDProjectCategoryView StatusLast Update
0007510Kali LinuxGeneral Bugpublic2022-03-11 03:52
ReporterPaSe Assigned Toarnaudr  
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Product Version2021.4 
Summary0007510: Grub loads and unloads password UI for LUKs disk LVM
Description

On a Apple MacBook pro laptop

  1. Grub loads keyboard module/driver.
  2. Grub or kernel unloads Apple keyboard/ touch-pad mouse and shuts off the circuit to keyboard/touch-pad mouse
  3. Grub loads LUKS partition LVM password input UI
  4. Reloads keyboard after 4 -5 hours
Steps To Reproduce

Install kali 2019 roll into current version (distro-upgrade) on MacBook Pro to LUKS encrypted volume.
Load /boot/vmlinuz-5.14.0-kali4-amd64 /boot/initrd.img-5.14.0-kali4-amd64
Notice no keyboard no input

Additional Information

Load kernel /boot/vmlinuz-5.10.0-kali9-amd64 /boot/initrd.img-5.10.0-kali9-amd64 to skip LUKS UI issue with keyboard.

https://forum.garudalinux.org/t/randomly-no-keyboard-input-at-grub-luks-password-prompt/9794

These may be required during boot, testing now...
HOOKS="base udev keyboard autodetect modconf block keymap consolefont plymouth encrypt filesystems"

The /etc/mkinitcpio.conf is missing.
The /etc/vconsole.conf is mostly empty.

Activities

PaSe

PaSe

2021-12-29 16:03

reporter   ~0015582

New kernel vmlinuz-5.15.0-kali2-amd64 initrd.img-5.15.0-kali2-amd64 fails to hand off the keyboard to LUKs interface.

xhci_hcd: Abort failed to stop command ring: -110
xhci_hcd: xHCI host controller not responding, assume dead
xhci_hcd: HC died; clean up
xhci_hcd: Timeout while waiting for setup device command

clocksource: tsc=unstable etc

PaSe

PaSe

2022-01-06 15:14

reporter   ~0015599

This kernel works with keyboard. What has changed ? After device-mapper the keyboard is disabled.

Jan 06 08:16:16 svarog kernel: Command line: BOOT_IMAGE=/vmlinuz-5.10.0-kali9-amd64 root=UUID=6c0bdfde-429e-438f-974d-e7c49b6fb800 ro

Jan 06 08:16:16 svarog kernel: device-mapper: uevent: version 1.0.3
Jan 06 08:16:16 svarog kernel: device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: [email protected]
Jan 06 08:16:16 svarog kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
Jan 06 08:16:16 svarog kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
Jan 06 08:16:16 svarog kernel: usb 2-3: device not accepting address 2, error -62
Jan 06 08:16:16 svarog kernel: usb 1-3: new full-speed USB device number 2 using xhci_hcd
Jan 06 08:16:16 svarog kernel: usb 1-3: New USB device found, idVendor=0a5c, idProduct=4500, bcdDevice= 1.00
Jan 06 08:16:16 svarog kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 06 08:16:16 svarog kernel: usb 1-3: Product: BRCM20702 Hub
Jan 06 08:16:16 svarog kernel: usb 1-3: Manufacturer: Apple Inc.
Jan 06 08:16:16 svarog kernel: hub 1-3:1.0: USB hub found
Jan 06 08:16:16 svarog kernel: hub 1-3:1.0: 3 ports detected
Jan 06 08:16:16 svarog kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
Jan 06 08:16:16 svarog kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
Jan 06 08:16:16 svarog kernel: usb 2-3: device not accepting address 3, error -62
Jan 06 08:16:16 svarog kernel: usb usb2-port3: attempt power cycle
Jan 06 08:16:16 svarog kernel: usb 1-5: new full-speed USB device number 3 using xhci_hcd
Jan 06 08:16:16 svarog kernel: usb 1-5: New USB device found, idVendor=05ac, idProduct=0259, bcdDevice= 2.24
Jan 06 08:16:16 svarog kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 06 08:16:16 svarog kernel: usb 1-5: Product: Apple Internal Keyboard / Trackpad
Jan 06 08:16:16 svarog kernel: usb 1-5: Manufacturer: Apple Inc.
Jan 06 08:16:16 svarog kernel: hid: raw HID events driver (C) Jiri Kosina
Jan 06 08:16:16 svarog kernel: usbcore: registered new interface driver usbhid

antbhlk

antbhlk

2022-01-12 10:47

reporter   ~0015632

fix

PaSe

PaSe

2022-02-19 21:07

reporter   ~0015770

Version Linux svarog 5.15.0-kali3-amd64 0000001 SMP Debian 5.15.15-2kali1 (2022-01-31) x86_64 GNU/Linux works fine.

arnaudr

arnaudr

2022-03-11 03:51

manager   ~0015855

Glad that it's fixed. Thanks for keeping everyone updated. Closing the issue then.

Issue History

Date Modified Username Field Change
2021-12-26 12:16 PaSe New Issue
2021-12-29 16:03 PaSe Note Added: 0015582
2022-01-06 15:14 PaSe Note Added: 0015599
2022-01-12 10:47 antbhlk Note Added: 0015632
2022-02-19 21:07 PaSe Note Added: 0015770
2022-03-11 03:51 arnaudr Note Added: 0015855
2022-03-11 03:52 arnaudr Assigned To => arnaudr
2022-03-11 03:52 arnaudr Status new => closed
2022-03-11 03:52 arnaudr Resolution open => fixed