Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132312 - request madwifi-ng OpenHAL for linux
Summary: request madwifi-ng OpenHAL for linux
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-04 23:19 UTC by GNUtoo
Modified: 2006-05-20 11:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GNUtoo 2006-05-04 23:19:15 UTC
hello
i am actualy running madwifi net-wireless/madwifi-ng-0.1443.20060207 with OpenHAL

i'll post the ebuild and the patch

i haven't tested the combinaison with amrr and onoe yet
Comment 1 GNUtoo 2006-05-04 23:22:09 UTC
oops i have forgoten to aply a patch
Comment 2 GNUtoo 2006-05-04 23:22:37 UTC
changed to later
Comment 3 GNUtoo 2006-05-20 07:49:57 UTC
i don't understand i can't compile it
Comment 4 GNUtoo 2006-05-20 07:54:19 UTC
if someone else want to try to make this ebuild instead of me,post here
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-20 07:58:34 UTC
I don't see what are you requesting in the first place. Kindly post some link and description.
Comment 6 GNUtoo 2006-05-20 08:11:35 UTC
so i will describe what is openHAL port to linux and the rationale behind it:
Mawiwifi driver use a binary hal by default,wile this isn't a problem for some people it can be for others,gentoo is about choice and so it would be great if we are able to choose between the open-source and the proprietary versions

OpenHal is a reverse engenered HAL for OpenBSD but it was ported to linux:
http://pdos.csail.mit.edu/~jbicket/openhal/

There is also another native option but it doesn't work yet(beeing able to transmit data)
http://ath-driver.org/
Comment 7 GNUtoo 2006-05-20 08:17:05 UTC
by the way the problem is the folowing:
i unpack and then add the openhal directory and monify the Makefile.inc
then:

# ebuild madwifi-ng-0.1443.20060207.ebuild compile
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking madwifi-ng-r1443-20060207.tar.gz ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16-gentoo-r7
 * Checking for suitable kernel configuration options:
>>> Checking madwifi-ng-r1443-20060207.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> Compiling source in /var/tmp/portage/madwifi-ng-0.1443.20060207/work/madwifi-ng-r1443-20
060207 ...
The following settings will be used for compilation:
TARGET       : i386-elf
OS           : linux
ARCH         : x86
BUS          : PCI
KERNELRELEASE: 2.6.16-gentoo-r7
KERNELPATH   : /usr/src/linux
KERNELCONF   : /usr/src/linux/.config
MODULEPATH   : /lib/modules/2.6.16-gentoo-r7/net
KMODSUF      : ko
/bin/sh: svnversion: command not found
echo -n '#define SVNVERSION "' > svnversion.h
if [ -d .svn ]; then \
        echo -n "" >> svnversion.h; \
else \
        echo -n "2006-05-20" >> svnversion.h; \
fi
echo '"' >> svnversion.h
 * Preparing ath_hal module
/usr/bin/uudecode ../openhal/public/i386-elf.hal.o.uu
/usr/bin/uudecode: ../openhal/public/i386-elf.hal.o.uu: No such file or directory
make: *** [hal.o] Error 1

!!! ERROR: net-wireless/madwifi-ng-0.1443.20060207 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  madwifi-ng-0.1443.20060207.ebuild, line 82:   Called linux-mod_src_compile
  linux-mod.eclass, line 515:   Called die

!!! Unable to make                                  KERNELPATH=/usr/src/linux ATH_RATE=ath_r                               ate/sample all.
!!! If you need support, post the topmost build error, and the call stack if relevant.

and make(in the main directory not in openhal's one)
# make
/bin/sh: svnversion: command not found
echo -n '#define SVNVERSION "' > svnversion.h
if [ -d .svn ]; then \
        echo -n "" >> svnversion.h; \
else \
        echo -n "2006-05-20" >> svnversion.h; \
fi
echo '"' >> svnversion.h
Checking requirements... ok.
Checking kernel configuration... ok.
mkdir -p ./symbols
for i in ./openhal ./net80211 ath_rate/sample ./ath; do \
        make -C $i || exit 1; \
done
make[1]: Entering directory `/var/tmp/portage/madwifi-ng-0.1443.20060207/work/madwifi-ng-r1443-20060207/openhal'
make -C /lib/modules/2.6.16-gentoo-r7/build SUBDIRS=/var/tmp/portage/madwifi-ng-0.1443.20060207/work/madwifi-ng-r1443-20060207/openhal MODVERDIR=/var/tmp/portage/madwifi-ng-0.1443.20060207/work/madwifi-ng-r1443-20060207/openhal/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.16-gentoo-r7'
/var/tmp/portage/madwifi-ng-0.1443.20060207/work/madwifi-ng-r1443-20060207/openhal/../Makefile.inc:228: *** TARGET i386-elf is invalid, valid targets are: .  Stop.
make[2]: *** [_module_/var/tmp/portage/madwifi-ng-0.1443.20060207/work/madwifi-ng-r1443-20060207/openhal] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/madwifi-ng-0.1443.20060207/work/madwifi-ng-r1443-20060207/openhal'
make: *** [modules] Error 1
Comment 8 Henrik Brix Andersen 2006-05-20 10:08:17 UTC
(In reply to comment #6)
> OpenHal is a reverse engenered HAL for OpenBSD but it was ported to linux:
> http://pdos.csail.mit.edu/~jbicket/openhal/

Reverse engineering is questionable, likely illegal - and the OpenHAL is certainly not supported by madwifi upstream.

Resolving as WONTFIX.
Comment 9 GNUtoo 2006-05-20 11:21:50 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > OpenHal is a reverse engenered HAL for OpenBSD but it was ported to linux:
> > http://pdos.csail.mit.edu/~jbicket/openhal/
> 
> Reverse engineering is questionable, likely illegal - and the OpenHAL is
> certainly not supported by madwifi upstream.
> 
> Resolving as WONTFIX.
> 
while you are right on the fact that it isn't suported upstream, i don't think that this project is illegal because it's only a PORT to linuc of the OpenHAL,the OpenHAL was part of the OpenBSD project
Comment 10 GNUtoo 2006-05-20 11:22:51 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > OpenHal is a reverse engenered HAL for OpenBSD but it was ported to linux:
> > http://pdos.csail.mit.edu/~jbicket/openhal/
> 
> Reverse engineering is questionable, likely illegal - and the OpenHAL is
> certainly not supported by madwifi upstream.
> 
> Resolving as WONTFIX.
> 
while you are right on the fact that it isn't suported upstream, i don't think that this project is illegal because it's only a PORT to linuc of the OpenHAL,the OpenHAL was part of the OpenBSD project
Comment 11 GNUtoo 2006-05-20 11:23:38 UTC
the doubble post was a bug from firefox