On Fri, Jan 23, 2015 at 10:26:34PM +0000, Vipin Agrawal wrote:
> I?m running on centos with kernel 3.18.3 and built the dpdk with gcc 4.7 and 
> running with python 3.3
> 
> When trying to get status or even trying to bind to the eth0 port, I get the 
> following error :
> 
> [root at linux-dt dpdk-1.8.0]# tools/dpdk_nic_bind.py --status
> Traceback (most recent call last):
>   File "tools/dpdk_nic_bind.py", line 536, in <module>
>     main()
>   File "tools/dpdk_nic_bind.py", line 532, in main
>     get_nic_details()
>   File "tools/dpdk_nic_bind.py", line 225, in get_nic_details
>     dev_lines = check_output(["lspci", "-Dvmmn"]).splitlines()
>   File "tools/dpdk_nic_bind.py", line 120, in check_output
>     stderr=stderr).communicate()[0]
>   File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
>     errread, errwrite)
>   File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
> 
> 
> What am I doing wrong?
> 
> 
Looks like you don't have pci-utils installed.  The script can't find the lspci
utility 
Neil

> 
> ________________________________
> 
> This message is for the designated recipient only and may contain privileged, 
> proprietary, or otherwise confidential information. If you have received it 
> in error, please notify the sender immediately and delete the original. Any 
> other use of the e-mail by you is prohibited. Thank you in advance for your 
> cooperation.
> 
> ________________________________

Reply via email to