DPDK usage discussions
 help / color / mirror / Atom feed
* Re: [dpdk-users] FATAL: Module uio not found
       [not found] <CACxh0QSc-56Tevr0Mfbxkq=TJTRKnL+_TS7EeKUKDfb7PhHW_Q@mail.gmail.com>
@ 2017-09-12  9:01 ` Pragash Vijayaragavan
  2017-09-12 12:31   ` RanjithKumar
  0 siblings, 1 reply; 3+ messages in thread
From: Pragash Vijayaragavan @ 2017-09-12  9:01 UTC (permalink / raw)
  To: RanjithKumar; +Cc: users

Hi,

try modprobe  igb_uio/ vfio-pci /uio_pci_generic



Thanks,

Pragash Vijayaragavan
Grad Student at Rochester Institute of Technology
email : pxv3620@rit.edu
ph : 585 764 4662


On Tue, Sep 12, 2017 at 4:54 AM, RanjithKumar <ranjithdvk@gmail.com> 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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] FATAL: Module uio not found
  2017-09-12  9:01 ` [dpdk-users] FATAL: Module uio not found Pragash Vijayaragavan
@ 2017-09-12 12:31   ` RanjithKumar
  2017-09-14  5:15     ` Tan, Jianfeng
  0 siblings, 1 reply; 3+ messages in thread
From: RanjithKumar @ 2017-09-12 12:31 UTC (permalink / raw)
  To: pxv3620; +Cc: users

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

*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 <pxv3620@rit.edu>
wrote:

> Hi,
>
> try modprobe  igb_uio/ vfio-pci /uio_pci_generic
>
>
>
> Thanks,
>
> Pragash Vijayaragavan
> Grad Student at Rochester Institute of Technology
> email : pxv3620@rit.edu
> ph : 585 764 4662 <(585)%20764-4662>
>
>
> On Tue, Sep 12, 2017 at 4:54 AM, RanjithKumar <ranjithdvk@gmail.com>
> 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
>>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] FATAL: Module uio not found
  2017-09-12 12:31   ` RanjithKumar
@ 2017-09-14  5:15     ` Tan, Jianfeng
  0 siblings, 0 replies; 3+ messages in thread
From: Tan, Jianfeng @ 2017-09-14  5:15 UTC (permalink / raw)
  To: RanjithKumar, pxv3620; +Cc: users


> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of RanjithKumar
> Sent: Tuesday, September 12, 2017 8:31 PM
> To: pxv3620@rit.edu
> 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 <pxv3620@rit.edu>
> wrote:
> 
> > Hi,
> >
> > try modprobe  igb_uio/ vfio-pci /uio_pci_generic
> >
> >
> >
> > Thanks,
> >
> > Pragash Vijayaragavan
> > Grad Student at Rochester Institute of Technology
> > email : pxv3620@rit.edu
> > ph : 585 764 4662 <(585)%20764-4662>
> >
> >
> > On Tue, Sep 12, 2017 at 4:54 AM, RanjithKumar <ranjithdvk@gmail.com>
> > 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
> >>
> >
> >

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-14  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CACxh0QSc-56Tevr0Mfbxkq=TJTRKnL+_TS7EeKUKDfb7PhHW_Q@mail.gmail.com>
2017-09-12  9:01 ` [dpdk-users] FATAL: Module uio not found Pragash Vijayaragavan
2017-09-12 12:31   ` RanjithKumar
2017-09-14  5:15     ` Tan, Jianfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).