从 backports 安装和启用多个模块
Installing and enabling multiple modules from backports
我正在从 linux 向后移植修改 WLAN 卡驱动程序模块。目前,我修改了 ath9k_htc
和 iwlwifi
.
貌似,我记得在我完全没有修改驱动程序的时候,两个驱动程序一直在一起工作。但是修改驱动后无法让两个驱动同时工作
这是我遇到的问题:
1: 仅安装 ath9k_htc
:
make defconfig-ath9k
make
sudo make install
sudo reboot
lsmod
没有 iwlwifi
列出
2:仅安装 iwlwifi
:
make defconfig-iwlwifi
make
sudo make install
sudo reboot
lsmod
没有 ath9k*
列出
3:同时安装(我不确定我做的是否正确):
make defconfig-ath9k defconfig-iwlwifi
make
sudo make install
sudo reboot
lsmod
然后,lsmod
中只列出了两个驱动程序中的一个。
假设 ath9k_htc
正在工作,那么 iwlwifi
在 dmesg
中抛出这样的消息:
[ 22.563631] iwldvm: disagrees about version of symbol ieee80211_start_tx_ba_cb_irqsafe
[ 22.563637] iwldvm: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe (err -22)
[ 22.563645] iwldvm: disagrees about version of symbol ieee80211_report_wowlan_wakeup
[ 22.563647] iwldvm: Unknown symbol ieee80211_report_wowlan_wakeup (err -22)
[ 22.563657] iwldvm: disagrees about version of symbol ieee80211_chswitch_done
[ 22.563660] iwldvm: Unknown symbol ieee80211_chswitch_done (err -22)
[ 22.563718] iwldvm: disagrees about version of symbol ieee80211_alloc_hw
[ 22.563720] iwldvm: Unknown symbol ieee80211_alloc_hw (err -22)
[ 22.563801] iwldvm: disagrees about version of symbol ieee80211_find_sta
[ 22.563803] iwldvm: Unknown symbol ieee80211_find_sta (err -22)
[ 22.563809] iwldvm: disagrees about version of symbol ieee80211_iter_keys
[ 22.563811] iwldvm: Unknown symbol ieee80211_iter_keys (err -22)
[ 22.563852] iwldvm: disagrees about version of symbol ieee80211_enable_rssi_reports
[ 22.563854] iwldvm: Unknown symbol ieee80211_enable_rssi_reports (err -22)
[ 22.563862] iwldvm: disagrees about version of symbol ieee80211_stop_tx_ba_cb_irqsafe
[ 22.563865] iwldvm: Unknown symbol ieee80211_stop_tx_ba_cb_irqsafe (err -22)
[ 22.563873] iwldvm: disagrees about version of symbol ieee80211_ave_rssi
[ 22.563875] iwldvm: Unknown symbol ieee80211_ave_rssi (err -22)
[ 22.563992] iwldvm: disagrees about version of symbol ieee80211_resume_disconnect
[ 22.563995] iwldvm: Unknown symbol ieee80211_resume_disconnect (err -22)
[ 22.564004] iwldvm: disagrees about version of symbol ieee80211_beacon_get_tim
[ 22.564006] iwldvm: Unknown symbol ieee80211_beacon_get_tim (err -22)
[ 22.564021] iwldvm: disagrees about version of symbol ieee80211_request_smps
[ 22.564023] iwldvm: Unknown symbol ieee80211_request_smps (err -22)
[ 22.564070] iwldvm: disagrees about version of symbol ieee80211_disable_rssi_reports
[ 22.564072] iwldvm: Unknown symbol ieee80211_disable_rssi_reports (err -22)
当 iwlwifi
工作时,ath9k_htc
反之亦然。
任何人都可以给我一个让两个驱动程序一起工作的建议吗?
我不确定这是否仍然相关,但请尝试
make defconfig-wifi
make menuconfig // select all the drivers you want (Atheros, Intel, etc.)
make & make install
您将安装您选择的所有驱动程序。
安装模块后(如您所述)。
在/etc/modules
中添加模块ath9k
和iwlwifi
。
所以它们将在启动时加载。
我正在从 linux 向后移植修改 WLAN 卡驱动程序模块。目前,我修改了 ath9k_htc
和 iwlwifi
.
貌似,我记得在我完全没有修改驱动程序的时候,两个驱动程序一直在一起工作。但是修改驱动后无法让两个驱动同时工作
这是我遇到的问题:
1: 仅安装 ath9k_htc
:
make defconfig-ath9k
make
sudo make install
sudo reboot
lsmod
没有 iwlwifi
列出
2:仅安装 iwlwifi
:
make defconfig-iwlwifi
make
sudo make install
sudo reboot
lsmod
没有 ath9k*
列出
3:同时安装(我不确定我做的是否正确):
make defconfig-ath9k defconfig-iwlwifi
make
sudo make install
sudo reboot
lsmod
然后,lsmod
中只列出了两个驱动程序中的一个。
假设 ath9k_htc
正在工作,那么 iwlwifi
在 dmesg
中抛出这样的消息:
[ 22.563631] iwldvm: disagrees about version of symbol ieee80211_start_tx_ba_cb_irqsafe
[ 22.563637] iwldvm: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe (err -22)
[ 22.563645] iwldvm: disagrees about version of symbol ieee80211_report_wowlan_wakeup
[ 22.563647] iwldvm: Unknown symbol ieee80211_report_wowlan_wakeup (err -22)
[ 22.563657] iwldvm: disagrees about version of symbol ieee80211_chswitch_done
[ 22.563660] iwldvm: Unknown symbol ieee80211_chswitch_done (err -22)
[ 22.563718] iwldvm: disagrees about version of symbol ieee80211_alloc_hw
[ 22.563720] iwldvm: Unknown symbol ieee80211_alloc_hw (err -22)
[ 22.563801] iwldvm: disagrees about version of symbol ieee80211_find_sta
[ 22.563803] iwldvm: Unknown symbol ieee80211_find_sta (err -22)
[ 22.563809] iwldvm: disagrees about version of symbol ieee80211_iter_keys
[ 22.563811] iwldvm: Unknown symbol ieee80211_iter_keys (err -22)
[ 22.563852] iwldvm: disagrees about version of symbol ieee80211_enable_rssi_reports
[ 22.563854] iwldvm: Unknown symbol ieee80211_enable_rssi_reports (err -22)
[ 22.563862] iwldvm: disagrees about version of symbol ieee80211_stop_tx_ba_cb_irqsafe
[ 22.563865] iwldvm: Unknown symbol ieee80211_stop_tx_ba_cb_irqsafe (err -22)
[ 22.563873] iwldvm: disagrees about version of symbol ieee80211_ave_rssi
[ 22.563875] iwldvm: Unknown symbol ieee80211_ave_rssi (err -22)
[ 22.563992] iwldvm: disagrees about version of symbol ieee80211_resume_disconnect
[ 22.563995] iwldvm: Unknown symbol ieee80211_resume_disconnect (err -22)
[ 22.564004] iwldvm: disagrees about version of symbol ieee80211_beacon_get_tim
[ 22.564006] iwldvm: Unknown symbol ieee80211_beacon_get_tim (err -22)
[ 22.564021] iwldvm: disagrees about version of symbol ieee80211_request_smps
[ 22.564023] iwldvm: Unknown symbol ieee80211_request_smps (err -22)
[ 22.564070] iwldvm: disagrees about version of symbol ieee80211_disable_rssi_reports
[ 22.564072] iwldvm: Unknown symbol ieee80211_disable_rssi_reports (err -22)
当 iwlwifi
工作时,ath9k_htc
反之亦然。
任何人都可以给我一个让两个驱动程序一起工作的建议吗?
我不确定这是否仍然相关,但请尝试
make defconfig-wifi
make menuconfig // select all the drivers you want (Atheros, Intel, etc.)
make & make install
您将安装您选择的所有驱动程序。
安装模块后(如您所述)。
在/etc/modules
中添加模块ath9k
和iwlwifi
。
所以它们将在启动时加载。