* [dpdk-users] Not able to access /dev/uioX from inside LXC
@ 2016-11-12 14:32 Nagaprabhanjan Bellaru
2016-11-15 6:44 ` Nagaprabhanjan Bellaru
0 siblings, 1 reply; 2+ messages in thread
From: Nagaprabhanjan Bellaru @ 2016-11-12 14:32 UTC (permalink / raw)
To: users
Hi,
The instructions mentioned by Krishnamurthy here:
http://dpdk.org/ml/archives/dev/2014-October/006373.html
greatly helped to make progress on accessing PCI devices from with in the
container, however, DPDK is not able to open them because of privilege
issues. Has somebody been able to crack this issue? If so, can they please
show me the way to do it?
--
EAL: Detected 24 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
[New Thread 0x7fff8ece0700 (LWP 22134)]
EAL: PCI device 0000:06:00.0 on NUMA socket -1
EAL: probe driver: 8086:1583 rte_i40e_pmd
EAL: Cannot open /dev/uio0: Operation not permitted
EAL: Error - exiting with code: 1
Cause: Requested device 0000:06:00.0 cannot be used
[Thread 0x7ffff7fe7700 (LWP 22130) exited]
[Inferior 1 (process 22130) exited with code 01]
--
Thanks,
-nagp
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-users] Not able to access /dev/uioX from inside LXC
2016-11-12 14:32 [dpdk-users] Not able to access /dev/uioX from inside LXC Nagaprabhanjan Bellaru
@ 2016-11-15 6:44 ` Nagaprabhanjan Bellaru
0 siblings, 0 replies; 2+ messages in thread
From: Nagaprabhanjan Bellaru @ 2016-11-15 6:44 UTC (permalink / raw)
To: users
There were two issues w.r.t the above problem
* The uioX major number is not fixed across machine reboots - so I had to
keep two-three major numbers in devices.allow section to do this.
* The sysfs was mounted as read-only file system. When I remounted it as
read-write, all problems went away. I could access 40G ports from inside
LXC container.
Thanks,
-nagp
On Sat, Nov 12, 2016 at 8:02 PM, Nagaprabhanjan Bellaru <
nagp.lists@gmail.com> wrote:
> Hi,
>
> The instructions mentioned by Krishnamurthy here:
> http://dpdk.org/ml/archives/dev/2014-October/006373.html
>
> greatly helped to make progress on accessing PCI devices from with in the
> container, however, DPDK is not able to open them because of privilege
> issues. Has somebody been able to crack this issue? If so, can they please
> show me the way to do it?
>
> --
> EAL: Detected 24 lcore(s)
> EAL: No free hugepages reported in hugepages-1048576kB
> EAL: Probing VFIO support...
> [New Thread 0x7fff8ece0700 (LWP 22134)]
> EAL: PCI device 0000:06:00.0 on NUMA socket -1
> EAL: probe driver: 8086:1583 rte_i40e_pmd
> EAL: Cannot open /dev/uio0: Operation not permitted
> EAL: Error - exiting with code: 1
> Cause: Requested device 0000:06:00.0 cannot be used
> [Thread 0x7ffff7fe7700 (LWP 22130) exited]
> [Inferior 1 (process 22130) exited with code 01]
> --
>
> Thanks,
> -nagp
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-15 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-12 14:32 [dpdk-users] Not able to access /dev/uioX from inside LXC Nagaprabhanjan Bellaru
2016-11-15 6:44 ` Nagaprabhanjan Bellaru
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).