Bug 1942343

Summary: Module vdpa-sim-net not found
Product: [Fedora] Fedora Reporter: Stefano Garzarella <sgarzare>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 33CC: acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, jarodwilson, jeremy, jforbes, jglisse, jonathan, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 19:07:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stefano Garzarella 2021-03-24 08:10:30 UTC
1. Please describe the problem:

vdpa-sim-net.ko is missing in 5.11/5.12 kernels because CONFIG_VDPA_SIM_NET is not set.

Please enable it, since this module is useful to develop vDPA infrastructure and also for testing and debugging. It's emulate a vDPA network device.

$ cat /boot/config-5.11.7-200.fc33.x86_64 | grep VDPA
CONFIG_VIRTIO_VDPA=m
CONFIG_VDPA=m
CONFIG_VDPA_SIM=m
# CONFIG_VDPA_SIM_NET is not set
CONFIG_MLX5_VDPA=y
CONFIG_MLX5_VDPA_NET=m
CONFIG_VHOST_VDPA=m


2. What is the Version-Release number of the kernel:

5.11.7-200.fc33.x86_64


3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

Yes, because up to kernel 5.10 the network device simulator was built inside the vdpa_sim.ko module (CONFIG_VDPA_SIM), but starting from 5.11 it has been separated and a new configuration added (CONFIG_VDPA_SIM_NET).


4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

$ sudo modprobe vdpa-sim-net 
modprobe: FATAL: Module vdpa-sim-net not found in directory /lib/modules/5.11.7-200.fc33.x86_64


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

Yes, kernel-core-5.12.0-0.rc4.175.fc35.x86_64 has the same issue

Comment 1 Justin M. Forbes 2021-04-21 19:07:53 UTC
This should be fixed with 5.11.15 and newer kernels.