DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Reg VFIO-PCI Error
@ 2016-09-12 11:42 raman geetha gopalakrishnan
  2016-09-12 13:51 ` Andriy Berestovskyy
  0 siblings, 1 reply; 4+ messages in thread
From: raman geetha gopalakrishnan @ 2016-09-12 11:42 UTC (permalink / raw)
  To: users

Hi DPDK-USERS,

1. I have installed DPDK on my virtual-box which runs ubuntu 16.04.1
(xenial).
2. My DPDK version is 16.07
3. When i try to bind ethernet device to VFIO module i get the following
error

    Error: bind failed for 0000:00:08.0 - cannot bind to driver vfio-pci [
this is for NIC 82545EM]
    debug message gave the rrror
    vfio-pci: probe of 0000:00:08.0 failed with error -22


Please Advice.

Thanks
Raman

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

* Re: [dpdk-users] Reg VFIO-PCI Error
  2016-09-12 11:42 [dpdk-users] Reg VFIO-PCI Error raman geetha gopalakrishnan
@ 2016-09-12 13:51 ` Andriy Berestovskyy
  2016-09-12 14:55   ` Sergio Gonzalez Monroy
  0 siblings, 1 reply; 4+ messages in thread
From: Andriy Berestovskyy @ 2016-09-12 13:51 UTC (permalink / raw)
  To: raman geetha gopalakrishnan; +Cc: users

Hey Raman,
Check dmesg for the details. I guess you have no IOMMU enabled, so you
should either go ahead and enable it wit intel_iommu=on or use
uio_pci_generic or igb_uio module instead of vfio-pci.

Regards,
Andriy


On Mon, Sep 12, 2016 at 1:42 PM, raman geetha gopalakrishnan
<glowingsun@gmail.com> wrote:
> Hi DPDK-USERS,
>
> 1. I have installed DPDK on my virtual-box which runs ubuntu 16.04.1
> (xenial).
> 2. My DPDK version is 16.07
> 3. When i try to bind ethernet device to VFIO module i get the following
> error
>
>     Error: bind failed for 0000:00:08.0 - cannot bind to driver vfio-pci [
> this is for NIC 82545EM]
>     debug message gave the rrror
>     vfio-pci: probe of 0000:00:08.0 failed with error -22
>
>
> Please Advice.
>
> Thanks
> Raman



-- 
Andriy Berestovskyy

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

* Re: [dpdk-users] Reg VFIO-PCI Error
  2016-09-12 13:51 ` Andriy Berestovskyy
@ 2016-09-12 14:55   ` Sergio Gonzalez Monroy
  2016-09-13  6:28     ` raman geetha gopalakrishnan
  0 siblings, 1 reply; 4+ messages in thread
From: Sergio Gonzalez Monroy @ 2016-09-12 14:55 UTC (permalink / raw)
  To: Andriy Berestovskyy, raman geetha gopalakrishnan; +Cc: users

Hi,

FYI vfio-pci is not supported inside a VM yet:
https://lists.gnu.org/archive/html/qemu-devel/2015-11/msg04284.html

It is a work in progress (slide 19):
https://dpdksummit.com/Archive/pdf/2016USA/Day02-Session14-FranckBaudin-DPDKUSASummit2016.pdf

Regards,
Sergio

On 12/09/2016 14:51, Andriy Berestovskyy wrote:
> Hey Raman,
> Check dmesg for the details. I guess you have no IOMMU enabled, so you
> should either go ahead and enable it wit intel_iommu=on or use
> uio_pci_generic or igb_uio module instead of vfio-pci.
>
> Regards,
> Andriy
>
>
> On Mon, Sep 12, 2016 at 1:42 PM, raman geetha gopalakrishnan
> <glowingsun@gmail.com> wrote:
>> Hi DPDK-USERS,
>>
>> 1. I have installed DPDK on my virtual-box which runs ubuntu 16.04.1
>> (xenial).
>> 2. My DPDK version is 16.07
>> 3. When i try to bind ethernet device to VFIO module i get the following
>> error
>>
>>      Error: bind failed for 0000:00:08.0 - cannot bind to driver vfio-pci [
>> this is for NIC 82545EM]
>>      debug message gave the rrror
>>      vfio-pci: probe of 0000:00:08.0 failed with error -22
>>
>>
>> Please Advice.
>>
>> Thanks
>> Raman
>
>

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

* Re: [dpdk-users] Reg VFIO-PCI Error
  2016-09-12 14:55   ` Sergio Gonzalez Monroy
@ 2016-09-13  6:28     ` raman geetha gopalakrishnan
  0 siblings, 0 replies; 4+ messages in thread
From: raman geetha gopalakrishnan @ 2016-09-13  6:28 UTC (permalink / raw)
  To: Sergio Gonzalez Monroy; +Cc: Andriy Berestovskyy, users

Hi Sergio/Alex,

Thanks for your reply. I will use uio_pci_generic and take it forward.

Thanks
Raman

On Mon, Sep 12, 2016 at 8:25 PM, Sergio Gonzalez Monroy <
sergio.gonzalez.monroy@intel.com> wrote:

> Hi,
>
> FYI vfio-pci is not supported inside a VM yet:
> https://lists.gnu.org/archive/html/qemu-devel/2015-11/msg04284.html
>
> It is a work in progress (slide 19):
> https://dpdksummit.com/Archive/pdf/2016USA/Day02-Session14-
> FranckBaudin-DPDKUSASummit2016.pdf
>
> Regards,
> Sergio
>
>
> On 12/09/2016 14:51, Andriy Berestovskyy wrote:
>
>> Hey Raman,
>> Check dmesg for the details. I guess you have no IOMMU enabled, so you
>> should either go ahead and enable it wit intel_iommu=on or use
>> uio_pci_generic or igb_uio module instead of vfio-pci.
>>
>> Regards,
>> Andriy
>>
>>
>> On Mon, Sep 12, 2016 at 1:42 PM, raman geetha gopalakrishnan
>> <glowingsun@gmail.com> wrote:
>>
>>> Hi DPDK-USERS,
>>>
>>> 1. I have installed DPDK on my virtual-box which runs ubuntu 16.04.1
>>> (xenial).
>>> 2. My DPDK version is 16.07
>>> 3. When i try to bind ethernet device to VFIO module i get the following
>>> error
>>>
>>>      Error: bind failed for 0000:00:08.0 - cannot bind to driver
>>> vfio-pci [
>>> this is for NIC 82545EM]
>>>      debug message gave the rrror
>>>      vfio-pci: probe of 0000:00:08.0 failed with error -22
>>>
>>>
>>> Please Advice.
>>>
>>> Thanks
>>> Raman
>>>
>>
>>
>>
>

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

end of thread, other threads:[~2016-09-13  6:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-12 11:42 [dpdk-users] Reg VFIO-PCI Error raman geetha gopalakrishnan
2016-09-12 13:51 ` Andriy Berestovskyy
2016-09-12 14:55   ` Sergio Gonzalez Monroy
2016-09-13  6:28     ` raman geetha gopalakrishnan

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).