[Bug 1559408] Re: Many PMD driver options are disabled, including "BNX2X"!
Thiago Martins
thiagocmartinsc at gmail.com
Sat Mar 19 21:40:33 UTC 2016
After digging into DPDK source code, I found this:
--
cd ~/sources/dpdk/dpdk-2.2.0/drivers/net/
grep -ri \/firmware *
bnx2x/bnx2x.c:#define FW_NAME_57711 "/lib/firmware/bnx2x/bnx2x-e1h-7.2.51.0.fw"
bnx2x/bnx2x.c:#define FW_NAME_57810 "/lib/firmware/bnx2x/bnx2x-e2-7.2.51.0.fw"
--
However, those files doesn't exists on Ubuntu 16.04! Package linux-
firmware doesn't have any of it. So, I downloaded it:
--
cd /lib/firmware/bnx2x/
wget https://github.com/cernekee/linux-firmware/raw/master/bnx2x/bnx2x-e2-7.2.51.0.fw
wget https://github.com/cernekee/linux-firmware/raw/master/bnx2x/bnx2x-e1h-7.2.51.0.fw
--
And then, no more firmware errors!
--
journalctl | grep -i ovs
https://paste.ubuntu.com/15429791/
--
However, still doesn't work! Look:
--
ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
log:
ovs-vsctl[3804]: ovs|00001|vsctl|INFO|Called as ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
kernel: device ovs-netdev entered promiscuous mode
kernel: device br0 entered promiscuous mode
-
ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
ovs-vsctl: Error detected while setting up 'dpdk0'. See ovs-vswitchd log for details.
log:
ovs-vsctl[3890]: ovs|00001|vsctl|INFO|Called as ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
kernel: ovs-vswitchd[3793]: segfault at c80086e430 ip 00007f0a4f222b26 sp 00007ffce3539190 error 4 in libdpdk.so.0[7f0a4f1ff000+22f000]
ovs-vswitchd[3792]: ovs|00003|daemon_unix(monitor)|ERR|1 crashes: pid 3793 died, killed (Segmentation fault), core dumped, restarting
kernel: device ovs-netdev entered promiscuous mode
ovs-vswitchd[3897]: EAL: memzone_reserve_aligned_thread_unsafe(): memzone <RG_MP_ovs_mp_1500_0_262144> already exists
ovs-vswitchd[3897]: RING: Cannot reserve memory
kernel: device br0 entered promiscuous mode
ovs-vswitchd[3897]: EAL: memzone_reserve_aligned_thread_unsafe(): memzone <RG_MP_ovs_mp_1500_0_262144> already exists
ovs-vswitchd[3897]: RING: Cannot reserve memory
--
Investigating but, running out of ideas...
Best,
Thiago
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dpdk in Ubuntu.
https://bugs.launchpad.net/bugs/1559408
Title:
Many PMD driver options are disabled, including "BNX2X"!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1559408/+subscriptions
More information about the Ubuntu-server-bugs
mailing list