Podrška #13740
Zatvorenhardy madwifi wireless driver - acer aspire 7520
80%
Opis
na kraju koristim drajever i 2.4.19-generic kernela ?
ili ne koristim ??
hernad@nmraka-1:/lib/modules/2.6.24-19-generic$ dpkg -S ath_pci.ko
linux-restricted-modules-2.6.24-19-generic: /lib/modules/2.6.24-19-generic/madwifi/ath_pci.ko
hernad@nmraka-1:~$ modinfo ath_pci | grep /lib
filename: /lib/modules/2.6.24-19-generic/net/ath_pci.ko
Fajlovi
Povezani tiketi 2 (0 otvoreno — 2 zatvorenih)
Izmjenjeno od Ernad Husremović prije skoro 17 godina
- Kategorija postavljeno na hardware
Izmjenjeno od Ernad Husremović prije skoro 17 godina
dpkg-checkbuilddeps: Unmet build dependencies: linux-headers-2.6.24-hernad1-server linux-headers-2.6.24-hernad1-generic linux-headers-2.6.24-hernad1-rt linux-headers-2.6.24-hernad1-xen
hernad@nmraka-1:/data/home/hernad/devel/ubuntu/hardy/linux-restricted-modules-2.6.24-2.6.24.11$ rm -r -f debian/build
hernad@nmraka-1:/data/home/hernad/devel/ubuntu/hardy/linux-restricted-modules-2.6.24-2.6.24.11$ dpkg-buildpackage -d
pa sam ažurirao changelog ponovo
dch -i
linux-restricted-modules-2.6.24 (2.6.24.11-12.32) hardy; urgency=low * hernad-1 ne ide
rm debian/control.stub
rm debian/control
i kreira se debian/control novi
=> uklonio patch:
... madwifi/patches$ rm 3-changeset_r2815-sysctl-support-2.6.24.diff
pravimo novi deb
dpkg-buildpackage -b
Izmjenjeno od Ernad Husremović prije skoro 17 godina
=> između ostalih:rw-r--r- 1 hernad hernad 14911156 2008-03-30 14:56 linux-restricted-modules-2.6.24-12-generic_2.6.24.11-12.32_amd64.deb
Izmjenjeno od Ernad Husremović prije skoro 17 godina
hernad@nmraka-1:/data/home/hernad/devel/ubuntu/hardy$ dpkg -L linux-restricted-modules-2.6.24-12-generic | grep ath
/lib/modules/2.6.24-12-generic/madwifi/ath_rate_sample.ko /lib/modules/2.6.24-12-generic/madwifi/ath_rate_minstrel.ko /lib/modules/2.6.24-12-generic/madwifi/ath_rate_onoe.ko /lib/modules/2.6.24-12-generic/madwifi/ath_pci.ko /lib/modules/2.6.24-12-generic/madwifi/ath_rate_amrr.ko /lib/linux-restricted-modules/2.6.24-12-generic/ath_hal /lib/linux-restricted-modules/2.6.24-12-generic/ath_hal/x86_64-elf.hal.o /lib/linux-restricted-modules/2.6.24-12-generic/ath_hal/ah_os.o /lib/linux-restricted-modules/2.6.24-12-generic/ath_hal/ath_hal.mod.o
Izmjenjeno od Ernad Husremović prije skoro 17 godina
nakon restarta
hernad@nmraka-1:~$ dmesg | grep wifi
[ 39.850513] wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)
Izmjenjeno od Ernad Husremović prije skoro 17 godina
Izmjenjeno od Ernad Husremović prije više od 16 godina
ovo sada radi, ali pojma nemam kako je proradilo, update kernela ?
hernad@nmraka-1:~/devel/git/redmine-1.bring.out.ba/alarm$ dmesg | grep -i ath
[ 14.130478] CPU0: AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 stepping 01 [ 14.221095] CPU1: AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 stepping 01 [ 32.898518] ath_hal: 0.10.2.2-ATHEROS (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425) [ 33.070851] ath_pci: trunk [ 33.576945] MadWifi: ath_attach: Switching rfkill capability off [ 33.629194] ath_rate_sample: 1.2 (trunk) [ 33.629371] MadWifi: ath_attach: Switching per-packet transmit power control off [ 33.629774] wifi0: ath_announce: Use hw queue 1 for WME_AC_BE traffic [ 33.629776] wifi0: ath_announce: Use hw queue 0 for WME_AC_BK traffic [ 33.629778] wifi0: ath_announce: Use hw queue 2 for WME_AC_VI traffic [ 33.629781] wifi0: ath_announce: Use hw queue 3 for WME_AC_VO traffic [ 33.629783] wifi0: ath_announce: Use hw queue 8 for CAB traffic [ 33.629786] wifi0: ath_announce: Use hw queue 9 for beacons [ 33.757375] ath_pci: wifi0: Atheros 5424/2424: mem=0xf2200000, irq=21
Izmjenjeno od Ernad Husremović prije više od 16 godina
hm vidim dva drajvera ?
hernad@nmraka-1:/lib/modules/2.6.24-19-generic/madwifi$ modinfo ath_pci.ko
filename: ath_pci.ko license: Dual BSD/GPL version: 0.9.4 description: Support for Atheros 802.11 wireless LAN cards. author: Errno Consulting, Sam Leffler srcversion: D3FD3BD11169A96DBCFF8DE alias: pci:v0000168Cd00009013sv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i* alias: pci:v0000168Cd00000019sv*sd*bc*sc*i* alias: pci:v0000168Cd00000018sv*sd*bc*sc*i* alias: pci:v0000168Cd00000017sv*sd*bc*sc*i* alias: pci:v0000168Cd00000016sv*sd*bc*sc*i* alias: pci:v0000168Cd00000015sv*sd*bc*sc*i* alias: pci:v0000168Cd0000101Asv*sd*bc*sc*i* alias: pci:v0000168Cd00001014sv*sd*bc*sc*i* alias: pci:v000010B7d00000013sv*sd*bc*sc*i* alias: pci:v0000A727d00000013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000012sv*sd*bc*sc*i* alias: pci:v0000168Cd00000007sv*sd*bc*sc*i* depends: ath_hal,wlan vermagic: 2.6.24-19-generic SMP mod_unload 586 parm: countrycode:Override default country code (int) parm: maxvaps:Maximum VAPs (int) parm: outdoor:Enable/disable outdoor use (int) parm: xchanmode:Enable/disable extended channel mode (int) parm: rfkill:Enable/disable RFKILL capability (int) parm: autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp) parm: ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to 'sample' (charp) parm: ath_debug:Load-time debug output enable (int)
hernad@nmraka-1:/lib/modules/2.6.24-19-generic/net$ modinfo ath_pci.ko
filename: ath_pci.ko license: Dual BSD/GPL version: trunk description: Support for Atheros 802.11 wireless LAN cards. author: Errno Consulting, Sam Leffler srcversion: EF5714FF89F840AB57EB838 alias: pci:v0000168Cd00009013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000024sv*sd*bc*sc*i* alias: pci:v0000168Cd00000023sv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i* alias: pci:v0000168Cd00000019sv*sd*bc*sc*i* alias: pci:v0000168Cd00000018sv*sd*bc*sc*i* alias: pci:v0000168Cd00000017sv*sd*bc*sc*i* alias: pci:v0000168Cd00000016sv*sd*bc*sc*i* alias: pci:v0000168Cd00000015sv*sd*bc*sc*i* alias: pci:v0000168Cd0000101Asv*sd*bc*sc*i* alias: pci:v0000168Cd00001014sv*sd*bc*sc*i* alias: pci:v000010B7d00000013sv*sd*bc*sc*i* alias: pci:v0000A727d00000013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000012sv*sd*bc*sc*i* alias: pci:v0000168Cd00000007sv*sd*bc*sc*i* depends: ath_hal,wlan vermagic: 2.6.24-19-generic SMP mod_unload 586 parm: beacon_cal:int parm: countrycode:Override default country code (int) parm: maxvaps:Maximum VAPs (int) parm: outdoor:Enable/disable outdoor use (int) parm: xchanmode:Enable/disable extended channel mode (int) parm: rfkill:Enable/disable RFKILL capability (int) parm: tpc:Enable/disable per-packet transmit power control (TPC) capability (int) parm: autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp) parm: ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to 'sample' (charp) parm: ath_debug:Load-time driver debug output enable (int) parm: ieee80211_debug:Load-time 802.11 debug output enable (int)
Izmjenjeno od Ernad Husremović prije više od 16 godina
- % završeno promijenjeno iz 0 u 50
Izmjenjeno od Ernad Husremović prije više od 16 godina
koristi se trunk
hernad@nmraka-1:~$ modinfo ath_pci
filename: /lib/modules/2.6.24-19-generic/net/ath_pci.ko license: Dual BSD/GPL version: trunk description: Support for Atheros 802.11 wireless LAN cards. author: Errno Consulting, Sam Leffler srcversion: EF5714FF89F840AB57EB838
Izmjenjeno od Ernad Husremović prije više od 16 godina
arhiviraću ovaj madwifi, ukloniti dir pa restartovati računar
hernad@nmraka-1:/lib/modules/2.6.24-19-generic$ sudo tar cvfz madwifi.tar.gz madwifi
Izmjenjeno od Ernad Husremović prije više od 16 godina
- Naslov promijenjeno iz hardy restricted modules build - madwifi 0.9.4 u hardy madwifi wireless driver - acer aspire 7520
Izmjenjeno od Ernad Husremović prije više od 16 godina
ovo sam ja buildao 04.07.08
hernad@nmraka-1:/lib/modules/2.6.24-19-generic/net$ ls -l
total 6104 -rw-r--r-- 1 root root 424316 2008-07-04 00:14 ath_hal.ko -rw-r--r-- 1 root root 1039069 2008-07-04 00:14 ath_pci.ko -rw-r--r-- 1 root root 192606 2008-07-04 00:14 ath_rate_amrr.ko -rw-r--r-- 1 root root 219228 2008-07-04 00:14 ath_rate_minstrel.ko -rw-r--r-- 1 root root 189241 2008-07-04 00:14 ath_rate_onoe.ko -rw-r--r-- 1 root root 216467 2008-07-04 00:14 ath_rate_sample.ko -rw-r--r-- 1 root root 159257 2008-07-04 00:14 wlan_acl.ko -rw-r--r-- 1 root root 181498 2008-07-04 00:14 wlan_ccmp.ko -rw-r--r-- 1 root root 2670437 2008-07-04 00:14 wlan.ko -rw-r--r-- 1 root root 180437 2008-07-04 00:14 wlan_scan_ap.ko -rw-r--r-- 1 root root 193112 2008-07-04 00:14 wlan_scan_sta.ko -rw-r--r-- 1 root root 187683 2008-07-04 00:14 wlan_tkip.ko -rw-r--r-- 1 root root 165729 2008-07-04 00:14 wlan_wep.ko -rw-r--r-- 1 root root 147141 2008-07-04 00:14 wlan_xauth.ko
Izmjenjeno od Ernad Husremović prije više od 16 godina
ali bilješki/ticketa o tome nigdje ... hah sjetio sam se, pa to sam pokušao odmah instalirati kada sam instalirao ovu sesiju, i to sam stavio u install.txt na ovoj mašini
hernad@nmraka-1:~$ sudo apt-get install madwifi-tools
http://ubuntuforums.org/showthread.php?t=701533
hernad@nmraka-1:~/ubuntu$ sudo apt-get install build-essential
hernad@nmraka-1:~/ubuntu$ wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
hernad@nmraka-1:~/ubuntu/madwifi-ng-r2756+ar5007/scripts$ sudo ./madwifi-unload
Unloading "ath_pci" Unloading "wlan" Unloading "ath_hal"
hernad@nmraka-1:~/ubuntu/madwifi-ng-r2756+ar5007/scripts$ sudo ./find-madwifi-modules.sh $(uname -r)
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
hernad@nmraka-1:~/ubuntu/madwifi-ng-r2756+ar5007$ sudo make
CC [M] /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath/if_ath.o CC [M] /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath/if_ath_pci.o LD [M] /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath/ath_pci.o CC [M] /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath_hal/ah_os.o HOSTCC /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath_hal/uudecode UUDECODE /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath_hal/i386-elf.hal.o LD [M] /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath_hal/ath_hal.o CC [M] /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath_rate/amrr/amrr.o LD [M] /home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath_rate/amrr/ath_rate_amrr.o ... hernad@nmraka-1:~/ubuntu/madwifi-ng-r2756+ar5007$ sudo make install Checking requirements... ok. Checking kernel configuration... ok. make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/hernad/ubuntu/madwifi-ng-r2756+ar5007 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic' Building modules, stage 2. MODPOST 14 modules make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic' sh scripts/find-madwifi-modules.sh -r 2.6.24-19-generic for i in ./ath ./ath_hal ./ath_rate ./net80211; do \ make -C $i install || exit 1; \ done make[1]: Entering directory `/home/hernad/ubuntu/madwifi-ng-r2756+ar5007/ath' test -d //lib/modules/2.6.24-19-generic/net || mkdir -p //lib/modules/2.6.24-19-generic/net install ath_pci.ko //lib/modules/2.6.24-19-generic/net
međutim ovu poruku sam imao:
[ 1490.220839] MadWifi: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)
uzeo sam patch ali se ispostavilo da je sourcu koji sam builda već patchiran
hernad@nmraka-1:~/ubuntu$ wget http://madwifi.org/attachment/ticket/1679/I-did-not-read-the-ticket_madwifi-ng-r3365.ar2425.20080227.i386.patch?format=raw
Izmjenjeno od Ernad Husremović prije više od 16 godina
- Fajl I-did-not-read-the-ticket_madwifi-ng-r3365.ar2425.20080227.i386.patch I-did-not-read-the-ticket_madwifi-ng-r3365.ar2425.20080227.i386.patch dodano
- Fajl madwifi-hal-0.10.5.6-r3698-20080604.tar.gz madwifi-hal-0.10.5.6-r3698-20080604.tar.gz dodano
- Fajl madwifi-ng-r2756_ar5007.tar.gz madwifi-ng-r2756_ar5007.tar.gz dodano
- Fajl madwifi-ng-r3366_ar5007.tar.gz madwifi-ng-r3366_ar5007.tar.gz dodano
- Fajl madwifi-ng-txpower-current.tar.gz madwifi-ng-txpower-current.tar.gz dodano
- Fajl madwifi-trunk-r3747-20080701.tar.gz madwifi-trunk-r3747-20080701.tar.gz dodano
Izmjenjeno od Ernad Husremović prije više od 16 godina
brzina je ok:
hernad@nmraka-1:/tmp/test$ scp root@smraka-1:/vz/template/cache/* .
ubuntu-6.06.1-i386.tar.gz 87% 76MB 2.4MB/s 00:04 ETAh
Izmjenjeno od Ernad Husremović prije više od 16 godina
madwifi r3837¶
hernad@nmraka-1:~/ubuntu$ wget http://snapshots.madwifi.org/madwifi-trunk/madwifi-trunk-r3837-20080802.tar.gz
hernad@nmraka-1:~/ubuntu/madwifi-trunk-r3837-20080802$ sudo make install
Checking requirements... ok. Checking kernel configuration... ok. make -C /lib/modules/2.6.24-19-openvz/build SUBDIRS=/data/home_1/hernad/ubuntu/madwifi-trunk-r3837-20080802 modules
Izmjenjeno od Ernad Husremović prije više od 16 godina
ovo na openvz i dalje ne radi, možda trebam i ovaj madwifi-hal ?
hernad@nmraka-1:~/ubuntu/madwifi-hal-0.10.5.6-r3698-20080604$ sudo make install
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:~/ubuntu/madwifi-hal-0.10.5.6-r3698-20080604$ sudo /etc/init.d/udev restart
* Loading additional hardware drivers... [ OK ]
opet ništa ...
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:/etc/udev/rules.d$ dmesg | grep ath
[ 36.112267] ath_pci: HAL doesn't support MAC revision 0xe2
Izmjenjeno od Ernad Husremović prije više od 16 godina
hernad@nmraka-1:/lib/linux-restricted-modules$ find -name "ath*"
./2.6.24-19-openvz/ath_hal ./2.6.24-19-openvz/ath_hal/ath_hal.mod.o ./2.6.24-19-generic/ath_hal ./2.6.24-19-generic/ath_hal/ath_hal.mod.o
Izmjenjeno od Ernad Husremović prije više od 16 godina
smetaju li ovi drajveri
hernad@nmraka-1:/lib/linux-restricted-modules$ sudo tar cvfz ath_hal.tar.gz */ath_hal
2.6.24-19-generic/ath_hal/ 2.6.24-19-generic/ath_hal/i386-elf.hal.o 2.6.24-19-generic/ath_hal/ath_hal.mod.o 2.6.24-19-generic/ath_hal/ah_os.o 2.6.24-19-openvz/ath_hal/ 2.6.24-19-openvz/ath_hal/i386-elf.hal.o 2.6.24-19-openvz/ath_hal/ath_hal.mod.o 2.6.24-19-openvz/ath_hal/ah_os.o
hernad@nmraka-1:/lib/linux-restricted-modules$ sudo rm -r -f */ath_hal
Izmjenjeno od Ernad Husremović prije više od 16 godina
novi hal r3835-20080801 koji odgovara madwifi drajveru¶
hernad@nmraka-1:~/ubuntu$ wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3835-20080801.tar.gz
hernad@nmraka-1:~/ubuntu/madwifi-hal-0.10.5.6-r3835-20080801$ sudo make install
Checking requirements... ok. Checking kernel configuration... ok. make -C /lib/modules/2.6.24-19-openvz/build SUBDIRS=/data/home_1/hernad/ubuntu/madwifi-hal-0.10.5.6-r3835-20080801 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-openvz' ...
hernad@nmraka-1:~/ubuntu/madwifi-hal-0.10.5.6-r3835-20080801$ sudo madwifi-unload
hernad@nmraka-1:~/ubuntu/madwifi-hal-0.10.5.6-r3835-20080801$ sudo modprobe ath_hal
hernad@nmraka-1:~/ubuntu/madwifi-hal-0.10.5.6-r3835-20080801$ sudo modprobe ath_pci
sad je ok !
dmesg
... [ 201.503908] ath_pci: HAL doesn't support MAC revision 0xe2 [ 201.503924] ACPI: PCI interrupt for device 0000:05:00.0 disabled [ 340.151014] AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) [ 341.957372] ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [LK4E] -> GSI 19 (level, low) -> IRQ 21 [ 341.957389] PCI: Setting latency timer of device 0000:05:00.0 to 64 [ 342.363680] MadWifi: ath_attach: Switching rfkill capability off. [ 342.403361] wifi0: Atheros AR2425 chip found (MAC 14.2, PHY SChip 7.0, Radio 10.2) [ 342.463267] ath_pci: wifi0: Atheros 5424/2424: mem=0xf2200000, irq=21
Izmjenjeno od Ernad Husremović prije više od 16 godina
- % završeno promijenjeno iz 50 u 80
Izmjenjeno od Ernad Husremović prije oko 16 godina
- Status promijenjeno iz Dodijeljeno u Zastarjelo