DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] dpdk_nic_bind giving error
@ 2015-01-23 22:26 Vipin Agrawal
  2015-01-24  2:46 ` Neil Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Vipin Agrawal @ 2015-01-23 22:26 UTC (permalink / raw)
  To: dev

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@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?



________________________________

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.

________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] dpdk_nic_bind giving error
  2015-01-23 22:26 [dpdk-dev] dpdk_nic_bind giving error Vipin Agrawal
@ 2015-01-24  2:46 ` Neil Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Horman @ 2015-01-24  2:46 UTC (permalink / raw)
  To: Vipin Agrawal; +Cc: dev

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@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.
> 
> ________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-24  2:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-23 22:26 [dpdk-dev] dpdk_nic_bind giving error Vipin Agrawal
2015-01-24  2:46 ` Neil Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).