unkown symbol in kernel module (4.14.34) openwrt / orange pi r1

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I've got a working Openwrt running on a orange pi r1, however no working wifi
driver comes with the img (openwrt).
The problem i encounter is the loading of module (cfg80211.ko), used for configuration purposes.
The module is build against:
linux-stable-4.14.34 with sunxi_defconfig after which I selected the cfg80211 from make menuconfig.
Compiler:
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Loading the module on the orange-pi shows:
root@OpenWrt:/lib/modules/4.14.34# modprobe cfg80211.ko
[ 42.424100] cfg80211: Unknown symbol __put_net (err 0)
1 module could not be probed
- cfg80211
The kernel info:
root@OpenWrt:/lib/modules/4.14.34# cat /proc/version
Linux version 4.14.34 (buildbot@crazyhorse)
(gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6727-38bd4e4))
#0 SMP PREEMPT Thu Apr 19 17:15:00 2018
My assumption was, that if i compile a module against the same version it should be able to be load it, ...
Any help or suggestions on how to compile/load module for an image that
was obtained (instead of build locally) would be much appreciated.
Could it be a name mangling issue due to the difference in compilers?
Regards Auke
kernel-modules
add a comment |Â
up vote
0
down vote
favorite
I've got a working Openwrt running on a orange pi r1, however no working wifi
driver comes with the img (openwrt).
The problem i encounter is the loading of module (cfg80211.ko), used for configuration purposes.
The module is build against:
linux-stable-4.14.34 with sunxi_defconfig after which I selected the cfg80211 from make menuconfig.
Compiler:
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Loading the module on the orange-pi shows:
root@OpenWrt:/lib/modules/4.14.34# modprobe cfg80211.ko
[ 42.424100] cfg80211: Unknown symbol __put_net (err 0)
1 module could not be probed
- cfg80211
The kernel info:
root@OpenWrt:/lib/modules/4.14.34# cat /proc/version
Linux version 4.14.34 (buildbot@crazyhorse)
(gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6727-38bd4e4))
#0 SMP PREEMPT Thu Apr 19 17:15:00 2018
My assumption was, that if i compile a module against the same version it should be able to be load it, ...
Any help or suggestions on how to compile/load module for an image that
was obtained (instead of build locally) would be much appreciated.
Could it be a name mangling issue due to the difference in compilers?
Regards Auke
kernel-modules
It may be not enough compiling a module to put in another kernel as you found out. You will have to install a new kernel + the new module.
â Rui F Ribeiro
Apr 20 at 21:24
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've got a working Openwrt running on a orange pi r1, however no working wifi
driver comes with the img (openwrt).
The problem i encounter is the loading of module (cfg80211.ko), used for configuration purposes.
The module is build against:
linux-stable-4.14.34 with sunxi_defconfig after which I selected the cfg80211 from make menuconfig.
Compiler:
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Loading the module on the orange-pi shows:
root@OpenWrt:/lib/modules/4.14.34# modprobe cfg80211.ko
[ 42.424100] cfg80211: Unknown symbol __put_net (err 0)
1 module could not be probed
- cfg80211
The kernel info:
root@OpenWrt:/lib/modules/4.14.34# cat /proc/version
Linux version 4.14.34 (buildbot@crazyhorse)
(gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6727-38bd4e4))
#0 SMP PREEMPT Thu Apr 19 17:15:00 2018
My assumption was, that if i compile a module against the same version it should be able to be load it, ...
Any help or suggestions on how to compile/load module for an image that
was obtained (instead of build locally) would be much appreciated.
Could it be a name mangling issue due to the difference in compilers?
Regards Auke
kernel-modules
I've got a working Openwrt running on a orange pi r1, however no working wifi
driver comes with the img (openwrt).
The problem i encounter is the loading of module (cfg80211.ko), used for configuration purposes.
The module is build against:
linux-stable-4.14.34 with sunxi_defconfig after which I selected the cfg80211 from make menuconfig.
Compiler:
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Loading the module on the orange-pi shows:
root@OpenWrt:/lib/modules/4.14.34# modprobe cfg80211.ko
[ 42.424100] cfg80211: Unknown symbol __put_net (err 0)
1 module could not be probed
- cfg80211
The kernel info:
root@OpenWrt:/lib/modules/4.14.34# cat /proc/version
Linux version 4.14.34 (buildbot@crazyhorse)
(gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6727-38bd4e4))
#0 SMP PREEMPT Thu Apr 19 17:15:00 2018
My assumption was, that if i compile a module against the same version it should be able to be load it, ...
Any help or suggestions on how to compile/load module for an image that
was obtained (instead of build locally) would be much appreciated.
Could it be a name mangling issue due to the difference in compilers?
Regards Auke
kernel-modules
asked Apr 20 at 20:19
Auke-Dirk
1
1
It may be not enough compiling a module to put in another kernel as you found out. You will have to install a new kernel + the new module.
â Rui F Ribeiro
Apr 20 at 21:24
add a comment |Â
It may be not enough compiling a module to put in another kernel as you found out. You will have to install a new kernel + the new module.
â Rui F Ribeiro
Apr 20 at 21:24
It may be not enough compiling a module to put in another kernel as you found out. You will have to install a new kernel + the new module.
â Rui F Ribeiro
Apr 20 at 21:24
It may be not enough compiling a module to put in another kernel as you found out. You will have to install a new kernel + the new module.
â Rui F Ribeiro
Apr 20 at 21:24
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f439019%2funkown-symbol-in-kernel-module-4-14-34-openwrt-orange-pi-r1%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
It may be not enough compiling a module to put in another kernel as you found out. You will have to install a new kernel + the new module.
â Rui F Ribeiro
Apr 20 at 21:24