Is there a specific reason as to why you would want to use this version of DPDK? I have never had to check permission.
Also, igb is mainly for Intel NICs. You are using a Broadcom NIC - http://dpdk.org/doc/guides/nics/bnxt.html for driver info. I think what you have is a misconfiguration. You may want to check out the scripts here https://github.com/shivarammysore/faucetsdn-intel/tree/master/src/ubuntu/zesty/ovs_281 - to setup and configure DPDK. I have only used Intel NICs. Cheers! On Mon, Nov 13, 2017 at 6:50 PM, 王嵘 <[email protected]> wrote: > hi, I'm using ovs2.8 with dpdk-17052, and the '*NetXtreme II BCM57810 10 > Gigabit Ethernet 168e*'. > There comes the error, while I try to bind the NIC using igb_uio. > > 2017-11-14T02:25:18.400Z|00362|dpdk|INFO|EAL: probe driver: 14e4:168e > net_bnx2x > 2017-11-14T02:25:18.400Z|00363|dpdk|ERR|EAL: Cannot open /dev/uio0: > Permission denied > > Then I chmod the file, like "chmod 777 /dev/uio0",(but I dont think this > is right way.) > but there comes other files with the same error, and I also chmod them. > And I do the actions: > chmod 777 /sys/bus/pci/devices/0000:20:00.1/* > chmod 777 /sys/class/uio/uio0/device/config > > Then , restart the ovs-dpdk, > But, there comes the following error: > 2017-11-14T02:40:05.436Z|8384580|dpdk|ERR|PMD: pci_read(): Can't read > from PCI config space > 2017-11-14T02:40:05.436Z|8384581|dpdk|ERR|PMD: pci_read(): Can't read > from PCI config space > 2017-11-14T02:40:05.436Z|8384582|dpdk|ERR|PMD: pci_read(): Can't read > from PCI config space > 2017-11-14T02:40:05.436Z|8384583|dpdk|ERR|PMD: pci_read(): Can't read > from PCI config space > 2017-11-14T02:40:05.436Z|8384584|dpdk|INFO|PMD: bnx2x_pci_get_caps(): > Failed to allocate memory > 2017-11-14T02:40:05.436Z|8384585|dpdk|INFO|PMD: bnx2x_attach(): PCIe caps > reading was failed > 2017-11-14T02:40:05.436Z|8384586|dpdk|ERR|PMD: bnx2x_common_dev_init(): > bnx2x_attach failed (-12) > 2017-11-14T02:40:05.436Z|8384587|dpdk|ERR|EAL: Requested device > 0000:20:00.1 cannot be used > > So, why there comes the Permission prolem? And what should I do for the > PCIe error? Or it is the NIC drivers' problem? > Thanks a lot. > > > _______________________________________________ > discuss mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss > >
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
