madwifi-project.org
Posted 01-24-2009 at 10:10 AM by ctroyer
OK, my mistake. The madwifi.org site is the old obsolete one; I read all about their hosting issues before, when I was looking for ndiswrapper alternatives.
At the new site, madwifi-project.org, they have all the new information. Looks to me like the madwifi driver is the one I need to use, since the ath5k driver does not support my AR5005G card yet. Like I said before, I'd rather use the newer ath5k driver - as it is all open source, but I'm no zealot, and I just really want this dang wireless card to work. When I run make, I get the following output :
root@darkstar:/usr/madwifi-0.9.4# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.21.5/build SUBDIRS=/usr/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-2.6.21.5'
CC [M] /usr/madwifi-0.9.4/ath/if_ath.o
CC [M] /usr/madwifi-0.9.4/ath/if_ath_pci.o
LD [M] /usr/madwifi-0.9.4/ath/ath_pci.o
CC [M] /usr/madwifi-0.9.4/ath_hal/ah_os.o
What I am curious about now is the line about ath_pci.o . What is the significance of the CC [M] or LD [M] flag? I thought that CC indicated that the compiler was compiling C code, but what does LD stand for? (Pretty sure that the [M] means kernel module.) I've been looking through the GCC manual and documentation but I can't find anything so very basic as that. I'm guessing that it means a library link or some such. I think that it's a clue as to why modprobe can't find the ath_pci module after the compiling is done.
For example :
done
make[1]: Leaving directory `/usr/madwifi-0.9.4/net80211'
(export KMODPATH=/lib/modules/2.6.21.5-smp/net; /sbin/depmod -ae 2.6.21.5-smp)
make -C ./tools install || exit 1
make[1]: Entering directory `/usr/madwifi-0.9.4/tools'
install -d /usr/local/bin
for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig ath_info; do \
install $i /usr/local/bin/$i; \
strip /usr/local/bin/$i; \
done
install -d /usr/local/man/man8
install -m 0644 man/*.8 /usr/local/man/man8
make[1]: Leaving directory `/usr/madwifi-0.9.4/tools'
root@darkstar:/usr/madwifi-0.9.4# modprobe ath_pci
FATAL: Module ath_pci not found.
root@darkstar:/usr/madwifi-0.9.4#
The export command - for KMOD_PATH variable does not seem to be happening either - :
root@darkstar:/usr/madwifi-0.9.4# echo $KMOD_PATH
root@darkstar:/usr/madwifi-0.9.4#
But the files are in the correct directory :
root@darkstar:/lib/modules/2.6.21.5-smp/net# ls -l
total 708
-rwxr-xr-x 1 root root 210624 2009-01-24 09:56 ath_hal.ko*
-rwxr-xr-x 1 root root 110476 2009-01-24 09:56 ath_pci.ko*
-rwxr-xr-x 1 root root 12730 2009-01-24 09:56 ath_rate_amrr.ko*
-rw-r--r-- 1 root root 19681 2009-01-24 09:56 ath_rate_minstrel.ko
-rwxr-xr-x 1 root root 12229 2009-01-24 09:56 ath_rate_onoe.ko*
-rwxr-xr-x 1 root root 18917 2009-01-24 09:56 ath_rate_sample.ko*
-rwxr-xr-x 1 root root 225567 2009-01-24 09:56 wlan.ko*
-rwxr-xr-x 1 root root 9661 2009-01-24 09:56 wlan_acl.ko*
-rwxr-xr-x 1 root root 13124 2009-01-24 09:56 wlan_ccmp.ko*
-rwxr-xr-x 1 root root 10708 2009-01-24 09:56 wlan_scan_ap.ko*
-rwxr-xr-x 1 root root 19188 2009-01-24 09:56 wlan_scan_sta.ko*
-rwxr-xr-x 1 root root 17867 2009-01-24 09:56 wlan_tkip.ko*
-rwxr-xr-x 1 root root 11787 2009-01-24 09:56 wlan_wep.ko*
-rwxr-xr-x 1 root root 6857 2009-01-24 09:56 wlan_xauth.ko*
root@darkstar:/lib/modules/2.6.21.5-smp/net#
The permissions seem sensible.
The files I would expect to see are also in /usr/local/bin:
root@darkstar:/usr/local/bin# ls -l
total 35940
-rwxr-xr-x 1 root root 6472 2009-01-24 09:57 80211debug*
-rwxr-xr-x 1 root root 11900 2009-01-24 09:57 80211stats*
-rwxr-xr-x 1 root root 144074 2009-01-02 16:41 ac3dec*
-rwxr-xr-x 1 root root 57265 2009-01-02 16:41 as10k1*
-rwxr-xr-x 1 root root 13636 2009-01-24 09:57 ath_info*
-rwxr-xr-x 1 root root 4172 2009-01-24 09:57 athchans*
-rwxr-xr-x 1 root root 4280 2009-01-24 09:57 athctrl*
-rwxr-xr-x 1 root root 6448 2009-01-24 09:57 athdebug*
-rwxr-xr-x 1 root root 6148 2009-01-24 09:57 athkey*
-rwxr-xr-x 1 root root 9908 2009-01-24 09:57 athstats*
-rwxr-xr-x 1 root root 2045458 2008-09-05 21:41 avr-addr2line*
So what am I missing? Besides the fact that the primary file here - ath_pci , the module that calls all the rest, is not compiling or installing where I expect it to?
At the new site, madwifi-project.org, they have all the new information. Looks to me like the madwifi driver is the one I need to use, since the ath5k driver does not support my AR5005G card yet. Like I said before, I'd rather use the newer ath5k driver - as it is all open source, but I'm no zealot, and I just really want this dang wireless card to work. When I run make, I get the following output :
root@darkstar:/usr/madwifi-0.9.4# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.21.5/build SUBDIRS=/usr/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-2.6.21.5'
CC [M] /usr/madwifi-0.9.4/ath/if_ath.o
CC [M] /usr/madwifi-0.9.4/ath/if_ath_pci.o
LD [M] /usr/madwifi-0.9.4/ath/ath_pci.o
CC [M] /usr/madwifi-0.9.4/ath_hal/ah_os.o
What I am curious about now is the line about ath_pci.o . What is the significance of the CC [M] or LD [M] flag? I thought that CC indicated that the compiler was compiling C code, but what does LD stand for? (Pretty sure that the [M] means kernel module.) I've been looking through the GCC manual and documentation but I can't find anything so very basic as that. I'm guessing that it means a library link or some such. I think that it's a clue as to why modprobe can't find the ath_pci module after the compiling is done.
For example :
done
make[1]: Leaving directory `/usr/madwifi-0.9.4/net80211'
(export KMODPATH=/lib/modules/2.6.21.5-smp/net; /sbin/depmod -ae 2.6.21.5-smp)
make -C ./tools install || exit 1
make[1]: Entering directory `/usr/madwifi-0.9.4/tools'
install -d /usr/local/bin
for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig ath_info; do \
install $i /usr/local/bin/$i; \
strip /usr/local/bin/$i; \
done
install -d /usr/local/man/man8
install -m 0644 man/*.8 /usr/local/man/man8
make[1]: Leaving directory `/usr/madwifi-0.9.4/tools'
root@darkstar:/usr/madwifi-0.9.4# modprobe ath_pci
FATAL: Module ath_pci not found.
root@darkstar:/usr/madwifi-0.9.4#
The export command - for KMOD_PATH variable does not seem to be happening either - :
root@darkstar:/usr/madwifi-0.9.4# echo $KMOD_PATH
root@darkstar:/usr/madwifi-0.9.4#
But the files are in the correct directory :
root@darkstar:/lib/modules/2.6.21.5-smp/net# ls -l
total 708
-rwxr-xr-x 1 root root 210624 2009-01-24 09:56 ath_hal.ko*
-rwxr-xr-x 1 root root 110476 2009-01-24 09:56 ath_pci.ko*
-rwxr-xr-x 1 root root 12730 2009-01-24 09:56 ath_rate_amrr.ko*
-rw-r--r-- 1 root root 19681 2009-01-24 09:56 ath_rate_minstrel.ko
-rwxr-xr-x 1 root root 12229 2009-01-24 09:56 ath_rate_onoe.ko*
-rwxr-xr-x 1 root root 18917 2009-01-24 09:56 ath_rate_sample.ko*
-rwxr-xr-x 1 root root 225567 2009-01-24 09:56 wlan.ko*
-rwxr-xr-x 1 root root 9661 2009-01-24 09:56 wlan_acl.ko*
-rwxr-xr-x 1 root root 13124 2009-01-24 09:56 wlan_ccmp.ko*
-rwxr-xr-x 1 root root 10708 2009-01-24 09:56 wlan_scan_ap.ko*
-rwxr-xr-x 1 root root 19188 2009-01-24 09:56 wlan_scan_sta.ko*
-rwxr-xr-x 1 root root 17867 2009-01-24 09:56 wlan_tkip.ko*
-rwxr-xr-x 1 root root 11787 2009-01-24 09:56 wlan_wep.ko*
-rwxr-xr-x 1 root root 6857 2009-01-24 09:56 wlan_xauth.ko*
root@darkstar:/lib/modules/2.6.21.5-smp/net#
The permissions seem sensible.
The files I would expect to see are also in /usr/local/bin:
root@darkstar:/usr/local/bin# ls -l
total 35940
-rwxr-xr-x 1 root root 6472 2009-01-24 09:57 80211debug*
-rwxr-xr-x 1 root root 11900 2009-01-24 09:57 80211stats*
-rwxr-xr-x 1 root root 144074 2009-01-02 16:41 ac3dec*
-rwxr-xr-x 1 root root 57265 2009-01-02 16:41 as10k1*
-rwxr-xr-x 1 root root 13636 2009-01-24 09:57 ath_info*
-rwxr-xr-x 1 root root 4172 2009-01-24 09:57 athchans*
-rwxr-xr-x 1 root root 4280 2009-01-24 09:57 athctrl*
-rwxr-xr-x 1 root root 6448 2009-01-24 09:57 athdebug*
-rwxr-xr-x 1 root root 6148 2009-01-24 09:57 athkey*
-rwxr-xr-x 1 root root 9908 2009-01-24 09:57 athstats*
-rwxr-xr-x 1 root root 2045458 2008-09-05 21:41 avr-addr2line*
So what am I missing? Besides the fact that the primary file here - ath_pci , the module that calls all the rest, is not compiling or installing where I expect it to?
Total Comments 0