<div dir="ltr">Hello,<div><br></div><div><font face="monospace, monospace"># <b>more /etc/dpdk/interfaces</b></font></div><div><font face="monospace, monospace">pci<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>0000:04:00.1<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>uio_pci_generic<br></font></div><div><br></div><div>Should this really be commented out and just use the following commands?</div><div><font face="monospace, monospace"><b># modprobe uio</b></font></div><div><font face="monospace, monospace"><b># insmod /usr/local/src/dpdk-stable-16.07.1/build/kmod/igb_uio.ko</b></font></div><div><br></div><div><span style="background-color:rgb(255,255,0)">what is the correct procedure?</span></div><div><br></div><div>Thanks<br></div><div><br></div><div>/Shivaram</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 9:28 AM, Shivaram Mysore <span dir="ltr">&lt;<a href="mailto:shivaram.mysore@gmail.com" target="_blank">shivaram.mysore@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Christian.<div><br></div><div>I think I figured out where the problem is.  But, I am not sure how to fix this :-(</div><div><br></div><div><font face="monospace, monospace"># <b>tail -f /var/log/syslog</b></font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">Nov 22 09:20:43 ovswitch kernel: [  993.906746] <b style="background-color:rgb(255,255,0)">igb_uio: module verification failed: signature and/or required key missing - tainting kernel</b></font></div><div><font face="monospace, monospace">Nov 22 09:20:43 ovswitch kernel: [  993.907282] igb_uio: Use MSIX interrupt by default</font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"># <b>tail -f /var/log/openvswitch/ovs-<wbr>vswitchd.log</b></font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">2016-11-22T17:22:11.532Z|<wbr>00008|netlink_notifier|WARN|<wbr>received bad netlink message</font></div><div><font face="monospace, monospace">2016-11-22T17:22:11.532Z|<wbr>00009|netlink_notifier|WARN|<wbr>received bad netlink message</font></div><div><font face="monospace, monospace">2016-11-22T17:22:11.596Z|<wbr>00010|netlink_notifier|WARN|<wbr>received bad netlink message</font></div><div><font face="monospace, monospace">2016-11-22T17:22:11.596Z|<wbr>00011|netlink_notifier|WARN|<wbr>received bad netlink message</font></div></div><div><br></div><div>But, this error is not shown on the command prompt :-(</div><div><br></div><div><div><font face="monospace, monospace">root@ovswitch:~# <b>insmod /usr/local/src/dpdk-stable-16.<wbr>07.1/build/kmod/igb_uio.ko</b></font></div><div><font face="monospace, monospace">root@ovswitch:~# <b>lsmod | grep uio</b></font></div><div><font face="monospace, monospace">igb_uio                16384  0</font></div><div><font face="monospace, monospace">uio                    20480  1 igb_uio</font></div></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">root@ovswitch:~# <b>/usr/local/src/dpdk-stable-16.<wbr>07.1/tools/dpdk-devbind.py --bind=igb_uio 0000:02:00.0 0000:03:00.0 0000:05:00.0</b></font></div><span class=""><div><font face="monospace, monospace">root@ovswitch:~# <b>/sbin/dpdk_nic_bind --status</b></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Network devices using DPDK-compatible driver</font></div><div><font face="monospace, monospace">==============================<wbr>==============</font></div><div><font face="monospace, monospace">0000:02:00.0 &#39;I211 Gigabit Network Connection&#39; drv=igb_uio unused=igb</font></div><div><font face="monospace, monospace">0000:03:00.0 &#39;I211 Gigabit Network Connection&#39; drv=igb_uio unused=igb</font></div><div><font face="monospace, monospace">0000:05:00.0 &#39;I211 Gigabit Network Connection&#39; drv=igb_uio unused=igb</font></div><div><br></div></span></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 8:50 AM, Christian Ehrhardt <span dir="ltr">&lt;<a href="mailto:christian.ehrhardt@canonical.com" target="_blank">christian.ehrhardt@canonical.<wbr>com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 5:40 PM, Shivaram Mysore <span dir="ltr">&lt;<a href="mailto:shivaram.mysore@gmail.com" target="_blank">shivaram.mysore@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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:</blockquote></div><br></span>A rather common issue is something at DPDK initialization time (when you start openvswitch-dpdk in your case) did not work as it should.<br></div><div class="gmail_extra">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:</div><div class="gmail_extra"><a href="http://askubuntu.com/questions/786510/using-openvswitch-with-dpdk-in-ubuntu-16-04/789203#789203" target="_blank">http://askubuntu.com/questions<wbr>/786510/using-openvswitch-<wbr>with-dpdk-in-ubuntu-16-04/<wbr>789203#789203</a><br><br>Check if your devices are found and initializing as I reported there and let us know what the difference is if not.<span><br clear="all"><div><br></div>-- <br><div class="m_8518339858035266023m_6567459618926100154gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</span></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>