Comment 0 for bug 1903612

Revision history for this message
Youhei Tooyama (VirtualTech Japan) (ytooyama-virtualtech) wrote :

Can't Load vfio-pci Module on Ubuntu 18.04 HWE Kernel

```
ubuntu@ubuntu-2:~$ modinfo vfio-pci
modinfo: ERROR: Module vfio-pci not found.

ubuntu@ubuntu-2:~$ uname -a
Linux DL360G9-2 5.4.0-52-generic #57~18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
```

But Generic kernel is Working.

```
ubuntu@ubuntu-4:~$ modinfo vfio-pci
filename: /lib/modules/4.15.0-122-generic/kernel/drivers/vfio/pci/vfio-pci.ko
description: VFIO PCI - User Level meta-driver
author: Alex Williamson <email address hidden>
license: GPL v2
version: 0.2
srcversion: 1E92A800B94EAE7B392AD50
depends: vfio,irqbypass,vfio_virqfd
retpoline: Y
intree: Y
name: vfio_pci
vermagic: 4.15.0-122-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: ids:Initial PCI IDs to add to the vfio driver, format is "vendor:device[:subvendor[:subdevice[:class[:class_mask]]]]" and multiple comma separated entries can be specified (string)
parm: nointxmask:Disable support for PCI 2.3 style INTx masking. If this resolves problems for specific devices, report lspci -vvvxxx to <email address hidden> so the device can be fixed automatically via the broken_intx_masking flag. (bool)
parm: disable_vga:Disable VGA resource access through vfio-pci (bool)
parm: disable_idle_d3:Disable using the PCI D3 low power state for idle, unused devices (bool)
```

How to use vfio-pci module in HWE kernel?