From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 39BF8567C for ; Thu, 25 Aug 2016 15:56:26 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id d196so38912152wmd.0 for ; Thu, 25 Aug 2016 06:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=tlujkVBF7l0cXA2MiLr7zX1NCzJDVjUYHlaW61j+9RA=; b=kBhOdvQuK5VFqeKwNCl0tNqFYgFDN3tKM0rmgR9jrfN3EfuXtI3IcPKVpsaDr8kKc/ zgtJwLXmoGKKY+h9XGgoEtN/cj/33tkat5ieY7chz5TnQ5Grko8VrybbkYIXSf0cl5Ve Dt6XJOpoZBnZ30EtKlL51bmhkAGS90etrAekECJn8sX+080Z/Mm8I4DL3r3XOjeJDjut aUbc2Zr2jNJeWPsXiXqbXw+UEnTlUv1c//sspvuUs5kBiFxCiww0On/FO0Ppr8mqqkB/ 7R7nueAwL16d5KdFtSwFP//bKWmGb4m3Czmpj7+9Ei6xqaoQWgl4OX3HnZOQzVMWIjkw yFcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=tlujkVBF7l0cXA2MiLr7zX1NCzJDVjUYHlaW61j+9RA=; b=lu4C2a3SGCooxcUQ3jZLUZ62LIrfrkiavdzEWXRbt/e3VOmHPRqOjw0V34yO9ndC4/ UinWKWQYVdeorlQzrQjVzvLUSg/a2Idz105LSO8kwqROTFVxdLrpyruie1UeSWRDkqBm sU2bb35C2yTbw4tj9zKH5dA/3uTS/jgA2rd9bHq5jII/C2kZ6SHFIXG8v4Td20KqL35/ h12ZPZBT4q9M3kIZ8yaO50qkxE5z1wo/RRYIaz4ZIAanrxpxvm6sAVyfPdd1rST/53dC E1649JtZ8kOlA79t2+Fml9mg6Q4kgOSo1ucGQbnMbYBXp4A12XOShqFV8Im/nINtCG7N OoBA== X-Gm-Message-State: AEkoouslROAigPYLjYvxlHbmttB1n/zb/7FVcqGYgVf03F5VhYZ6xpPTnoj6HHlykQCX97O7 X-Received: by 10.194.104.197 with SMTP id gg5mr7646796wjb.6.1472133385966; Thu, 25 Aug 2016 06:56:25 -0700 (PDT) Received: from [10.16.0.240] (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id cw7sm15291551wjb.38.2016.08.25.06.56.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Aug 2016 06:56:24 -0700 (PDT) To: John Ousterhout , users@dpdk.org References: From: Vincent JARDIN Organization: www.6wind.com Message-ID: Date: Thu, 25 Aug 2016 15:56:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 25 Aug 2016 13:56:26 -0000 John, > 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 > > I tried to change the permissions on /proc/self/pagemap, but that is > disallowed, even if I try it as root. > > Any suggestions on how to get around this problem? assuming that you are using a Mellanox CX3 or CX4 PCI boards, you maybe able to update the code to avoid access to pagemap. pagemap is used to get and then cache the physaddr. However, since Verbs are used to register memory by these 2 PMDs, the physical address is not needed. A dirty hack could be to store any dummy values, and you should be good almost to go. best regards, Vincent