主题 : 我想手动加载一个无线网卡驱动,总是失败。只要运行一次无线网络设置程序就能加载了。为什么。 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 47525
精华: 0
发帖: 24
金钱: 120 两
威望: 24 点
综合积分: 48 分
注册时间: 2011-05-23
最后登录: 2015-11-10
楼主  发表于: 2013-01-14 19:11

 我想手动加载一个无线网卡驱动,总是失败。只要运行一次无线网络设置程序就能加载了。为什么。

 我想加载网卡驱动
insmod libertas.ko
结果
libertas: Unknown symbol __kfifo_in
libertas: Unknown symbol regulatory_hint
libertas: Unknown symbol __kfifo_free
libertas: Unknown symbol cfg80211_disconnected
libertas: Unknown symbol wiphy_register
libertas: Unknown symbol wiphy_new
libertas: Unknown symbol cfg80211_put_bss
libertas: Unknown symbol cfg80211_inform_bss
libertas: Unknown symbol ieee80211_bss_get_ie
libertas: Unknown symbol cfg80211_ibss_joined
libertas: Unknown symbol cfg80211_michael_mic_failure
libertas: Unknown symbol cfg80211_connect_result
libertas: Unknown symbol wiphy_unregister
libertas: Unknown symbol cfg80211_get_bss
libertas: Unknown symbol __ieee80211_get_channel
libertas: Unknown symbol compat_release_firmware
libertas: Unknown symbol ieee80211_channel_to_frequency
libertas: Unknown symbol __kfifo_alloc
libertas: Unknown symbol __kfifo_out
libertas: Unknown symbol wiphy_free
libertas: Unknown symbol compat_request_firmware
insmod: cannot insert 'libertas.ko': unknown symbol in module or invalid parameter
但是只要运行一次板子上面的无线网络设置程序就可以加载了
不知道哪个程序打开时做了些什么、、

运行无线网络设置时,终端打印:
Compat-wireless backport release:compat-wireless-2011-01-06
Backport based on linux-next.gitnext-20110111
cfg80211: Calling CRDA to update worldregulatory domain
usbcore: registered new interface driverath9k_hif_usb
kfifo: module license 'unspecified' taintskernel.
Disabling lock debugging due to kerneltaint
usbcore: registered new interface driverrt73usb
usbcore: registered new interface driverrt2800usb
usbcore: registered new interface driverzd1211rw
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2013-01-14 22:38

 回 楼主(aishiqi) 的帖子

看起来是libertas.ko依赖于cfg80211模块(你可以在正确加载后用lsmod查看所有已加载的内核模块)。希望这个帖子对你有帮助
http://www.aiothome.net/read.php?tid-16696.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 47525
精华: 0
发帖: 24
金钱: 120 两
威望: 24 点
综合积分: 48 分
注册时间: 2011-05-23
最后登录: 2015-11-10
2楼  发表于: 2013-01-15 11:04

 回 1楼(kasim) 的帖子

你就把你们的无线网络设置程序启动时加载了哪些东西告诉我们吧,这也没有什么大不了的。只要知道了加载了什么,就知道什么原因了。
非常感谢!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2013-01-15 12:20

 回 2楼(aishiqi) 的帖子

不好意思,我很愿意告诉你但我不是"你们"里的一员。我和你一样是开发板的用户。如果你希望咨询友善之臂的工程师,建议你把问题发到论坛的“友善之臂官方客服中心”版块。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 47525
精华: 0
发帖: 24
金钱: 120 两
威望: 24 点
综合积分: 48 分
注册时间: 2011-05-23
最后登录: 2015-11-10
4楼  发表于: 2013-01-15 12:30

 回 3楼(kasim) 的帖子

哇哦,这么牛逼啊、