[dpdk-users] Running DPDK as non-root

Vincent JARDIN vincent.jardin at 6wind.com
Thu Aug 25 15:56:23 CEST 2016


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


More information about the users mailing list