Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174946 - new ebuild net-wireless/mac80211
Summary: new ebuild net-wireless/mac80211
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-17 18:07 UTC by Dick Marinus
Modified: 2010-08-23 22:09 UTC (History)
6 users (show)

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


Attachments
net-wireless/mac80211-5.1.0.ebuild (mac80211-5.1.0.ebuild,1.09 KB, text/plain)
2007-04-17 18:07 UTC, Dick Marinus
Details
net-wireless/mac80211-7.0.5.ebuild (mac80211-7.0.5.ebuild,1.12 KB, text/plain)
2007-04-23 19:34 UTC, Dick Marinus
Details
net-wireless/mac80211-7.0.5.ebuild (mac80211-7.0.5.ebuild,1.25 KB, text/plain)
2007-04-25 19:36 UTC, Dick Marinus
Details
net-wireless/mac80211-7.0.5.ebuild (mac80211-7.0.5.ebuild,1.38 KB, text/plain)
2007-04-26 19:35 UTC, Dick Marinus
Details
net-wireless/mac80211-7.0.5.ebuild (mac80211-7.0.5.ebuild,1.53 KB, text/plain)
2007-04-27 18:45 UTC, Dick Marinus
Details
net-wireless/mac80211-7.0.5.ebuild (mac80211-7.0.5.ebuild,1.29 KB, text/plain)
2007-04-28 06:34 UTC, Dick Marinus
Details
net-wireless/mac80211-7.0.8.ebuild (mac80211-7.0.8.ebuild,1.29 KB, text/plain)
2007-04-30 15:47 UTC, Dick Marinus
Details
net-wireless/mac80211-7.0.9.ebuild (mac80211-7.0.9.ebuild,1.29 KB, text/plain)
2007-05-01 16:52 UTC, Roman Zimmermann
Details
net-wireless/mac80211-7.0.9.ebuild (mac80211-7.0.9.ebuild,1.29 KB, text/plain)
2007-05-01 17:39 UTC, Roman Zimmermann
Details
Compilation failure log of mac80211 7.0.9 ebuild (log,14.22 KB, text/plain)
2007-05-09 14:23 UTC, Robert Führicht
Details
net-wireless/mac80211-7.0.9.ebuild (mac80211-7.0.9.ebuild,1.34 KB, text/plain)
2007-05-09 16:43 UTC, Dick Marinus
Details
net-wireless/mac80211-7.1.0.ebuild (mac80211-7.1.0.ebuild,1.37 KB, text/plain)
2007-05-13 16:14 UTC, ArYiX
Details
net-wireless/mac80211-7.1.0.ebuild (mac80211-7.1.0.ebuild,1.28 KB, text/plain)
2007-05-13 16:55 UTC, ArYiX
Details
Build failure log (net-wireless:mac80211-7.1.0:20070514-074245.log,7.13 KB, text/plain)
2007-05-14 07:48 UTC, Steev Klimaszewski (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dick Marinus 2007-04-17 18:07:00 UTC
this is an ebuild for net-wireless/mac80211-5.1.0 (also known as d80211)
Comment 1 Dick Marinus 2007-04-17 18:07:37 UTC
Created attachment 116536 [details]
net-wireless/mac80211-5.1.0.ebuild
Comment 2 Dick Marinus 2007-04-17 18:13:06 UTC
I'm not sure about the installation in /usr/include/net, could someone please help me with this?
Comment 3 smrspam88 2007-04-18 21:30:11 UTC
citing from README:

NOTE:  As of mac80211-2.0.0 you must also enable CONFIG_CFG80211 and 
rebuild your main kernel image.  

I doubt whether an ebuild for mac80211 is reasonable. the wireless stack is also already included in -mm and inclusion in mainline will happen in the near future (according to lkml).
Comment 4 Dick Marinus 2007-04-18 21:33:12 UTC
yeah, I really hope this will happen soon, but this works in the meantime (with gentoo-sources x86).
Comment 5 Dick Marinus 2007-04-23 19:34:44 UTC
Created attachment 117103 [details]
net-wireless/mac80211-7.0.5.ebuild
Comment 6 ArYiX 2007-04-24 15:15:08 UTC
(In reply to comment #5)
> Created an attachment (id=117103) [edit]
> net-wireless/mac80211-7.0.5.ebuild
> 

1. the package require patch the kernel linked at /usr/src/linux, 
 a. this is a QA violation? i think YES.
 b. when kernel/link change, the package will be re-emerged

2. we need an other kernel to support this using git repo available?

git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git

3. include this patchset into another kernel like gentoo-sources

4. we can make a single ebuild containing the original snapshot, and einfo say:

to patch the kernel do:

make patch_kernel

or do this automatically

make menuconfig

and add:

CONFIG_MAC80211=m

        Networking --->
	   Generic IEEE 802.11 Networking Stack (dscape)

and rebuild your kernel
Comment 7 Dick Marinus 2007-04-24 16:10:43 UTC
> 1. the package require patch the kernel linked at /usr/src/linux

No - This package uses "make unmodified" which creates modules which can be used with gentoo-sources-2.6.20 (x86 stable).

Could you please test the ebuild with gentoo-sources?
Comment 8 Steev Klimaszewski (RETIRED) gentoo-dev 2007-04-24 21:42:06 UTC
are there any easy way to use the drivers that use mac80211? like the rt2x00 and p54 drivers that use it now?
Comment 9 Dick Marinus 2007-04-25 19:36:12 UTC
Created attachment 117262 [details]
net-wireless/mac80211-7.0.5.ebuild

Hi Steev, I've tried the same trick as in bug #174965 (Add CFLAGS += -I /usr/include/mac80211) and "make CONFIG_RT2500USB=m -C /usr/src/linux M=rt2x00/drivers/net/wireless/mac80211/rt2x00/ modules" on a git clone of rt2x00 and it seems to compile a nice .ko ... Would you like me to post an ebuilds for it?
Comment 10 Steev Klimaszewski (RETIRED) gentoo-dev 2007-04-25 23:29:08 UTC
that would be greatly appreciated if you did - the issue I seem to currently have is, this package requires QoS to be enabled, though there doesn't seem to be a check for that.  I also can't seem to get the rt2x00 to compile based on your instructions - its been a long day though, so maybe im missing something (I don't want to configure and compile the rt2x00 git kernel, just use the modules from it, if possible - as well as the p54 stuff, and the rtl818x heh - if you couldn't tell, I really want the new mac80211 stack to get some testing and into mainline soon
Comment 11 Dick Marinus 2007-04-26 19:35:07 UTC
Created attachment 117334 [details]
net-wireless/mac80211-7.0.5.ebuild

check if kernel is configured with CONFIG_NET_SCH_FIFO
Comment 12 Dick Marinus 2007-04-27 18:45:34 UTC
Created attachment 117437 [details]
net-wireless/mac80211-7.0.5.ebuild

Check for required CONFIG_WIRELESS_EXT
Comment 13 ArYiX 2007-04-27 21:27:28 UTC
(In reply to comment #10)
> that would be greatly appreciated if you did - the issue I seem to currently
> have is, this package requires QoS to be enabled, though there doesn't seem to
> be a check for that.  I also can't seem to get the rt2x00 to compile based on
> your instructions - its been a long day though, so maybe im missing something
> (I don't want to configure and compile the rt2x00 git kernel, just use the
> modules from it, if possible - as well as the p54 stuff, and the rtl818x heh -
> if you couldn't tell, I really want the new mac80211 stack to get some testing
> and into mainline soon
> 
i m using rtl8180x, and this work with the old stack ieee80211, whats is the project that you refer here?

http://rtl-wifi.sf.net

Comment 14 ArYiX 2007-04-27 21:29:36 UTC
(In reply to comment #7)
> > 1. the package require patch the kernel linked at /usr/src/linux
> 
> No - This package uses "make unmodified" which creates modules which can be
> used with gentoo-sources-2.6.20 (x86 stable).
> 
> Could you please test the ebuild with gentoo-sources?
> 
yes, work with all versions, and another kernels like 2.6.21-rc7
Comment 15 Dick Marinus 2007-04-28 06:34:35 UTC
Created attachment 117471 [details]
net-wireless/mac80211-7.0.5.ebuild

cleanup, DEPEND, CONFIG_CHECK
Comment 16 Renato Caldas 2007-04-30 13:27:33 UTC
Doesn't work with kernel 2.6.21:

 * Checking for suitable kernel configuration options...
 *   CONFIG_NET_SCH_FIFO:        is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.

There's no such config option with this kernel..
Comment 17 Renato Caldas 2007-04-30 13:36:45 UTC
Oh never mind my dumbness.. it does exist. I just had to activate the QoS option...

I believe the error could be more explicit, but that's hard to implement so..
Comment 18 Dick Marinus 2007-04-30 15:47:09 UTC
Created attachment 117748 [details]
net-wireless/mac80211-7.0.8.ebuild
Comment 19 Roman Zimmermann 2007-05-01 16:52:15 UTC
Created attachment 117856 [details]
net-wireless/mac80211-7.0.9.ebuild

New version and changed kernel config to check for NET_SCH instead of NET_SCH_FIFO. See cangelog for 7.0.3: "Fixed pfifo_qdisc support to work if CONFIG_NET_SCH_FIFO not available"
Comment 20 Steev Klimaszewski (RETIRED) gentoo-dev 2007-05-01 17:30:07 UTC
grep NET_SCH /usr/src/linux/.config
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_FIFO=y
# CONFIG_NET_SCH_CLK_JIFFIES is not set
CONFIG_NET_SCH_CLK_GETTIMEOFDAY=y
# CONFIG_NET_SCH_CLK_CPU is not set
# CONFIG_NET_SCH_CBQ is not set
# CONFIG_NET_SCH_HTB is not set
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
# CONFIG_NET_SCH_INGRESS is not set

Shouldn't it be CONFIG_NET_SCHED check?
Comment 21 Roman Zimmermann 2007-05-01 17:39:45 UTC
Created attachment 117862 [details]
net-wireless/mac80211-7.0.9.ebuild

You are right it should be NET_SCHED - sorry for the fuzz.
Comment 22 Robert Führicht 2007-05-09 14:23:33 UTC
Created attachment 118656 [details]
Compilation failure log of mac80211 7.0.9 ebuild

CONFIG_MAC80211_LEDS is a bool option, so shouldn't it read CONFIG_MAC80211_LEDS=y?

Compilation dies then though... (see attachment)
Comment 23 Dick Marinus 2007-05-09 16:43:56 UTC
Created attachment 118665 [details]
net-wireless/mac80211-7.0.9.ebuild

Thanks a lot for pointing this out! Please try this ebuild.
Comment 24 ArYiX 2007-05-13 16:14:27 UTC
Created attachment 119127 [details]
net-wireless/mac80211-7.1.0.ebuild
Comment 25 ArYiX 2007-05-13 16:55:25 UTC
Created attachment 119128 [details]
net-wireless/mac80211-7.1.0.ebuild

removed dodir and the whitespace at the end
Comment 26 Dick Marinus 2007-05-13 17:06:40 UTC
Nice work ArYiX, lets see how this new HT branch will continue. Have you tested this ebuild on PPC? If so, neat! :)
Comment 27 ArYiX 2007-05-13 17:42:21 UTC
(In reply to comment #26)
> Nice work ArYiX, lets see how this new HT branch will continue. Have you tested
> this ebuild on PPC? If so, neat! :)
> 
i'm not, fragment of chat #gentoo-overlays

(13:01:43) steev: btw, you can keyword it ~ppc as well

and now he testing it.

thnk's :)
Comment 28 Steev Klimaszewski (RETIRED) gentoo-dev 2007-05-14 07:48:26 UTC
Created attachment 119190 [details]
Build failure log

This latest version fails for me here.  Attached is the build log
Comment 30 Dick Marinus 2007-05-14 17:07:45 UTC
Comment on attachment 118665 [details]
net-wireless/mac80211-7.0.9.ebuild

Everyone should use the ebuild from sunrise :)

Steev: That's an experimental kernel isn't it? :-) Please send me an ebuild for it.
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2008-01-27 14:15:22 UTC
This is in vanilla kernel -> WONTFIX.