View Issue Details

IDProjectCategoryView StatusLast Update
0007846Kali LinuxGeneral Bugpublic2023-12-07 10:34
Reporterviperomega Assigned Toarnaudr  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionopen 
Product Version2022.2 
Summary0007846: [Hyper-V] hyperv_keyboard module needed for Generation 2 VMs
Description

Because Generation 2 virtual machines in Hyper-V are presented with a minimal set of EFI hardware, the kernel module "hyperv_keyboard" must be present to interact with the console keyboard. On systems with disk encryption, the user will be prompted for the key to decrypt the disk, but cannot enter the password because no keyboard driver is present.

This issue appears to exist in 2022.2 release that support EFI and are therefore eligible to be used as Generation 2 VMs, most recently tried with kali-linux-2022.2-installer-amd64.iso

This module is present when the grub menu is presented and later when the kernel is fully loaded.
FYI, if some mechanism requires a mouse or touch, the hid_hyperv module will also be needed.

Steps To Reproduce

Install on a hyper-v gen2 with full disk encryption.
it is not possible to enter passphrase while boot.

Additional Information

https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1567107

Activities

viperomega

viperomega

2022-08-07 16:45

reporter   ~0016521

#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}

case $1 in
prereqs)
prereqs
exit 0
;;
esac

. /usr/share/initramfs-tools/hook-functions

force_load hyperv_keyboard

g0tmi1k

g0tmi1k

2023-03-14 10:01

administrator   ~0017649

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

arnaudr

arnaudr

2023-03-15 02:38

manager   ~0017668

Re-opening as this is still an issue.

I opened a bug report upstream: https://bugs.debian.org/1028511, and also proposed a MR: https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/69. But no feedback so far. I need to ping again.

g0tmi1k

g0tmi1k

2023-12-07 10:34

administrator   ~0018683

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2022-08-07 15:34 viperomega New Issue
2022-08-07 16:45 viperomega Note Added: 0016521
2023-03-14 10:01 g0tmi1k Note Added: 0017649
2023-03-14 10:01 g0tmi1k Status new => closed
2023-03-15 02:35 arnaudr Assigned To => arnaudr
2023-03-15 02:35 arnaudr Status closed => confirmed
2023-03-15 02:38 arnaudr Note Added: 0017668
2023-12-07 10:34 g0tmi1k Note Added: 0018683
2023-12-07 10:34 g0tmi1k Status confirmed => closed