problem with madwifi drivers

Oscar p reeopp
Fri Nov 26 07:04:36 PST 2004


Hi

This is what I did:

1.- remove all driver files from /lib/modules/2.6.4-52-default/net
2.- reboot the machine without wireless card
3.- compile the madwifi again
4.- copy wlan.o, ath_hal.o, ath_pci.o, wlan_acl.o, wlan_wep.o, wlan_tkip.o, 
wlan_ccmp.o, into  /lib/modules/2.6.4-52-default/net
5.- try insmod on wlan.o, wlan_acl.o, wlan_wep.o, wlan_tkip.o, wlan_ccmp.o, 
ath_hal.o, ath_pci.o, all of them were properly loaded but ath_pci:

Compaq:/home/oscar/madwifi/madwifi-20041021 # insmod ath/ath_pci.o
insmod: error inserting 'ath/ath_pci.o': -1 Unknown symbol in module

dmesg messages:


Nov 26 15:50:33 Compaq kernel: wlan: no version for "struct_module" found: 
kernel tainted.
Nov 26 15:50:33 Compaq kernel: wlan: no version magic, tainting kernel.
Nov 26 15:50:33 Compaq kernel: wlan: 0.8.4.4 (EXPERIMENTAL)
Nov 26 15:50:51 Compaq kernel: wlan_acl: no version magic, tainting kernel.
Nov 26 15:50:51 Compaq kernel: wlan: mac acl policy registered
Nov 26 15:51:05 Compaq kernel: wlan_wep: no version magic, tainting kernel.
Nov 26 15:51:17 Compaq kernel: wlan_tkip: no version magic, tainting kernel.
Nov 26 15:51:30 Compaq kernel: wlan_ccmp: no version magic, tainting kernel.
Nov 26 15:51:38 Compaq kernel: ath_hal: no version magic, tainting kernel.
Nov 26 15:51:38 Compaq kernel: ath_hal: module license 'Proprietary' taints 
kernel.
Nov 26 15:51:38 Compaq kernel: ath_hal: 0.9.12.14 (AR5210, AR5211, AR5212)
Nov 26 15:51:52 Compaq kernel: ath_pci: no version magic, tainting kernel.
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_tx_complete
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_attach
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_newassoc
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_node_copy
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_node_cleanup
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_detach
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_node_init
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_findrate
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_newstate
Nov 26 15:51:52 Compaq kernel: ath_pci: Unknown symbol ath_rate_setupxtxdesc

6.- I inserted the pmcia with the following messages:


Nov 26 15:52:11 Compaq /etc/hotplug/pci.agent[5742]: FATAL: Error inserting 
ath_pci (/lib/modules/2.6.4-52-default/extra/ath_pci.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_encap
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_encap
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_input
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_input
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_ifattach
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_ifattach
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
_ath_hal_attach
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol _ath_hal_attach
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_ifdetach
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_ifdetach
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ath_hal_computetxtime
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ath_hal_computetxtime
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_dump_pkt
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_dump_pkt
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ath_hal_detach
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ath_hal_detach
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_media_change
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
ieee80211_media_change
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_add_xrates
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_iterate_nodes
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
ieee80211_iterate_nodes
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_find_node
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_find_node
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_next_scan
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_next_scan
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_media_init
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_media_init
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_new_state
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_get_rssi
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_media_status
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol 
ieee80211_media_status
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_add_rates
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_chan2ieee
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_chan2ieee
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ath_hal_init_channels
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ath_hal_init_channels
Nov 26 15:52:11 Compaq kernel: ath_pci: disagrees about version of symbol 
ieee80211_chan2mode
Nov 26 15:52:11 Compaq kernel: ath_pci: Unknown symbol ieee80211_chan2mod

it seems there is something wrong with ath_pci but I do not know what it 
is....

Thanks a lot for your help!
Oscar

>From: YenJung Chang <yenjung at gmail.com>
>Reply-To: YenJung Chang <yenjung at gmail.com>
>To: Oscar p <reeopp at hotmail.com>
>CC: hostap at shmoo.com
>Subject: Re: problem with madwifi drivers
>Date: Fri, 26 Nov 2004 21:30:13 +0800
>
>Oscar,
>
>Maybe you should recompile madwifi and try it again.
>I can not make sense of why ath_pci.o failed to insert.
>
>In addition, please remove inserted modules before you insert again.
>
>yj.
>
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





More information about the Hostap mailing list