[dpdk-users] Running DPDK as non-root

Wiles, Keith keith.wiles at intel.com
Fri Aug 19 20:39:28 CEST 2016


> On Aug 19, 2016, at 1:16 PM, John Ousterhout <ouster at cs.stanford.edu> wrote:
> I'm trying to run a DPDK application as a normal user without root
> privilege, and saw the instructions here:
> http://dpdk.org/doc/guides/linux_gsg/enable_func.html
> However, when I try this I get the following log messages:
> 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?

I have tried a couple times to make this happen for my development, but without any luck.

I believe one of the big problems is related the virt2phy address translation is done in the kernel and it is seen as a security hole if a user level application is able to access that information.

> Thanks in advance for the help.
> -John-

More information about the users mailing list