vfio_mdev missing on RHEL 9?
I am having a similar issue to this post, but on RH9 - https://forums.developer.nvidia.com/t/sys-class-mdev-bus-cant-found/218501
SR-IOV is enabled, using a similar configuration to a working setup I had on Alma8.6
RHEL 9:
lsmod | grep vfio
nvidia_vgpu_vfio 65536 0
mdev 32768 1 nvidia_vgpu_vfio # no vfio_mdev?
vfio_iommu_type1 45056 0
vfio 45056 3 nvidia_vgpu_vfio,vfio_iommu_type1,mdev
Alma 8.6:
lsmod | grep vfio
nvidia_vgpu_vfio 27099 0
nvidia 12316924 1 nvidia_vgpu_vfio
vfio_mdev 12841 0
mdev 20414 2 vfio_mdev,nvidia_vgpu_vfio
vfio_iommu_type1 22342 0
vfio 32331 3
vfio_mdev,nvidia_vgpu_vfio,vfio_iommu_type1
If you compare the two vfio_mdev is missing in RH9.
I am thinking that might be the reason.
One thing that might be contributing is that the Linux KVM for RHEL drivers for RHEL9 did not match the kernel version of my RHEL9 install (5.14.0-70.30 on the RHEL vs. 5.14.0-42.. nvidia) , so I built the module from scratch.
Responses