Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316455 - net-wireless/broadcom-sta doesn't build against zen-sources-2.6.33 kernels
Summary: net-wireless/broadcom-sta doesn't build against zen-sources-2.6.33 kernels
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 05:18 UTC by Steve Dibb (RETIRED)
Modified: 2012-07-21 14:11 UTC (History)
1 user (show)

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 Steve Dibb (RETIRED) gentoo-dev 2010-04-21 05:18:01 UTC
$summary
Comment 1 Marc-Antoine Perennou 2010-04-21 07:43:11 UTC
which error do you get ? I'm running kernel 2.6.33 with broadcom-sta without having any problem
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2010-04-23 13:05:49 UTC
(In reply to comment #1)
> which error do you get ? I'm running kernel 2.6.33 with broadcom-sta without
> having any problem
> 

Sorry, meant zen-sources. :)
Comment 3 Kyle Evans 2010-05-18 13:57:58 UTC
Trying to build broadcom-sta-5.60.48.36 against gentoo-sources-2.6.33-r2 and I get an error that the following are not set and should be.

CONFIG_WIRELESS_EXT
CONFIG_WEXT_PRIV

looking at my .config, I don't see either of those two options. The only things that come close are...

CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_CFG80211_WEXT=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
Comment 4 Bob Raitz 2010-05-18 20:48:03 UTC
(In reply to comment #3)
> Trying to build broadcom-sta-5.60.48.36 against gentoo-sources-2.6.33-r2 and I
> get an error that the following are not set and should be.
> 
> CONFIG_WIRELESS_EXT
> CONFIG_WEXT_PRIV
> 
> looking at my .config, I don't see either of those two options. The only things
> that come close are...
> 
> CONFIG_WIRELESS_EXT_SYSFS=y
> CONFIG_CFG80211_WEXT=y
> CONFIG_WEXT_CORE=y
> CONFIG_WEXT_PROC=y
> 
Turn on Generic IEEE 802.11 Networking Stack (mac80211) under Networking support ---> Wireless. Then modularize one of the Intel wireless devices under Device drivers ---> Network device support ---> Wireless LAN. Any of the drivers will do, but I personally use the first on the list, ipw2100. This silently enables the two options needed, which allows broadcom-sta to finish compilation and to function properly. 

This trick also allows ndiswrapper to be used up to kernel version 2.6.34. I know because I'm writing this with that kernel version and ndiswrapper.
Comment 5 Kyle Evans 2010-05-25 02:48:46 UTC
Well that's a bit of voodoo magic, and rather contrary. During install it complains...

 *   CONFIG_MAC80211:    should not be set. But it is.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

I guess unexpected problems are better than no driver.
Comment 6 Bob Raitz 2010-05-25 03:40:20 UTC
(In reply to comment #5)
> Well that's a bit of voodoo magic, and rather contrary. During install it
> complains...
> 
>  *   CONFIG_MAC80211:    should not be set. But it is.
>  * Please check to make sure these options are set correctly.
>  * Failure to do so may cause unexpected problems.
> 
> I guess unexpected problems are better than no driver.
> 
It was made to do that when the required kernel settings were actively selectable to keep people from setting up the b43 module at the same time as the broadcom-sta. Since you now have to set up an Intel driver to use 2.6.32.10 or greater, that means you must also have mac80211 set as well. That causes the ebuild to give a warning, but doesn't cause compilation failure. Perhaps that part should be stricken from the ebuild.
Comment 7 Pacho Ramos gentoo-dev 2012-07-21 14:11:03 UTC
All versions but zen-sources-9999 were dropped, please try with that one or pf-sources