Monday, September 08, 2008

Atheros AR242x Wireless Linux Ubuntu problem [SOLVED]

OK, so i had my ubuntu working perfectly with wireless until a kernel update. Trying to update the modules again made things go south...

The problem I was having after compiling the madwifi modules were:

[ 31.067538] ath_hal: module license 'Proprietary' taints kernel.
[ 31.068968] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[ 31.251611] ath_pci: disagrees about version of symbol _ath_hal_attach
[ 31.251615] ath_pci: Unknown symbol _ath_hal_attach
[ 31.251720] ath_pci: disagrees about version of symbol ath_hal_process_noisefloor
[ 31.251722] ath_pci: Unknown symbol ath_hal_process_noisefloor
[ 31.252092] ath_pci: disagrees about version of symbol ath_hal_computetxtime
[ 31.252094] ath_pci: Unknown symbol ath_hal_computetxtime
[ 31.252339] ath_pci: disagrees about version of symbol ath_hal_mhz2ieee
[ 31.252341] ath_pci: Unknown symbol ath_hal_mhz2ieee
[ 31.252518] ath_pci: Unknown symbol _ath_hal_detach
[ 31.253072] ath_pci: Unknown symbol ath_hal_print_decoded_register
[ 31.253608] ath_pci: disagrees about version of symbol ath_hal_init_channels
[ 31.253610] ath_pci: Unknown symbol ath_hal_init_channels
[ 31.253840] ath_pci: disagrees about version of symbol ath_hal_getwirelessmodes
[ 31.253842] ath_pci: Unknown symbol ath_hal_getwirelessmodes

I solved it with the following:
  1. Remove all files in: /usr/lib/`uname -r`/net/
  2. Unload existing modules: modprobe -r begining with names:
    • ath_
    • wlan_
  3. svn co https://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6
  4. cd madwifi-hal-0.10.5.6
  5. make
  6. make install
  7. depmod -a
  8. modprobe ath_pci

Hope this helps somebody.

1 comment:

Ygnatius said...

bro you have done great justice to all of us who are getting away from windows. I have been working very hard to learn linux in between school, work, and my computer repair business/hobby. Bud, I hope this doesn't affend you but, god bless you and this has been a life saver. I hope that more people like you come along. It has been fun reading tens of thousands of blogs on this particular issue but im kinda glad it's over. Much thanx and appreciated.