Skip to contentSkip to conversation

igb_uio fails on VirtualBox virtio

DISCUSSION Reda Haddad 2 participants 5 messages Feb 8, 2014 – Feb 11, 2014 4 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

I am getting a "write error: No such device" when:
echo 0000:00:08.0 > /sys/bus/pci/drivers/igb_uio/bind

This is on Virtualbox with a virtio based adapter.

This also fails when using the dpdk pci_unbind:
./tools/pci_unbind.py —bind=igb_uio 00:08.0
Cannot bind to driver igb_uio

I have read (http://dpdk.org/doc) that the dpdk (I am using version 1.6) supports virtio on virtual box. Is it truly supported? If yes, any clue on what is the problem?

Thanks,

Reda

A message that is not in the archive (sent off-list or not yet received): CF1AB6F4.3BC91%reda.haddad-IzeFyvvaP7pWk0Htik3J/[email protected]

#2 lore raw

You should use another virtio because it avoids uio constraints.

I have been using it to run testpmd on Virtualbox longtime ago.

See http://dpdk.org/browse/virtio-net-pmd/

Best regards,
Vincent

Quoted 19 lines · Reda Haddad

Hi,

I am getting a "write error: No such device" when:
echo 0000:00:08.0 > /sys/bus/pci/drivers/igb_uio/bind

This is on Virtualbox with a virtio based adapter.

This also fails when using the dpdk pci_unbind:
./tools/pci_unbind.py --bind=igb_uio 00:08.0
Cannot bind to driver igb_uio

I have read (http://dpdk.org/doc) that the dpdk (I am using version 1.6) supports virtio on virtual box. Is it truly supported?
If yes, any clue on what is the problem?

Thanks,

Reda

A message that is not in the archive (sent off-list or not yet received): CAG8AbRXtxt2Q7rErTUo-5XDq6Y5LN-1D97Lft9seXKjsjOiAhA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw

Thanks for the info.

I guess the referenced virtio-net-PMD below is dpdk1.3 compatible but not necessarily a newer version. So I assume will need to update it for 1.6, etc.

So, can anyone confirm that the intel-provided virtio pmd with dpdk 1.6 does NOT work with virtual box?

From: Vincent JARDIN <[email protected]<mailto:[email protected]>>
Date: Saturday, February 8, 2014 4:39 AM
To: Ericsson <reda.haddad-IzeFyvvaP7pWk0Htik3J/[email protected]<mailto:reda.haddad-IzeFyvvaP7pWk0Htik3J/[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: Re: [dpdk-dev] igb_uio fails on VirtualBox virtio

You should use another virtio because it avoids uio constraints.

I have been using it to run testpmd on Virtualbox longtime ago.

See http://dpdk.org/browse/virtio-net-pmd/

Best regards,
Vincent

Le 8 févr. 2014 01:35, "Reda Haddad" <reda.haddad-IzeFyvvaP7pWk0Htik3J/[email protected]<mailto:reda.haddad-IzeFyvvaP7pWk0Htik3J/[email protected]>> a écrit :
Hi,

I am getting a "write error: No such device" when:
echo 0000:00:08.0 > /sys/bus/pci/drivers/igb_uio/bind

This is on Virtualbox with a virtio based adapter.

This also fails when using the dpdk pci_unbind:
./tools/pci_unbind.py —bind=igb_uio 00:08.0
Cannot bind to driver igb_uio

I have read (http://dpdk.org/doc) that the dpdk (I am using version 1.6) supports virtio on virtual box. Is it truly supported? If yes, any clue on what is the problem?

Thanks,

Reda

A message that is not in the archive (sent off-list or not yet received): CF1E652D.3BDD7%reda.haddad-IzeFyvvaP7pWk0Htik3J/[email protected]

#6 lore raw
Quoted 3 lines

I guess the referenced virtio-net-PMD below is dpdk1.3 compatible but not necessarily a newer version. So I assume will need to update it for 1.6, etc.

Where do you see that it does not support the latest on dpdk.org?
http://dpdk.org/browse/virtio-net-pmd/log/virtio_user.c

About 1.6, stay tuned.

Quoted 2 lines

So, can anyone confirm that the intel-provided virtio pmd with dpdk 1.6 does NOT work with virtual box?

you have the source code...

Best regards,
Vincent

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw
Quoted 5 lines · Vincent JARDIN
Quoted 3 lines

I guess the referenced virtio-net-PMD below is dpdk1.3 compatible but not necessarily a newer version. So I assume will need to update it for 1.6, etc.

Where do you see that it does not support the latest on dpdk.org?

I tried to compile it on 1.6 and it failed.

Quoted 8 lines

http://dpdk.org/browse/virtio-net-pmd/log/virtio_user.c

About 1.6, stay tuned.

Quoted 2 lines

So, can anyone confirm that the intel-provided virtio pmd with dpdk 1.6 does NOT work with virtual box?

you have the source code...

It failed for me. So I wanted to check if someone managed to compile it.

Quoted 3 lines

Best regards,
Vincent