-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cannot load mymodule_lin.ko #3
Comments
I'm not the author of the VALE tutorial part, but here it seems you haven't loaded the netmap module. |
Actually I loaded it, I was able to perform all other netmap related tests
…On Fri, Feb 2, 2018 at 11:31 AM Vincenzo Maffione ***@***.***> wrote:
I'm not the author of the VALE tutorial part, but here it seems you
haven't loaded the netmap module.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHVEvMFHpSGvgM_KcojJmoAWzE9ePfNcks5tQyUEgaJpZM4R2Yor>
.
|
You could grep the symbol to check it's there
|
it's there, please see the make output: make NSRC=/home/yikai/netmap KSRC=/usr/src/linux-headers-4.4.0-103-generic/ |
and this is when I use linux-source instead of headers: make NSRC=/home/yikai/netmap KSRC=/usr/src/linux-source-4.4.0 WARNING: Symbol version dump ./Module.symvers Building modules, stage 2. |
Yeah, I'm not even able to compile, actually. Can you ask the author https://github.com/micchie/mymodule ? |
mymodule_lin: Unknown symbol netmap_bdg_ctl (err 0)
mymodule_lin: Unknown symbol netmap_bdg_learning (err 0)
These are the errors printed by "dmesg | tail"
I downloaded this repo, and in "mymodule/LINUX" I typed:
make KSRC=/usr/src/linux-headers-XXX NSRC=/home/XXX/netmap
or
make KSRC=/usr/src/linux-sources-XXX NSRC=/home/XXX/netmap
neither worked
The text was updated successfully, but these errors were encountered: