DPDK usage discussions
 help / color / mirror / Atom feed
From: Vincent JARDIN <vincent.jardin@6wind.com>
To: John Ousterhout <ouster@cs.stanford.edu>, users@dpdk.org
Subject: Re: [dpdk-users] Running DPDK as non-root
Date: Thu, 25 Aug 2016 15:56:23 +0200	[thread overview]
Message-ID: <f283bc11-14ea-15d0-1985-04aa8f0d6d48@6wind.com> (raw)
In-Reply-To: <CAGXJAmxWoJtb30Xd1CV86mYZMVU8MKuoOPxC4Uqf6uhG-z2MiQ@mail.gmail.com>

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

  parent reply	other threads:[~2016-08-25 13:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-19 18:16 John Ousterhout
2016-08-19 18:39 ` Wiles, Keith
2016-08-25 13:56 ` Vincent JARDIN [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-07 15:47 Jez Higgins
2016-07-07 16:17 ` Thomas Monjalon
2016-07-07 18:37   ` Wiles, Keith
2016-07-08  2:29     ` Tan, Jianfeng
2016-07-12 17:09   ` Adrien Mazarguil
2016-07-08  3:55 ` Singh, Satish 1. (Nokia - IN/Bangalore)
2016-07-08  5:01 ` Singh, Satish 1. (Nokia - IN/Bangalore)
2016-07-11 10:41 ` Jez Higgins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f283bc11-14ea-15d0-1985-04aa8f0d6d48@6wind.com \
    --to=vincent.jardin@6wind.com \
    --cc=ouster@cs.stanford.edu \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).