compat-wireless 同时添加多块网卡支持的问题

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
gy911201
帖子: 24
注册时间: 2008-04-27 14:48

compat-wireless 同时添加多块网卡支持的问题

#1

帖子 gy911201 »

Ubuntu版本 10.04 LTS
2.6.32-32-generic

Y460 笔记本,用的是 Intel 1000BGN 的无线网卡
看信息用的是 iwlagn 模块驱动的


后来因为一些原因又买了一块 TP-link的WN722N 的显卡
用compit-wireless 安装了以后成功驱动
用的是 ar9271_htc 的模块……

但是问题来了……我发现这个时候以前的笔记本内置的无线网卡无法工作……
尝试挂载 iwlagn 的时候提示

代码: 全选

FATAL: Error inserting iwlagn (/lib/modules/2.6.32-32-generic/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg 里面的信息

代码: 全选

Jun 18 19:34:26 *******-laptop kernel: [28871.620043] iwlcore: disagrees about version of symbol ieee80211_start_tx_ba_cb_irqsafe
Jun 18 19:34:26 *******-laptop kernel: [28871.620050] iwlcore: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe
Jun 18 19:34:26 *******-laptop kernel: [28871.620611] iwlcore: disagrees about version of symbol ieee80211_alloc_hw
Jun 18 19:34:26 *******-laptop kernel: [28871.620614] iwlcore: Unknown symbol ieee80211_alloc_hw
Jun 18 19:34:26 *******-laptop kernel: [28871.620775] iwlcore: disagrees about version of symbol ieee80211_register_hw
Jun 18 19:34:26 *******-laptop kernel: [28871.620778] iwlcore: Unknown symbol ieee80211_register_hw
Jun 18 19:34:26 *******-laptop kernel: [28871.621199] iwlcore: disagrees about version of symbol __ieee80211_get_radio_led_name
Jun 18 19:34:26 *******-laptop kernel: [28871.621203] iwlcore: Unknown symbol __ieee80211_get_radio_led_name
Jun 18 19:34:26 *******-laptop kernel: [28871.621354] iwlcore: disagrees about version of symbol ieee80211_wake_queue
Jun 18 19:34:26 *******-laptop kernel: [28871.621357] iwlcore: Unknown symbol ieee80211_wake_queue
Jun 18 19:34:26 *******-laptop kernel: [28871.621496] iwlcore: disagrees about version of symbol ieee80211_get_tkip_key
Jun 18 19:34:26 *******-laptop kernel: [28871.621500] iwlcore: Unknown symbol ieee80211_get_tkip_key
Jun 18 19:34:26 *******-laptop kernel: [28871.621644] iwlcore: disagrees about version of symbol __ieee80211_get_tx_led_name
Jun 18 19:34:26 *******-laptop kernel: [28871.621647] iwlcore: Unknown symbol __ieee80211_get_tx_led_name
Jun 18 19:34:26 *******-laptop kernel: [28871.621839] iwlcore: disagrees about version of symbol ieee80211_find_sta
Jun 18 19:34:26 *******-laptop kernel: [28871.621842] iwlcore: Unknown symbol ieee80211_find_sta
Jun 18 19:34:26 *******-laptop kernel: [28871.621989] iwlcore: disagrees about version of symbol ieee80211_tx_status_irqsafe
Jun 18 19:34:26 *******-laptop kernel: [28871.621992] iwlcore: Unknown symbol ieee80211_tx_status_irqsafe
Jun 18 19:34:26 *******-laptop kernel: [28871.622274] iwlcore: disagrees about version of symbol __ieee80211_get_rx_led_name
Jun 18 19:34:26 *******-laptop kernel: [28871.622277] iwlcore: Unknown symbol __ieee80211_get_rx_led_name
Jun 18 19:34:26 *******-laptop kernel: [28871.622473] iwlcore: disagrees about version of symbol ieee80211_stop_tx_ba_cb_irqsafe
Jun 18 19:34:26 *******-laptop kernel: [28871.622476] iwlcore: Unknown symbol ieee80211_stop_tx_ba_cb_irqsafe
Jun 18 19:34:26 *******-laptop kernel: [28871.622781] iwlcore: disagrees about version of symbol ieee80211_wake_queues
Jun 18 19:34:26 *******-laptop kernel: [28871.622784] iwlcore: Unknown symbol ieee80211_wake_queues
Jun 18 19:34:26 *******-laptop kernel: [28871.622999] iwlcore: disagrees about version of symbol ieee80211_stop_queue
Jun 18 19:34:26 *******-laptop kernel: [28871.623003] iwlcore: Unknown symbol ieee80211_stop_queue
Jun 18 19:34:26 *******-laptop kernel: [28871.623143] iwlcore: disagrees about version of symbol ieee80211_stop_queues
Jun 18 19:34:26 *******-laptop kernel: [28871.623146] iwlcore: Unknown symbol ieee80211_stop_queues
Jun 18 19:34:26 *******-laptop kernel: [28871.623294] iwlcore: disagrees about version of symbol __ieee80211_get_assoc_led_name
Jun 18 19:34:26 *******-laptop kernel: [28871.623298] iwlcore: Unknown symbol __ieee80211_get_assoc_led_name
Jun 18 19:34:26 *******-laptop kernel: [28871.623449] iwlcore: disagrees about version of symbol ieee80211_scan_completed
Jun 18 19:34:26 *******-laptop kernel: [28871.623452] iwlcore: Unknown symbol ieee80211_scan_completed
Jun 18 19:34:26 *******-laptop kernel: [28871.623660] iwlcore: disagrees about version of symbol ieee80211_channel_to_frequency
Jun 18 19:34:26 *******-laptop kernel: [28871.623663] iwlcore: Unknown symbol ieee80211_channel_to_frequency
Jun 18 19:34:26 *******-laptop kernel: [28871.623999] iwlcore: disagrees about version of symbol ieee80211_hdrlen
Jun 18 19:34:26 *******-laptop kernel: [28871.624002] iwlcore: Unknown symbol ieee80211_hdrlen
Jun 18 19:34:26 *******-laptop kernel: [28871.624207] iwlcore: Unknown symbol ieee80211_beacon_get
Jun 18 19:34:26 *******-laptop kernel: [28871.624739] iwlcore: disagrees about version of symbol ieee80211_rx_irqsafe
Jun 18 19:34:26 *******-laptop kernel: [28871.624742] iwlcore: Unknown symbol ieee80211_rx_irqsafe

所以我想问下是不是因为 在 driver-select 的时候只选择了 ath9k_htc 的原因……但我尝试重新选择的时候发现又无法同时选择两个驱动……………………
所以现在小弟很迷茫……我应该怎么做才能同时驱动两个显卡………………
kxkdy
帖子: 3
注册时间: 2011-06-19 16:24

Re: compat-wireless 同时添加多块网卡支持的问题

#2

帖子 kxkdy »

我的也一样 ,期待回答·

最新电影 开心电影www.kxkdy.com
johnnylq
帖子: 1
注册时间: 2012-01-10 16:00

Re: compat-wireless 同时添加多块网卡支持的问题

#3

帖子 johnnylq »

Root cause : the error when execute modprobe iwlagn is caused by the cfg80211.ko & mac80211.ko installed by ath_htc_installer is not compatible with iwlagn

Explanation: what ath_htc_installer does:
1. ath_htc_installer updates some files to /lib/modules/'uname'/updates, cfg80211.ko & mac80211.ko are 2 files updated
2. ath_htc_installer updates the dependency in /lib/modules/'uname'/modules.dep from old cfg80211.ko & mac80211.ko to the new updated ones.
3. modprobe iwlagn will looks up modules.dep.bin and router the dependency to new one cfg80211.ko and mac80211.ko. and since they are not compatible at all, errors happen.

How to fix it: 1. mv modules.dep modules.dep.bak
2. restore the dependency relationship . use vim/gedit to open modules.dep ,
replace the occurrence of updates/net/wireless/cfg80211.ko to kernal/net/wireless/cfg80211.ko
updates/net/mac80211/mac80211.ko to kernal/net/mac80211/mac80211.ko
remove dependency to updates/compat/compat.ko
3. run depmod to regenerate modules.dep.bin
4. modprobe iwlagn will succeed
回复