Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234126 - net-wireless/madwifi-ng-0.10.5.6: New ebuild (Atheros AR5007EG supported)
Summary: net-wireless/madwifi-ng-0.10.5.6: New ebuild (Atheros AR5007EG supported)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Other Linux
: High enhancement (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL: http://madwifi.org/ticket/1192
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-06 20:19 UTC by Stephan Haller
Modified: 2010-03-12 06:17 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-wireless/madwifi-ng-0.10.5.6 (madwifi-ng-0.10.5.6.ebuild,3.24 KB, text/plain)
2008-08-06 20:20 UTC, Stephan Haller
Details
Goes to net-wireless/madwifi-ng-0.10.5.6/files/ (madwifi-hal-0.10.5.6-r3835-20080801-release_header_fix.patch,582 bytes, patch)
2008-08-06 20:21 UTC, Stephan Haller
Details | Diff
net-wireless/madwifi-ng-tools-0.10.5.6 (madwifi-ng-tools-0.10.5.6.ebuild,1.98 KB, text/plain)
2008-08-06 20:21 UTC, Stephan Haller
Details
New ebuild (madwifi-ng-0.10.5.6-r3861.ebuild,3.26 KB, text/plain)
2008-09-10 11:08 UTC, Sandino Araico Sanchez
Details
Version patch for madwifi-hal-0.10.5.6-r3861-20080903 (madwifi-hal-0.10.5.6-r3861-20080903-release_header_fix.patch,582 bytes, patch)
2008-09-10 11:10 UTC, Sandino Araico Sanchez
Details | Diff
New ebuild (madwifi-ng-tools-0.10.5.6-r3861.ebuild,2.00 KB, text/plain)
2008-09-10 11:11 UTC, Sandino Araico Sanchez
Details
madwifi-ng-0.10.5.6-r3942.ebuild (madwifi-ng-0.10.5.6-r3942.ebuild,3.32 KB, text/plain)
2009-03-25 07:08 UTC, Ilya Kashirin
Details
madwifi-ng-tools-0.10.5.6-r3942.ebuild (madwifi-ng-tools-0.10.5.6-r3942.ebuild,2.00 KB, text/plain)
2009-03-25 07:09 UTC, Ilya Kashirin
Details
madwifi-ng-tools-0.10.5.6-r3942.ebuild (madwifi-ng-tools-0.10.5.6-r3942.ebuild,2.01 KB, text/plain)
2009-03-26 10:37 UTC, Ilya Kashirin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Haller 2008-08-06 20:19:15 UTC
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
Comment 1 Stephan Haller 2008-08-06 20:20:00 UTC
Created attachment 162392 [details]
net-wireless/madwifi-ng-0.10.5.6
Comment 2 Stephan Haller 2008-08-06 20:21:01 UTC
Created attachment 162393 [details, diff]
Goes to net-wireless/madwifi-ng-0.10.5.6/files/
Comment 3 Stephan Haller 2008-08-06 20:21:24 UTC
Created attachment 162394 [details]
net-wireless/madwifi-ng-tools-0.10.5.6
Comment 4 Stephan Haller 2008-08-06 20:23:00 UTC
See also http://madwifi.org/ticket/1192
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2008-08-07 18:31:09 UTC
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.
Comment 6 Sandino Araico Sanchez 2008-09-10 09:16:50 UTC
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
Comment 7 Sandino Araico Sanchez 2008-09-10 11:08:40 UTC
Created attachment 165093 [details]
New ebuild

new updated ebuild for snapshot madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
Comment 8 Sandino Araico Sanchez 2008-09-10 11:10:03 UTC
Created attachment 165094 [details, diff]
Version patch for madwifi-hal-0.10.5.6-r3861-20080903
Comment 9 Sandino Araico Sanchez 2008-09-10 11:11:44 UTC
Created attachment 165095 [details]
New ebuild

New ebuild for snapshot madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
Comment 10 Ilya Kashirin 2009-03-25 07:08:00 UTC
Created attachment 186178 [details]
madwifi-ng-0.10.5.6-r3942.ebuild
Comment 11 Ilya Kashirin 2009-03-25 07:09:18 UTC
Created attachment 186179 [details]
madwifi-ng-tools-0.10.5.6-r3942.ebuild
Comment 12 Ilya Kashirin 2009-03-25 07:10:10 UTC
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)."
Comment 13 Martin Mokrejš 2009-03-25 13:34:33 UTC
(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}
 
Comment 14 Ilya Kashirin 2009-03-26 10:37:59 UTC
Created attachment 186316 [details]
madwifi-ng-tools-0.10.5.6-r3942.ebuild
Comment 15 Ilya Kashirin 2009-03-26 10:39:24 UTC
(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!
Comment 16 Martin Mokrejš 2009-04-07 09:43:26 UTC
(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/
Comment 17 Sebastian Lüttich 2009-04-15 10:25:48 UTC
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
Comment 18 Peter Volkov (RETIRED) gentoo-dev 2009-06-01 14:28:40 UTC
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.
Comment 19 Peter Volkov (RETIRED) gentoo-dev 2009-06-01 17:04:18 UTC
*** Bug 266230 has been marked as a duplicate of this bug. ***
Comment 20 Oschtan 2009-11-26 09:03:23 UTC
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).
Comment 21 Peter Volkov (RETIRED) gentoo-dev 2010-03-12 06:17:00 UTC
Finally closing. See bug 266230 for madwifi-ng-testing.