From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 518B95957 for ; Sat, 24 Jan 2015 03:46:40 +0100 (CET) Received: from [2001:470:8:a08:215:ff:fecc:4872] (helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YEqk8-0002Qm-9i; Fri, 23 Jan 2015 21:46:38 -0500 Date: Fri, 23 Jan 2015 21:46:34 -0500 From: Neil Horman To: Vipin Agrawal 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <397E527E-DFA3-4648-9573-190EAA7B6FB9@argyledata.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] dpdk_nic_bind giving error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2015 02:46:40 -0000 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 > 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. > > ________________________________