[ovs-discuss] could not create netdev enp2s0 of unknown type dpdk

Shivaram Mysore shivaram.mysore at gmail.com
Tue Nov 22 17:28:49 UTC 2016


Thanks Christian.

I think I figured out where the problem is.  But, I am not sure how to fix
this :-(

# *tail -f /var/log/syslog*

Nov 22 09:20:43 ovswitch kernel: [  993.906746] *igb_uio: module
verification failed: signature and/or required key missing - tainting
kernel*
Nov 22 09:20:43 ovswitch kernel: [  993.907282] igb_uio: Use MSIX interrupt
by default

# *tail -f /var/log/openvswitch/ovs-vswitchd.log*

2016-11-22T17:22:11.532Z|00008|netlink_notifier|WARN|received bad netlink
message
2016-11-22T17:22:11.532Z|00009|netlink_notifier|WARN|received bad netlink
message
2016-11-22T17:22:11.596Z|00010|netlink_notifier|WARN|received bad netlink
message
2016-11-22T17:22:11.596Z|00011|netlink_notifier|WARN|received bad netlink
message

But, this error is not shown on the command prompt :-(

root at ovswitch:~# *insmod
/usr/local/src/dpdk-stable-16.07.1/build/kmod/igb_uio.ko*
root at ovswitch:~# *lsmod | grep uio*
igb_uio                16384  0
uio                    20480  1 igb_uio

root at ovswitch:~# */usr/local/src/dpdk-stable-16.07.1/tools/dpdk-devbind.py
--bind=igb_uio 0000:02:00.0 0000:03:00.0 0000:05:00.0*
root at ovswitch:~# */sbin/dpdk_nic_bind --status*

Network devices using DPDK-compatible driver
============================================
0000:02:00.0 'I211 Gigabit Network Connection' drv=igb_uio unused=igb
0000:03:00.0 'I211 Gigabit Network Connection' drv=igb_uio unused=igb
0000:05:00.0 'I211 Gigabit Network Connection' drv=igb_uio unused=igb




On Tue, Nov 22, 2016 at 8:50 AM, Christian Ehrhardt <
christian.ehrhardt at canonical.com> wrote:

>
> On Tue, Nov 22, 2016 at 5:40 PM, Shivaram Mysore <
> shivaram.mysore at gmail.com> wrote:
>
>> Thanks.  Still not helping :-(  FYI: I am configuring OVS on a Intel
>> Celeron with 4 ports to use it as a hardware switch.  Hence, vfio loaded.
>> I am running the following commands:
>
>
> A rather common issue is something at DPDK initialization time (when you
> start openvswitch-dpdk in your case) did not work as it should.
> That should be a bit earlier in your log - I once answered that in a
> askubuntu post and you can check the three log I added there side-by-side
> and compare it to yours:
> http://askubuntu.com/questions/786510/using-openvswitch-with-dpdk-in-
> ubuntu-16-04/789203#789203
>
> Check if your devices are found and initializing as I reported there and
> let us know what the difference is if not.
>
> --
> Christian Ehrhardt
> Software Engineer, Ubuntu Server
> Canonical Ltd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20161122/9d3e20b4/attachment.html>


More information about the discuss mailing list