Results 31 to 40 of 62
I hate to keep saying this, but I need to know that you did things right. If you did, it HAS to be installed. You entered the madwifi directory after ...
- 09-06-2007 #31
I hate to keep saying this, but I need to know that you did things right. If you did, it HAS to be installed. You entered the madwifi directory after untarring it and did as root:
Then:Code:make
If you did, and you finished up with no errors, did you do:Code:make install
?Code:/sbin/depmod -a
- 09-06-2007 #32Just Joined!
- Join Date
- Sep 2007
- Location
- Canada
- Posts
- 38
heres what that looks:
[root@localhost ~]# cd /root/Desktop/madwifi-0.9.3.2
[root@localhost madwifi-0.9.3.2]# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.20-2931.fc7xen/build SUBDIRS=/root/Desktop/madwifi-0.9.3.2 modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64'
Building modules, stage 2.
MODPOST 13 modules
make[1]: Leaving directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64'
make -C ./tools all || exit 1
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/tools'
[root@localhost madwifi-0.9.3.2]# make install
sh scripts/find-madwifi-modules.sh 2.6.22.4-65.fc7
WARNING:
It seems that there are modules left from previous MadWifi installations.
If you are unistalling the MadWifi modules please press "r" to remove them.
If you are installing new MadWifi modules, you should consider removing those
already installed, or else you may experience problems during operation.
Remove old modules?
[l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
r
for i in ./ath ./ath_hal ./ath_rate ./net80211; do \
make -C $i install || exit 1; \
done
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_pci.ko //lib/modules/2.6.22.4-65.fc7/net
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath'
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_hal'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_hal.ko //lib/modules/2.6.22.4-65.fc7/net
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_hal'
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate'
for i in amrr/ onoe/ sample/; do \
make -C $i install || exit 1; \
done
make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/amrr'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_rate_amrr.ko //lib/modules/2.6.22.4-65.fc7/net
make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/amrr'
make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/onoe'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_rate_onoe.ko //lib/modules/2.6.22.4-65.fc7/net
make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/onoe'
make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/sample'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_rate_sample.ko //lib/modules/2.6.22.4-65.fc7/net
make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/sample'
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate'
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/net80211'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
for i in wlan.o wlan_wep.o wlan_tkip.o wlan_ccmp.o wlan_acl.o wlan_xauth.o wlan_scan_sta.o wlan_scan_ap.o; do \
f=`basename $i .o`; \
install $f.ko //lib/modules/2.6.22.4-65.fc7/net; \
done
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/net80211'
(export KMODPATH=/lib/modules/2.6.22.4-65.fc7/net; /sbin/depmod -ae 2.6.22.4-65.fc7)
make -C ./tools install || exit 1
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/tools'
install -d /usr/local/bin
for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig; 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 `/root/Desktop/madwifi-0.9.3.2/tools'
[root@localhost madwifi-0.9.3.2]# make install
sh scripts/find-madwifi-modules.sh 2.6.22.4-65.fc7
WARNING:
It seems that there are modules left from previous MadWifi installations.
If you are unistalling the MadWifi modules please press "r" to remove them.
If you are installing new MadWifi modules, you should consider removing those
already installed, or else you may experience problems during operation.
Remove old modules?
[l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
i
for i in ./ath ./ath_hal ./ath_rate ./net80211; do \
make -C $i install || exit 1; \
done
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_pci.ko //lib/modules/2.6.22.4-65.fc7/net
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath'
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_hal'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_hal.ko //lib/modules/2.6.22.4-65.fc7/net
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_hal'
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate'
for i in amrr/ onoe/ sample/; do \
make -C $i install || exit 1; \
done
make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/amrr'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_rate_amrr.ko //lib/modules/2.6.22.4-65.fc7/net
make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/amrr'
make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/onoe'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_rate_onoe.ko //lib/modules/2.6.22.4-65.fc7/net
make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/onoe'
make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/sample'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
install ath_rate_sample.ko //lib/modules/2.6.22.4-65.fc7/net
make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/sample'
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate'
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/net80211'
test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
for i in wlan.o wlan_wep.o wlan_tkip.o wlan_ccmp.o wlan_acl.o wlan_xauth.o wlan_scan_sta.o wlan_scan_ap.o; do \
f=`basename $i .o`; \
install $f.ko //lib/modules/2.6.22.4-65.fc7/net; \
done
make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/net80211'
(export KMODPATH=/lib/modules/2.6.22.4-65.fc7/net; /sbin/depmod -ae 2.6.22.4-65.fc7)
make -C ./tools install || exit 1
make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/tools'
install -d /usr/local/bin
for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig; 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 `/root/Desktop/madwifi-0.9.3.2/tools'
[root@localhost madwifi-0.9.3.2]# /sbin/depmod -a
[root@localhost madwifi-0.9.3.2]#
- 09-06-2007 #33
okay, looking good. If you do /sbin/modprobe ath_pci now, and it gives the same error, all I can assume is the drivers are just not installed to the directory where they need to be, but they should be somewhere on your system. So we need to know where they are if that is the case...
Code:updatedb
If modprobe returned no errors, do:Code:locate ath_pci
And see if ath0 is listed.Code:/sbin/iwconfig
- 09-06-2007 #34Just Joined!
- Join Date
- Sep 2007
- Location
- Canada
- Posts
- 38
looks like:
[root@localhost madwifi-0.9.3.2]# updatedb
[root@localhost madwifi-0.9.3.2]# locate ath_pci
/lib/modules/2.6.20-2931.fc7xen/net/ath_pci.ko
/lib/modules/2.6.22.4-65.fc7/net/ath_pci.ko
/root/Desktop/madwifi-0.9.3.2/.tmp_versions/ath_pci.mod
/root/Desktop/madwifi-0.9.3.2/ath/.ath_pci.ko.cmd
/root/Desktop/madwifi-0.9.3.2/ath/.ath_pci.mod.o.cmd
/root/Desktop/madwifi-0.9.3.2/ath/.ath_pci.o.cmd
/root/Desktop/madwifi-0.9.3.2/ath/.if_ath_pci.o.cmd
/root/Desktop/madwifi-0.9.3.2/ath/ath_pci.ko
/root/Desktop/madwifi-0.9.3.2/ath/ath_pci.mod.c
/root/Desktop/madwifi-0.9.3.2/ath/ath_pci.mod.o
/root/Desktop/madwifi-0.9.3.2/ath/ath_pci.o
/root/Desktop/madwifi-0.9.3.2/ath/if_ath_pci.c
/root/Desktop/madwifi-0.9.3.2/ath/if_ath_pci.h
/root/Desktop/madwifi-0.9.3.2/ath/if_ath_pci.o
/root/Desktop/madwifi-0.9.3.2/ath/.tmp_versions/ath_pci.mod
[root@localhost madwifi-0.9.3.2]# /sbin/iwconfig
lo no wireless extensions.
peth0 no wireless extensions.
virbr0 no wireless extensions.
eth0 no wireless extensions.
- 09-06-2007 #35
Did you still get the error when doing modprobe? Because the driver is present,
- 09-06-2007 #36Just Joined!
- Join Date
- Sep 2007
- Location
- Canada
- Posts
- 38
yes cept i get this now:
[root@localhost ~]# modprobe ath_pci
WARNING: Error inserting ath_hal (/lib/modules/2.6.20-2931.fc7xen/net/ath_hal.ko): Invalid module format
WARNING: Error inserting wlan (/lib/modules/2.6.20-2931.fc7xen/net/wlan.ko): Invalid module format
FATAL: Error inserting ath_pci (/lib/modules/2.6.20-2931.fc7xen/net/ath_pci.ko): Invalid module format
it happened from doing comand "export KERNELRELEASE=`uname -r" i was looking at this UserDocs/Troubleshooting - MadWifi - Trac "After building and installing madwifi modprobe doesn't find the modules!" i thought that was my problem but i guess not my goof... sorry bout that...
- 09-06-2007 #37
What a pain you are going through...
I'm just spoiled I guess... This module runs Atheros wireless devices perfectly for me on Slackware and Crux. I'm using ath_pci on Crux right now for this post...
I read that the error you got can be caused by running a different kernel than the one you are compiling for. You've built for 2.6.20-2931.fc7xen. Is this the exact same kernel you are running under? If in doubt, do:
And see if they match exactly. If they do match, there's someting else going on I'd be unfamiliar with. If it were me, and they matched and I still get the errors, I'd try installing the module/driver with yum again.Code:uname -a
Oops.. just saw this...
This is likely the cause of the errors. There are two symlinks in /lib/modules/ 2.6.20-2931.fc7xen. One is "build" the other is "source." Both point back to the kernel in /usr/src/kernels. Do:Code:make[1]: Entering directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64'
Then:Code:cd /lib/modules/2.6.20-2931.fc7xen
...and post the results here. I suspect you have symlinks pointing to the wrong kernel.Code:ls -l
- 09-06-2007 #38Just Joined!
- Join Date
- Sep 2007
- Location
- Canada
- Posts
- 38
here it is:
[root@localhost 2.6.20-2931.fc7xen]# ls -l
total 1380
lrwxrwxrwx 1 root root 39 2007-09-05 21:10 build -> /usr/src/kernels/2.6.22.4-65.fc7-x86_64
drwxr-xr-x 2 root root 4096 2007-08-13 10:25 extra
drwxr-xr-x 9 root root 4096 2007-09-05 16:09 kernel
drwxr-xr-x 2 root root 4096 2007-09-06 12:28 misc
-rw-r--r-- 1 root root 289173 2007-09-06 12:52 modules.alias
-rw-r--r-- 1 root root 69 2007-09-06 12:52 modules.ccwmap
-rw-r--r-- 1 root root 269490 2007-09-06 12:52 modules.dep
-rw-r--r-- 1 root root 73 2007-09-06 12:52 modules.ieee1394map
-rw-r--r-- 1 root root 375 2007-09-06 12:52 modules.inputmap
-rw-r--r-- 1 root root 13633 2007-09-06 12:52 modules.isapnpmap
-rw-r--r-- 1 root root 74 2007-09-06 12:52 modules.ofmap
-rw-r--r-- 1 root root 233332 2007-09-06 12:52 modules.pcimap
-rw-r--r-- 1 root root 841 2007-09-06 12:52 modules.seriomap
-rw-r--r-- 1 root root 122342 2007-09-06 12:52 modules.symbols
-rw-r--r-- 1 root root 332143 2007-09-06 12:52 modules.usbmap
drwxr-xr-x 2 root root 4096 2007-09-06 12:15 net
lrwxrwxrwx 1 root root 5 2007-09-05 16:09 source -> build
drwxr-xr-x 2 root root 4096 2007-08-13 10:25 updates
drwxr-xr-x 2 root root 4096 2007-08-13 10:25 weak-updates
OOOOOHH i see the problem now i've bin installing to /lib/modules/2.6.22.4-65.fc7/net but when i go to modprobe ath_pci it looks in /lib/modules/2.6.20-2931.fc7xen/net i think thats a problem. Thanks for sticking with me on this
- 09-06-2007 #39
The problem is you are building your module while in 2.6.20-2931.fc7xen, but "build is pointing to 2.6.22.4-65.fc7-x86_64.You need to go back to where I showed you how to delete the symlink "build" and make a new one. Just like what I showed you before. If you'll do this, you'll likely get it compiled right and you can move on. Nothing will happen until you correct the symlink "build" and have it pointing back to kernel 2.6.20-2931.fc7xen instead of 2.6.22.4-65.fc7-x86_64.
- 09-06-2007 #40Just Joined!
- Join Date
- Sep 2007
- Location
- Canada
- Posts
- 38
i think i said it before but i don't have that kernel folder i only /usr/src/kernels/2.6.22.4-65.fc7-x86_64 thats all i'll look around my computer for another one but i didn't have this either there was no kernels folder before you got me to update my kernel. your right though about the symlick this is what it is: /lib/modules/2.6.20-2931.fc7xen/build/2.6.22.4-65.fc7-x86_64


Reply With Quote
