FS#77668 - vfio_virqfd missing in linux-6.2.1.arch1-1

Attached to Project: Arch Linux
Opened by Gin Kami (ginnokami) - Monday, 27 February 2023, 23:57 GMT
Last edited by Toolybird (Toolybird) - Monday, 06 March 2023, 06:37 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The kernel module vfio_virqfd is missing in linux-6.2.1.arch1-1.

I have the module set in my /etc/mkinitcpio.conf (like the VFIO Passthrough guide instructs). After upgrading to the new kernel, this is the log with the error when it tries to regenerate my initramfs:

==> Starting build: 6.2.1-arch1-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: `vfio_virqfd'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 6.2.1-arch1-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ast
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: `vfio_virqfd'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly

Steps to reporoduce:
1) Add "vfio_pci vfio vfio_iommu_type1 vfio_virqfd" to mkinitcpio.
2) After installing kernel linux-6.2.1.arch1-1, regenerate your initramfs using mkinitcpio -P

This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 06 March 2023, 06:37 GMT
Reason for closing:  None
Additional comments about closing:  Wiki has been updated.
Comment by loqs (loqs) - Tuesday, 28 February 2023, 00:04 GMT Comment by Toolybird (Toolybird) - Tuesday, 28 February 2023, 00:43 GMT
Thanks @loqs. Someone needs to edit the Wiki [1]...and fast! I predict a rash of these reports until the Wiki is fixed. Will leave this ticket open to track progress of the docs.

[1] https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Loading_vfio-pci_early
Comment by Gin Kami (ginnokami) - Tuesday, 28 February 2023, 01:09 GMT
Confirmed that it isn't needed. Sorry for the unnecessary bug report.

Loading...