Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netmap and DPDK build broken #3

Open
slfmessi opened this issue Apr 21, 2015 · 4 comments
Open

netmap and DPDK build broken #3

slfmessi opened this issue Apr 21, 2015 · 4 comments
Labels

Comments

@slfmessi
Copy link

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.

@thehajime thehajime added the bug label Apr 21, 2015
@thehajime thehajime changed the title Howto build with netmap netmap build broken Apr 21, 2015
@thehajime
Copy link
Member

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 !

@thehajime thehajime changed the title netmap build broken netmap and DPDK build broken Apr 21, 2015
@thehajime
Copy link
Member

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

@thehajime
Copy link
Member

DPDK is also fixed, though not tested yet. b87b6f9

@slfmessi
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants