DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev]  sysfs permission problem when running dpdk app in lxc
@ 2016-09-05  5:33 Moon-Sang Lee
  2016-09-09  0:56 ` Moon-Sang Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Moon-Sang Lee @ 2016-09-05  5:33 UTC (permalink / raw)
  To: dev

I'm using ubuntu 16.04 LTS as my host and installed lxd on it.
When I try to run my dpdk(2.2.0) app in the container, I got following
error message.

EAL: lcore 9 is ready (tid=17fd700;cpuset=[9])
EAL: lcore 3 is ready (tid=c915700;cpuset=[3])
EAL: lcore 11 is ready (tid=ffc700;cpuset=[11])
EAL: lcore 5 is ready (tid=27ff700;cpuset=[5])
EAL: lcore 7 is ready (tid=1ffe700;cpuset=[7])
EAL: lcore 13 is ready (tid=7fb700;cpuset=[13])
EAL: PCI device 0000:06:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10e8 rte_igb_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:06:00.1 on NUMA socket -1
EAL:   probe driver: 8086:10e8 rte_igb_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:07:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10e8 rte_igb_pmd
EAL: Cannot open /sys/class/uio/uio0/device/config: Permission denied
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:07:00.0 cannot be used



However, it seems ok of the permission when I list those files.
I appreciate any comments.

root@test4:~# cat /proc/mounts |grep sysfs
sysfs /sys sysfs rw,relatime 0 0
root@test4:~# ls -al /sys/class/uio/uio0/device/config
-rw-r--r-- 1 root root 4096 Sep  5 04:56 /sys/class/uio/uio0/device/config
root@test4:~# ls -al /dev/uio0
crw-rw-rw- 1 root root 243, 0 Sep  5 04:16 /dev/uio0
root@test4:~#



-- 
Moon-Sang Lee, SW Engineer
Email: sang0627@gmail.com
Wisdom begins in wonder. *Socrates*

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-09  0:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05  5:33 [dpdk-dev] sysfs permission problem when running dpdk app in lxc Moon-Sang Lee
2016-09-09  0:56 ` Moon-Sang Lee

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).