From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 253681066 for ; Mon, 18 Jun 2018 15:09:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2018 06:09:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,239,1526367600"; d="scan'208";a="65060076" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 18 Jun 2018 06:09:35 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 18 Jun 2018 06:09:35 -0700 Received: from hasmsx108.ger.corp.intel.com (10.184.198.18) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 18 Jun 2018 06:09:35 -0700 Received: from HASMSX110.ger.corp.intel.com ([169.254.6.38]) by hasmsx108.ger.corp.intel.com ([169.254.9.94]) with mapi id 14.03.0319.002; Mon, 18 Jun 2018 16:09:32 +0300 From: "Rosen, Rami" To: =?iso-8859-2?Q?Martin_Dra=B9ar?= , "users@dpdk.org" Thread-Topic: [dpdk-users] DPDK 17.05 does not find X510 card Thread-Index: AQHUBuI3W+6xWVvMJ0yntb2Y1H5TxaRlxW4Q///90wCAADif0A== Date: Mon, 18 Jun 2018 13:09:32 +0000 Message-ID: <9B0331B6EBBD0E4684FBFAEDA55776F9672C7B30@HASMSX110.ger.corp.intel.com> References: <34c3f20b-dcbb-5a47-d8c0-6af6635bc41a@ics.muni.cz> <9B0331B6EBBD0E4684FBFAEDA55776F9672C6986@HASMSX110.ger.corp.intel.com> <5dde9d52-3662-72ae-04a6-b5ad3e122562@ics.muni.cz> In-Reply-To: <5dde9d52-3662-72ae-04a6-b5ad3e122562@ics.muni.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWI3ZDIyMGItM2NiMC00YzhlLTg5NjEtZGUxZTMyMTVhN2I3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQVZaemJKaWlsN1dZb1RySUV3ck80R0RxQ1MxUVwvUGF3YjdSNlwvN0kxRGNUWGIrcHE4cjVxRjFiVmFCczlUWDNSIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.124.84.18] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Mon, 18 Jun 2018 13:09:37 -0000 Hi, Martin, How do you bind the device ? is it with igb_uio/vfio ? In case this is wha= t you do - can you please try with uio_pci_generic and tell if you get the = same error ?=20 The uio_pci_generic should be included in your distro as one of the kernel = modules, you need just to do modprobe uio_pci_generic before binding to DPD= K. Regards, Rami Rosen -----Original Message----- From: Martin Dra=B9ar [mailto:drasar@ics.muni.cz]=20 Sent: Monday, June 18, 2018 15:41 To: Rosen, Rami ; users@dpdk.org Subject: Re: [dpdk-users] DPDK 17.05 does not find X510 card Dne 18.6.2018 v 11:54 Rosen, Rami napsal(a): > Hi Martin, >> dpdk_init() >=20 > I assume you run your own application. > Can you post the log you get when running testpmd with --log-level=3D8 an= d -w I40E0_PCI_BUS_ID ....? >=20 > Also can you post "lspci -n"? > Regards, > Rami Rosen Hello, thank you for getting back to me so quick. I did some debugging and it turn= ed out that i40e drivers were not linked when building the dpdk. I fixed th= is, but I have encountered another problem... Although the cards are discovered, I get this error: > EAL: pci_map_resource(): cannot mmap(102, 0x7fffc0000000, 0x1000000,=20 > 0x0): Operation not permitted (0xffffffffffffffff) I've seen some information about his mmap-related behavior and some hints a= bout setting iomem=3Drelaxed in grub. As making changes to grub means compl= etely reinstalling my machine, I would like to ask, if you think that this = could be the way to go. Thanks, Martin