libos-nuse / linux-libos-tools

userspace tools for linux libos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netmap and DPDK build broken

slfmessi opened this issue · comments

I am doing some work on LibOS as my thesis, but I have some problems.
As the guide told, I use make defconfig ARCH=lib and make library ARCH=lib OPT=no NETMAP=yes to build with netmap. However, I can't make it through.
Should I compile netmap first? Or there are errors while I'm buidling it.

since forked linux-libos-tools repository from net-next-nuse, the netmap build (and dpdk build too) is broken. I will work on this in my spare time; patches are of course welcome !

netmap build is fixed with 4299cc4.
DPDK build is still being in debugging. stay tuned.

DPDK is also fixed, though not tested yet. b87b6f9

Hi, it's me again.
After upgrade the repo, i can compile nuse-vif-netmap.o now, but I don't know how to use it.
When I use this command

sudo NUSECONF=nuse.conf ./nuse ping 192.168.108.2
, a core dump appear.It only happen when I change the vif tape to netmap, the default config will not throw the core dump.
I think it is because I haven't compile betmap and drivers. Should I compile and insmod netmap modules with driver for e1000 first?
And because of the network, I can't update the submodule netmap when i use
make library ARCH=lib OPT=no NETMAP=yes
, and I have to copy the netmap repo I downloaded before into
arch/lib/tools
folder, would it matter?
Thank you.