From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) by dpdk.org (Postfix) with ESMTP id C5FC61BAA8 for ; Thu, 21 Jun 2018 07:58:28 +0200 (CEST) Received: from lhreml703-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id C6035A5846B3E; Thu, 21 Jun 2018 06:58:25 +0100 (IST) Received: from FRAEML704-CAH.china.huawei.com (10.206.14.35) by lhreml703-cah.china.huawei.com (10.201.108.44) with Microsoft SMTP Server (TLS) id 14.3.382.0; Thu, 21 Jun 2018 06:58:27 +0100 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.176]) by FRAEML704-CAH.china.huawei.com ([10.206.14.35]) with mapi id 14.03.0382.000; Thu, 21 Jun 2018 07:58:27 +0200 From: "Avi Cohen (A)" To: =?iso-8859-2?Q?Martin_Dra=B9ar?= , "Rosen, Rami" , "users@dpdk.org" Thread-Topic: [dpdk-users] DPDK 17.05 does not find X510 card Thread-Index: AQHUBuI0J9qKUO6unEGHCNpaw8hc/6RlpVGAgAAutACAAAfhAIAAA9EAgAADGgCAAAKZAIAAg9wAgAAuWgCAAKDTgIAAR3+AgAK73VA= Date: Thu, 21 Jun 2018 05:58:26 +0000 Message-ID: References: <34c3f20b-dcbb-5a47-d8c0-6af6635bc41a@ics.muni.cz> <9B0331B6EBBD0E4684FBFAEDA55776F9672C6986@HASMSX110.ger.corp.intel.com> <5dde9d52-3662-72ae-04a6-b5ad3e122562@ics.muni.cz> <9B0331B6EBBD0E4684FBFAEDA55776F9672C7B30@HASMSX110.ger.corp.intel.com> <9B0331B6EBBD0E4684FBFAEDA55776F9672C7B86@HASMSX110.ger.corp.intel.com> <586d777c-063a-1e0e-a6a8-bdcae3360ed6@ics.muni.cz> <9B0331B6EBBD0E4684FBFAEDA55776F9672CBC5E@HASMSX110.ger.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.200.202.147] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-users] DPDK 17.05 does not find X510 card 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: Thu, 21 Jun 2018 05:58:28 -0000 Look at this=20 https://stackoverflow.com/questions/8213671/mmap-operation-not-permitted > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Martin Dra?ar > Sent: Tuesday, 19 June, 2018 5:13 PM > To: Rosen, Rami; users@dpdk.org > Subject: Re: [dpdk-users] DPDK 17.05 does not find X510 card >=20 > Just some additional details (strace around the pic probe): >=20 > > write(1, "EAL: PCI device 0000:05:00.0 on "..., 46EAL: PCI device > > 0000:05:00.0 on NUMA socket 0) =3D 46 sendto(3, "<30>Jun 19 16:05:21 > framework[42"..., 84, MSG_NOSIGNAL, NULL, 0) =3D 84 > > write(1, "EAL: probe driver: 8086:154d n"..., 41EAL: probe driver: > 8086:154d net_ixgbe) =3D 41 > > sendto(3, "<30>Jun 19 16:05:21 framework[42"..., 79, MSG_NOSIGNAL, > > NULL, 0) =3D 79 openat(AT_FDCWD, "/sys/bus/pci/devices/0000:05:00.0/uio= ", > O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) =3D 94 > > getdents(94, /* 3 entries */, 32768) =3D 72 > > close(94) =3D 0 > > open("/dev/uio2", O_RDWR) =3D 94 > > open("/sys/class/uio/uio2/device/config", O_RDWR) =3D 95 > > open("/sys/bus/pci/devices/0000:05:00.0/resource0", O_RDWR) =3D 96 > > mmap(0x7fa400000000, 524288, PROT_READ|PROT_WRITE, MAP_SHARED, > 96, 0) > > =3D -1 EPERM (Operation not permitted) write(1, "EAL: > > pci_map_resource(): cannot "..., 117EAL: pci_map_resource(): cannot > mmap(96, 0x7fa400000000, 0x80000, 0x0): Operation not permitted > (0xffffffffffffffff)) =3D 117 sendto(3, "<27>Jun 19 16:05:21 framework[42= "..., 155, > MSG_NOSIGNAL, NULL, 0) =3D 155 > > close(96) =3D 0 > > close(95) =3D 0 > > close(94) =3D 0 > > write(1, "EAL: Requested device 0000:05:00"..., 50EAL: Requested > > device 0000:05:00.0 cannot be used) =3D 50 >=20 > Martin