From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by dpdk.org (Postfix) with ESMTP id BC2A828F3 for ; Wed, 15 Mar 2017 15:59:34 +0100 (CET) Received: from 172.18.7.190 (EHLO LHREML712-CAH.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DCV76265; Wed, 15 Mar 2017 14:59:33 +0000 (GMT) Received: from LHREML501-MBS.china.huawei.com ([10.201.109.50]) by LHREML712-CAH.china.huawei.com ([10.201.108.35]) with mapi id 14.03.0301.000; Wed, 15 Mar 2017 14:59:28 +0000 From: "Avi Cohen (A)" To: "users@dpdk.org" Thread-Topic: running dpdk in lxc-container Thread-Index: AdKdh14Vaug4KcnRTEOUPVFFsgpPhAAFL1/Q Date: Wed, 15 Mar 2017 14:59:27 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.201.119.94] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.58C956D6.000D, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: e70d746c1fb4c74bbd1d9ef0a128bc3d Subject: Re: [dpdk-users] running dpdk in lxc-container X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 14:59:34 -0000 Hi, I've solved the original problem by simply installing pciutils=20 But now I cannot bind to dpdk - and get this error: ./dpdk-devbind.py --bind=3Digb_uio 0000:04:00.0 lspci: Unable to load libkmod resources: error -12 lspci: Unable to load libkmod resources: error -12 lspci: Unable to load libkmod resources: error -12 lspci: Unable to load libkmod resources: error -12 lspci: Unable to load libkmod resources: error -12 lspci: Unable to load libkmod resources: error -12 Error: unbind failed for 0000:04:00.0 - Cannot open /sys/bus/pci/drivers/ix= gbe/unbind Best regards avi > -----Original Message----- > From: Avi Cohen (A) > Sent: Wednesday, 15 March, 2017 2:32 PM > To: users@dpdk.org > Subject: running dpdk in lxc-container >=20 > Hello, > I'm trying to run dpdk in lxc-container . > But I failed to bind the nic to the dpdk driver (igb-uio), actually I fa= iled in the > ./dpdk-devbind,py --status Is it possible to run dpdk in lxc-container ? >=20 > I get this error: >=20 > Traceback (most recent call last): > File "./dpdk-devbind.py", line 577, in > main() > File "./dpdk-devbind.py", line 573, in main > get_nic_details() > File "./dpdk-devbind.py", line 249, in get_nic_details > dev_lines =3D check_output(["lspci", "-Dvmmn"]).splitlines() > File "./dpdk-devbind.py", line 125, in check_output > stderr=3Dstderr).communicate()[0] > File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ > errread, errwrite) > File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child > raise child_exception > OSError: [Errno 2] No such file or directory >=20 >=20 > Best regards > avi