Hi,

I am a newbie to using containers, and I am trying to run a DPDK enabled app 
inside a system container (which I created using lxc-create). While, 
lxc-execute works to run the dpdk app, the system container does not, giving me 
the following error:

EAL: Cannot open /dev/uio0: No such file or directory
EAL: Error - exiting with code: 1

Where, one 10G ethernet device on host has been assigned to the uio_igb driver 
on the host, and hence is visible from host:
root:/# ls /dev/uio0
/dev/uio0

But /dev/uio0 is not visible in the container.

I was reading about autodev and how using autodev hook you can do an mknod to 
create the devs, but I am not sure what is the right approach here.  If I look 
in the dev of the rootfs of the container, I see some dev are already 
created/shared with the host. I want to do something similar for /dev/uio0. Can 
I just share/mount the /dev/uio0 from host onto container or use autodev?
I just want the container to be able to use the /dev/uio0 just as if on host - 
what's the right way to approach/make this work?

Thanks
Anjali


_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to