From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: dpdk_nic_bind giving error Date: Fri, 23 Jan 2015 21:46:34 -0500 Message-ID: <20150124024634.GA9341@localhost.localdomain> References: <397E527E-DFA3-4648-9573-190EAA7B6FB9@argyledata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Vipin Agrawal Return-path: Content-Disposition: inline In-Reply-To: <397E527E-DFA3-4648-9573-190EAA7B6FB9-xWjCnmvoJpqzR313v1King@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Fri, Jan 23, 2015 at 10:26:34PM +0000, Vipin Agrawal wrote: > I=E2=80=99m running on centos with kernel 3.18.3 and built the dpdk wit= h gcc 4.7 and running with python 3.3 >=20 > When trying to get status or even trying to bind to the eth0 port, I ge= t the following error : >=20 > [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 > 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 =3D check_output(["lspci", "-Dvmmn"]).splitlines() > File "tools/dpdk_nic_bind.py", line 120, in check_output > stderr=3Dstderr).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_chi= ld > raise child_exception > OSError: [Errno 2] No such file or directory >=20 >=20 > What am I doing wrong? >=20 >=20 Looks like you don't have pci-utils installed. The script can't find the= lspci utility=20 Neil >=20 > ________________________________ >=20 > This message is for the designated recipient only and may contain privi= leged, proprietary, or otherwise confidential information. If you have re= ceived it in error, please notify the sender immediately and delete the o= riginal. Any other use of the e-mail by you is prohibited. Thank you in a= dvance for your cooperation. >=20 > ________________________________