Move pci-hyperv.ko from linux-modules-extra to support installation to Hyper-V using DDA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Move "pci-hyperv.ko" to the primary kernel image package.
Whilst attempting a 20.04 install into a Microsoft Windows Hyper-V guest that uses Discrete Device Assignment (DDA a.k.a. PCI pass-through) for 2x NVMe SSDs and Intel i350-T4 quad-port Gigabit Ethernet we found that the installer kernel (ubuntu-server) does not include the "drivers/
Eventually discovered the module in the installer ISO's /pool/main/
# udpkg --unpack /cdrom/
# depmod
After which it could be loaded ("pci-hyperv-
# modprobe pci-hyperv-intf
# modprobe pci-hyperv
At this point it is possible to use the NVMe devices.
We used 'mdadm' to create a RAID-1 mirror and then returned to the installer and were able to use the partitioner to install the root file-system to NVMe, although it is worth noting that GRUB has to be installed to a Hyper-V virtual storage device (a Hyper-V file on NTFS) in order to boot since the guest UEFI nor GRUB can 'see' any PCI devices without help from a para-virtualisation driver.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1859212
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.