I wrote these ebuilds because of my atheros wireless lan card build in my new laptop which isn't supported by the last stable madwifi-ng ebuild. At time of write this it was net-wireless/madwifi-ng-0.9.4. These ebuilds compiles and installs the latest madwifi kernel modules and tools (at time of writing 0.10.5.6) which supports my AR5007EG wlan card of atheros which is mistaken reported as a AR5006EG. The kernel modules compile well against the latest stable gentoo kernel source (2.6.25-r7 on amd64). Reproducible: Always
Created attachment 162392 [details] net-wireless/madwifi-ng-0.10.5.6
Created attachment 162393 [details, diff] Goes to net-wireless/madwifi-ng-0.10.5.6/files/
Created attachment 162394 [details] net-wireless/madwifi-ng-tools-0.10.5.6
See also http://madwifi.org/ticket/1192
Upstream is getting ready to release 0.9.4.1, which, unfortunately does not have the 10.5.6 hal in it, trunk is using it, but trunk is too unstable for production/normal use aside from developers who are actually working on it. I realize that your card might work with it, but not all peoples do (personally I know two where it doesn't and they are also eagerly awaiting a release that does as well) I would be hesitant to put this into portage. I have always preferred to stay with upstream as much as possible. Perhaps you could check out trunk and see how stable it is for you. Unfortunately I haven't had a ton of time lately, and my current backlog of mails is starting to pile up into the 1-2k mark.
Works for me on an Acer Aspire One. 03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01) Subsystem: Foxconn International, Inc. Device e008 Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at 35200000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 2 Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable- Capabilities: [60] Express Legacy Endpoint, MSI 00 Capabilities: [90] MSI-X: Enable- Mask- TabSize=1 Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Virtual Channel <?> Kernel driver in use: ath_pci Kernel modules: ath_pci
Created attachment 165093 [details] New ebuild new updated ebuild for snapshot madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
Created attachment 165094 [details, diff] Version patch for madwifi-hal-0.10.5.6-r3861-20080903
Created attachment 165095 [details] New ebuild New ebuild for snapshot madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
Created attachment 186178 [details] madwifi-ng-0.10.5.6-r3942.ebuild
Created attachment 186179 [details] madwifi-ng-tools-0.10.5.6-r3942.ebuild
diff -Nu ./madwifi-ng-0.10.5.6-r3861.ebuild ./madwifi-ng-0.10.5.6-r3942.ebuild --- ./madwifi-ng-0.10.5.6-r3861.ebuild 2009-03-25 10:02:40.000000000 +0300 +++ ./madwifi-ng-0.10.5.6-r3942.ebuild 2009-03-25 09:32:18.000000000 +0300 @@ -4,14 +4,14 @@ inherit linux-mod -MADWIFI_HAL_SNAPSHOT=20080903 +MADWIFI_HAL_SNAPSHOT=20090205 MY_PVR=${PN/-ng/-hal}-${PV}-${PR}-${MADWIFI_HAL_SNAPSHOT} MY_PV=${P/-ng/-hal} S="${WORKDIR}"/${MY_PVR} DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards" HOMEPAGE="http://www.madwifi.org/" -SRC_URI="http://snapshots.madwifi.org/${MY_PV}/${MY_PVR}.tar.gz" +SRC_URI="http://snapshots.madwifi-project.org/${MY_PV}/${MY_PVR}.tar.gz" LICENSE="atheros-hal || ( BSD GPL-2 )" @@ -24,7 +24,8 @@ net-wireless/wireless-tools =net-wireless/madwifi-ng-tools-${PVR}" -CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD" +CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL" +kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD" ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)." ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions" ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
(In reply to comment #11) > Created an attachment (id=186179) [edit] > madwifi-ng-tools-0.10.5.6-r3942.ebuild > Ilya, thanks for the ebuilds. I did not know madwifi moved to http://snapshots.madwifi-project.org from http://snapshots.madwifi.org as their http://madwifi.org/ homepage contains therefore only broken links. However, a small fix to this ebuild: --- madwifi-ng-tools-0.10.5.6-r3942.ebuild.old 2009-03-25 14:29:50.000000000 +0100 +++ madwifi-ng-tools-0.10.5.6-r3942.ebuild 2009-03-25 14:30:01.000000000 +0100 @@ -4,7 +4,7 @@ inherit toolchain-funcs -MADWIFI_HAL_SNAPSHOT=r3835-20080801 +MADWIFI_HAL_SNAPSHOT=r3942-20090205 MY_PVR=${PN/-ng-tools/-hal}-${PV}-${MADWIFI_HAL_SNAPSHOT} MY_PV=${P/-ng-tools/-hal}
Created attachment 186316 [details] madwifi-ng-tools-0.10.5.6-r3942.ebuild
(In reply to comment #13) > (In reply to comment #11) > > Created an attachment (id=186179) [edit] > > madwifi-ng-tools-0.10.5.6-r3942.ebuild > > > Oops, the ebuild fixed. Thanks, Martin!
(In reply to comment #15) > Oops, the ebuild fixed. Thanks, Martin! > >>> Install madwifi-ng-0.10.5.6-r3942 into /var/tmp/portage/net-wireless/madwifi-ng-0.10.5.6-r3942/image/ category net-wireless * Installing ath_hal module * Installing wlan module * Installing wlan_acl module * Installing wlan_ccmp module * Installing wlan_tkip module * Installing wlan_wep module * Installing wlan_xauth module * Installing wlan_scan_sta module * Installing wlan_scan_ap module * Installing ath_rate_amrr module * Installing ath_rate_onoe module * Installing ath_rate_sample module * Installing ath_rate_minstrel module * Installing ath_pci module * Preparing file for modules.d ... [ ok ] !!! dodoc: docs/users-guide.pdf does not exist !!! dodoc: docs/WEP-HOWTO.txt does not exist >>> Completed installing madwifi-ng-0.10.5.6-r3942 into /var/tmp/portage/net-wireless/madwifi-ng-0.10.5.6-r3942/image/
I created, with the help of old ebuilds, new svn ebuild for the madwifi-hal-testing branch. Filed under http://bugs.gentoo.org/show_bug.cgi?id=266230. regards, Sebastian
Upstream bug was closed with: HAL 0.10.5.6 won't be used in any future MadWifi release. Firstly, it has been superseded by other HAL releases. Secondly, future releases of MadWifi with significant changes are unlikely, because we don't have another manpower for that. Finally, this ticket has become a soapbox full of issues that are unrelated to the original problem. The ticket is now closed. Please refrain from adding more comments. For support questions please use our regular support channels. I'm inclined to close this bug as wontfix.
*** Bug 266230 has been marked as a duplicate of this bug. ***
Atheros 5xxx working stability in mode "Master" only with this version (0.10..6-r4100) madwifi-ng. With version 0.9.4* my PC become buzzing and require press Reset (acpid not responding).
Finally closing. See bug 266230 for madwifi-ng-testing.