> -----Original Message----- > From: users [mailto:[email protected]] On Behalf Of RanjithKumar > Sent: Tuesday, September 12, 2017 8:31 PM > To: [email protected] > Cc: users > Subject: Re: [dpdk-users] FATAL: Module uio not found > > Hello All, > > modprobe uio did not work , and below is the output VM NIC current drivers. > > ubuntu@mysite-vpgwu-slice1-25:~/dpdk-2.0.0/tools$ ./dpdk_nic_bind.py > --status > > Network devices using DPDK-compatible driver > ============================================ > <none> > > Network devices using kernel driver > =================================== > 0000:00:03.0 'Virtio network device' if= drv=virtio-pci unused= > 0000:00:04.0 'Virtio network device' if= drv=virtio-pci unused= > 0000:00:05.0 'Virtio network device' if= drv=virtio-pci unused= > 0000:00:06.0 'Virtio network device' if= drv=virtio-pci unused= > 0000:00:07.0 'Virtio network device' if= drv=virtio-pci unused= > > Other network devices > ===================== > <none> > > So i followed below steps to use virtio-pci > > > 1. modprobe vfio enable_unsafe_noiommu_mode=1 > 2. modprobe vfio-pci > 3. ./dpdk_nic_bind.py -b vfio-pci 0000:00:04.0 > > But i am getting below error while binding the Virtio NIC to DPDK
So far you cannot bind virtio devices with normal vfio-pci as the vIOMMU support is not upstreamed yet (https://patchwork.kernel.org/patch/9670273/). Instead, you can bind virtio devices to vfio-pci (no-iommu mode). You can enable it like: $ modprobe vfio enable_unsafe_noiommu_mode=1 $ modprobe vfio-pci Thanks, Jianfeng > > *Error: bind failed for 0000:00:04.0 - Cannot bind to driver vfio-pci > Error: unbind failed for 0000:00:04.0 - Cannot open > /sys/bus/pci/drivers//unbind* > > *Any input?* > > *Regards,* > *Ranjith* > > > > Regards, > Ranjith > > > On Tue, Sep 12, 2017 at 2:31 PM, Pragash Vijayaragavan <[email protected]> > wrote: > > > Hi, > > > > try modprobe igb_uio/ vfio-pci /uio_pci_generic > > > > > > > > Thanks, > > > > Pragash Vijayaragavan > > Grad Student at Rochester Institute of Technology > > email : [email protected] > > ph : 585 764 4662 <(585)%20764-4662> > > > > > > On Tue, Sep 12, 2017 at 4:54 AM, RanjithKumar <[email protected]> > > wrote: > > > >> Hi All, > >> > >> I have installed DPDK in open stack lunched virtual machine and Modrobe > is > >> failing with below error > >> > >> modprobe: FATAL: Module uio not found > >> > >> Any input? > >> > >> Regards, > >> Ranjith > >> > > > >
