Bug 1942343 - Module vdpa-sim-net not found
Summary: Module vdpa-sim-net not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-24 08:10 UTC by Stefano Garzarella
Modified: 2021-04-21 19:07 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 19:07:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.