From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 90B476CA2 for ; Fri, 19 Aug 2016 20:39:31 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP; 19 Aug 2016 11:39:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,545,1464678000"; d="scan'208";a="1044352198" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 19 Aug 2016 11:39:30 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 19 Aug 2016 11:39:30 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.149]) by fmsmsx120.amr.corp.intel.com ([10.18.124.208]) with mapi id 14.03.0248.002; Fri, 19 Aug 2016 11:39:30 -0700 From: "Wiles, Keith" To: John Ousterhout CC: "users@dpdk.org" Thread-Topic: [dpdk-users] Running DPDK as non-root Thread-Index: AQHR+kX56hILy8vbf0e79+gMuOUk7qBREtUA Date: Fri, 19 Aug 2016 18:39:28 +0000 Message-ID: <7887A61A-F887-4BCD-941E-02C50963E89B@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.108.131] Content-Type: text/plain; charset="us-ascii" Content-ID: <14C4F998233B8F4BAB005C32D19853FE@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Running DPDK as non-root X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 18:39:32 -0000 Regards, Keith > On Aug 19, 2016, at 1:16 PM, John Ousterhout wro= te: >=20 > I'm trying to run a DPDK application as a normal user without root > privilege, and saw the instructions here: >=20 > http://dpdk.org/doc/guides/linux_gsg/enable_func.html >=20 > However, when I try this I get the following log messages: >=20 > EAL: Detected 8 lcore(s) > EAL: Probing VFIO support... > EAL: Cannot open /proc/self/pagemap: Operation not permitted. virt2phys > address translation will not work > PANIC in rte_eal_init(): > Cannot init memory >=20 > I tried to change the permissions on /proc/self/pagemap, but that is > disallowed, even if I try it as root. >=20 > Any suggestions on how to get around this problem? I have tried a couple times to make this happen for my development, but wit= hout any luck. I believe one of the big problems is related the virt2phy address translati= on is done in the kernel and it is seen as a security hole if a user level = application is able to access that information. >=20 > Thanks in advance for the help. >=20 > -John-