williamtu / ovs-mlx

OVS smartnic
0 stars 0 forks source link

[SOLVED] Module uio_pci_generic not found in directory #10

Open smadaminov opened 4 years ago

smadaminov commented 4 years ago

For some reason Ubuntu kernel 5.3.0-53-generic in Ubuntu 18.04 does not have uio_pci_generic module available by default:

root@ovs-afxdp:~# sudo modprobe uio_pci_generic
modprobe: FATAL: Module uio_pci_generic not found in directory /lib/modules/5.3.0-53-generic
smadaminov commented 4 years ago

There is no need to recompile the kernel and uio_pci_generic module installed via apt:

sudo apt update
sudo apt upgrade
sudo apt install --reinstall linux-image-generic
sudo apt install linux-modules-extra-$(uname -r) linux-image-extra-virtual 

Found on SO.