Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262761 - net-wireless/madwifi-ng fails to build on kernel >= 2.6.29
Summary: net-wireless/madwifi-ng fails to build on kernel >= 2.6.29
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 4 votes (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 264722
  Show dependency tree
 
Reported: 2009-03-17 03:10 UTC by Matthew Kern
Modified: 2010-04-26 06:09 UTC (History)
21 users (show)

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


Attachments
ebuild for the latest version in portage with the fix (madwifi-ng-0.9.4-r1.ebuild,3.27 KB, text/plain)
2009-03-17 03:14 UTC, Matthew Kern
Details
Error log for that patch (2.6.29.patch-15260.out,28.67 KB, text/plain)
2009-03-24 21:29 UTC, Maxim Grechkin
Details
<2.6.29 CHECK KMOD / >=2.6.29 patch r3907 (madwifi-ng-0.9.4-r2.diff,973 bytes, patch)
2009-03-26 10:24 UTC, Tobias Kral
Details | Diff
upstream patch for 2.6.29 (madwifi-ng-0.9.4-2.6.29-r3907.patch,40.41 KB, text/plain)
2009-03-26 10:25 UTC, Tobias Kral
Details
Diff to use injection in madwifi with 0.9.4 with kernel 2.6.29 (madwifi-ng-0.9.4-r2-with-injection.diff,1.31 KB, patch)
2009-04-09 21:13 UTC, Draco Levanah
Details | Diff
Patch for injection for 2.6.29 patched sources (madwifi-ng-r3925.patch,1.22 KB, patch)
2009-04-09 21:14 UTC, Draco Levanah
Details | Diff
Upstream patch with corrected paths (madwifi-ng-0.9.4-2.6.29-r3907.patch,37.97 KB, patch)
2009-04-12 13:54 UTC, Ivan Kukharchuk
Details | Diff
final version of ebuild (madwifi-ng-0.9.4-r2.ebuild,3.28 KB, text/plain)
2009-05-30 10:31 UTC, Sergey Zolen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kern 2009-03-17 03:10:12 UTC
kernel 2.6.29 gets rid of CONFIG_KMOD...

a simple patch like this should work:

CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
Comment 1 Matthew Kern 2009-03-17 03:14:25 UTC
Created attachment 185252 [details]
ebuild for the latest version in portage with the fix

just replaced the old CONFIG_CHECK line with a new two.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-17 20:26:56 UTC
Please don't post full ebuilds but diffs showing the changes you did to the ebuild. That would be much more handy for our devs.
Comment 3 Mike Auty (RETIRED) gentoo-dev 2009-03-24 01:51:47 UTC
That alone won't solve all the problems.  You'll probably also need the following patch (taken from the official madwifi-ng subversion repository)

http://madwifi-project.org/changeset/3902?format=diff&new=3902

Note, I haven't tested this yet, so I dunno if it'll solve all the problems yet...
Comment 4 Maxim Grechkin 2009-03-24 21:29:31 UTC
Created attachment 186153 [details]
Error log for that patch
Comment 5 Mike Auty (RETIRED) gentoo-dev 2009-03-24 22:04:06 UTC
I got a different error, fuzzy patching at the start, with failed blocks from midway through to the end, but you're right the patch as it stands won't apply cleanly.  I haven't had time to examine it further, and since 2.6.29 apparently supports hostapd through the mac80211 interface, I'm going to be spending my time on getting that going, rather than battling with the madwifi drivers.  There will have been some changes in the subversion files between that patch (r3902) and the 0.9.4 tarball.  I didn't think there were many, but obviously there were enough to cause problems.  It might just be worth wrapping up the latest checkout and compiling off of that (some kind of madwifi-ng-0.9.4_r3902 type ebuild).  It could either be based on subversion with a fixed revision, or a snapshot.  Unfortunately, as I say, my time for this project is limited.  Sorry...
Comment 6 Steev Klimaszewski (RETIRED) gentoo-dev 2009-03-26 02:08:48 UTC
Yeah, I just updated to 2.6.29 and got bit - for the moment ath5k works for me, although I do also apply the patch from aircrack-ng to be able to use monitor mode, I still prefer madwifi-ng - I'm looking in to it now, so I should get fixed soon, unless pva beats me to it :)
Comment 7 Mike Auty (RETIRED) gentoo-dev 2009-03-26 10:06:16 UTC
I'd thought monitor mode (and injection) worked fine for ath5k out of the box since 2.6.27_rc3 onwards, but fragmentation attacks under mac80211 needed a patch?
Comment 8 Tobias Kral 2009-03-26 10:24:07 UTC
Created attachment 186313 [details, diff]
<2.6.29 CHECK KMOD / >=2.6.29 patch r3907
Comment 9 Tobias Kral 2009-03-26 10:25:46 UTC
Created attachment 186314 [details]
upstream patch for 2.6.29

Here's the complete changeset for the 0.9.4 branch: http://madwifi-project.org/changeset/3907?format=diff&new=3907
Comment 10 Tobias Kral 2009-03-26 10:28:37 UTC
Comment on attachment 186314 [details]
upstream patch for 2.6.29

Patch applies, but I get compiler errors in ieee80211.c 

(In reply to comment #7)
At least master mode doesn't work. That's whyt I need. (and the fixed sqlite performance bug in 2.6.29)
Comment 11 Mike Auty (RETIRED) gentoo-dev 2009-03-26 10:36:38 UTC
Tobias, thanks for the patches, I'll give them a go later on.  

You can't set it directly into master mode, no, but you should be able to run it as an access point using hostapd (which has been updated to use cfg80211 to do its stuff, see the wireless section of http://kernelnewbies.org/Linux_2_6_29).  That's what I'm investigating at the moment...
Comment 12 Robin Bankhead 2009-03-26 12:31:22 UTC
Personally I'm still not getting a dickie-bird with ath5k, can't even connect in station mode, so I hope these fixes can make their way to portage soon.
Comment 13 Czeryna Karol 2009-03-31 16:23:55 UTC
With madwifi-ng-0.9.4-2.6.29-r3907.patch madiwfi-ng compiles and working fine, just add it to portage and fix ebuild ;) greets...
Comment 14 Draco Levanah 2009-04-09 21:13:17 UTC
Created attachment 187820 [details, diff]
Diff to use injection in madwifi with 0.9.4 with kernel 2.6.29
Comment 15 Draco Levanah 2009-04-09 21:14:21 UTC
Created attachment 187822 [details, diff]
Patch for injection for 2.6.29 patched sources
Comment 16 Draco Levanah 2009-04-09 21:18:45 UTC
Comment on attachment 187820 [details, diff]
Diff to use injection in madwifi with 0.9.4 with kernel 2.6.29

Using injection flag and the 2.6.29 patch ended in failure, i downloaded the new patch (r3925) and adapted it so it could fit along with the 2.6.29 patch
Comment 17 Ivan Kukharchuk 2009-04-12 13:54:43 UTC
Created attachment 188087 [details, diff]
Upstream patch with corrected paths

Corrected paths in the upstream patch to be used from portage.
Comment 18 Jakub Novak 2009-04-14 08:13:34 UTC
I confirm that unpacking ebuild madwifi-ng-0.9.4-r1.ebuild and manually patching with madwifi-ng-0.9.4-2.6.29-r3907.patch works for me (didn't try with USE="injection").
Comment 19 Jakub Novak 2009-04-14 08:14:17 UTC
Sorry, forgot to add:
Linux version 2.6.29-gentoo-r1 (root@hacktop) (gcc version 4.3.3 (Gentoo 4.3.3-r2 p1.1, pie-10.1.5) ) #4 SMP Mon Apr 13 22:45:39 CEST 2009
Comment 20 Czeryna Karol 2009-05-01 08:55:21 UTC
with gcc4.4 madwifi-ng doesn't compile...
cc1: warnings being treated as errors
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.c: In function 'ieee80211_notify_sta_stats':
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.c:260: error: the frame size of 1060 bytes is larger than 1024 bytes
make[2]: *** [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_wireless.c: In function 'ieee80211_ioctl_iwaplist':
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_wireless.c:1468: error: the frame size of 1288 bytes is larger than 1024 bytes
make[2]: *** [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_wireless.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r2'
make: *** [all] Błąd 2

maybe needed some patch?
Comment 21 Jakub Novak 2009-05-01 11:49:02 UTC
(In reply to comment #20)
> with gcc4.4 madwifi-ng doesn't compile...
> cc1: warnings being treated as errors
> /var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.c:
> In function 'ieee80211_notify_sta_stats':
> /var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.c:260:
> error: the frame size of 1060 bytes is larger than 1024 bytes
> make[2]: ***
> [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> cc1: warnings being treated as errors
> /var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_wireless.c:
> In function 'ieee80211_ioctl_iwaplist':
> /var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_wireless.c:1468:
> error: the frame size of 1288 bytes is larger than 1024 bytes
> make[2]: ***
> [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_wireless.o]
> Error 1
> make[1]: ***
> [_module_/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r2'
> make: *** [all] Błąd 2
> 
> maybe needed some patch?
> 

Does it work with the patch I mentioned? (just add epatch line to the ebuild, digest it, stick the patch into its files directory and try to emerge it). From the backlog I got the impression this is already going upstream (portage or madwifi ?), is it not ?
Comment 22 Czeryna Karol 2009-05-01 13:55:50 UTC
I'm using funtoo and i send your patches to drobinns, he's added it, so i uses your patch. With gcc4.3.3-r2 madwifi-ng compiles fine, dunno where is the problem.
Comment 23 Jakub Novak 2009-05-01 15:04:55 UTC
(In reply to comment #22)
> I'm using funtoo and i send your patches to drobinns, he's added it, so i uses
> your patch. With gcc4.3.3-r2 madwifi-ng compiles fine, dunno where is the
> problem.
> 

I see 'cc1: warnings being treated as errors'. Maybe it needs some option for less strict error checking (or code sanity check from maintainers) ? I think thats a probable thing to change with new version of gcc. I'm not good at this, experts opinion please ?
Comment 24 Daniel Drake (RETIRED) gentoo-dev 2009-05-16 15:18:32 UTC
ping... 2.6.29 is planned to go stable on 23rd may, would be nice to see this fixed
Comment 25 SATtva 2009-05-27 08:57:48 UTC
(In reply to comment #23)
> (In reply to comment #22)
> > I'm using funtoo and i send your patches to drobinns, he's added it, so i uses
> > your patch. With gcc4.3.3-r2 madwifi-ng compiles fine, dunno where is the
> > problem.
> > 
> 
> I see 'cc1: warnings being treated as errors'. Maybe it needs some option for
> less strict error checking (or code sanity check from maintainers) ? I think
> thats a probable thing to change with new version of gcc. I'm not good at this,
> experts opinion please ?
> 

(In reply to comment #23)
> (In reply to comment #22)
> > I'm using funtoo and i send your patches to drobinns, he's added it, so i uses
> > your patch. With gcc4.3.3-r2 madwifi-ng compiles fine, dunno where is the
> > problem.
> > 
> 
> I see 'cc1: warnings being treated as errors'. Maybe it needs some option for
> less strict error checking (or code sanity check from maintainers) ? I think
> thats a probable thing to change with new version of gcc. I'm not good at this,
> experts opinion please ?
> 

Right after emerge unpacks package source to tmpdir, look into /var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/Makefile.inc. Find the line starting with COPTS and remove -Werror flag. Then resume compilation: compiler warning won't be treated as an error, and the package will be built correctly.
Comment 26 Robert T Childers 2009-05-27 22:47:32 UTC
I tried patching 0.9.4-r1 by hand and adding in the 0.9.4-2.6.29-r3907 patch but I wasn't able to get it to properly compile. Jacob did you try patching the ebuild or did you just manually patch it and run ./configure make to test that it compiled?
Comment 27 Jakub Novak 2009-05-28 07:07:54 UTC
(In reply to comment #26)
> I tried patching 0.9.4-r1 by hand and adding in the 0.9.4-2.6.29-r3907 patch
> but I wasn't able to get it to properly compile. Jacob did you try patching the
> ebuild or did you just manually patch it and run ./configure make to test that
> it compiled?
> 
I added epatch line to ebuild I think. I had old gcc at that time, I think it had less strict error checking so it didn't die on some warnings. I'm pretty sure theres either some cflag or pragma macro to lessen strict level although fast google didn't turn up anything atm. Anyone who knows this off top of his head could shoot perhaps ?
Comment 28 Sergey Zolen 2009-05-30 10:31:40 UTC
Created attachment 192965 [details]
final version of ebuild

Compile and work with or without injection on 2.6.29 kernel.
Comment 29 Jason Komar 2009-06-01 00:18:31 UTC
This line:

kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"

in the posted madwifi-ng-0.9.4-r2 ebuild causes problems with Paludis. I posted in the Paludis Trac and received this reply from ciaranm:

"The error occurs because the ebuild illegally displays information to stdout during the metadata phase. That, in turn, happens because linux-mod.eclass checks EBUILD_PHASE against 'depend' to see whether it should be quiet, but PMS doesn't guarantee that EBUILD_PHASE will be set to that. So the fix is either to stop calling horrible functions in global scope, or to fix qout in linux-mod. Or preferably both."

Is there another way to do a CONFIG_CHECK conditionally dependant on kernel version?
Comment 30 Peter Volkov (RETIRED) gentoo-dev 2009-06-01 16:57:18 UTC
Thank you all, guys for your work. I decided to avoid patching of 0.9.4 release to death and took upstream snapshot for 0.9.4 branch: madwifi-ng-0.9.4.4030.20090529.ebuild.

It builds fine and seems to work. Please, test it ASAP as I'm going to request stabilization in one week. I'm most interested if injection works or not, since I've never used this feature. Leaving this bug open for stabilization...
Comment 31 Robin Bankhead 2009-06-01 18:54:21 UTC
(In reply to comment #30)
> Thank you all, guys for your work. I decided to avoid patching of 0.9.4 release
> to death and took upstream snapshot for 0.9.4 branch:
> madwifi-ng-0.9.4.4030.20090529.ebuild.
> 
> It builds fine and seems to work. Please, test it ASAP as I'm going to request
> stabilization in one week. I'm most interested if injection works or not, since
> I've never used this feature. Leaving this bug open for stabilization...
> 

Forgive the inappropriate forum for asking, but the website confuses me somewhat: will the snapshot you're taking include the AR242x support?

I dearly hope so, as ath5k support for this chipset is pitiful at present.
Comment 32 Joël 2009-06-01 19:23:02 UTC
A BIG, BIG THANKS to Peter and others for their hard work !

Before today I couldn't upgrade to 2.6.29 + ath5k, because for me, the new 802.11 stack loses connection regularly. Most probably the stack's fault, since it happens with different 802.11 drivers (intel 3945) too.

So, today madwifi compiles out of the box with 2.6.29, and runs great ! (I only had to disable the "injection" use flag, because a patch file was seemingly missing).

Again, great work !
Comment 33 Devin Fallak 2009-06-04 04:31:58 UTC
Works fine on my Acer Aspire 5610Z, Atheros AR2413 802.11bg NIC. This is a great improvement - just switched to kernel 2.6.29 today because of this! :)
Comment 34 Robin Bankhead 2009-06-04 13:01:48 UTC
AR5007 (Netgear WPN511 CardBus adapter): works
AR2425 (MiniPCIe in Samsung NC10 netbook): does not work (I assume this answers my question above).
Comment 35 Sérgio Durigan Júnior 2009-06-17 20:51:48 UTC
Hello,

I'm having this problem using a 2.6.30 kernel (directly from kernel.org, not using Gentoo's one).  Any news about it?

Thanks.
Comment 36 Sérgio Durigan Júnior 2009-06-17 20:54:31 UTC
Ok, sorry, my question was more about "do you have any plans to make madwifi-ng-0.9.4.4030.20090529.ebuild stable?".  Thanks.
Comment 37 xo0ox 2009-07-10 18:03:17 UTC
AR2413 Mini-PCI Access-Point - works fine with madwifi-ng-0.9.4.4030.20090529 and Vanilla-Kernel 2.6.30.1

Thank you!
Comment 38 Xander Hoogendoorn 2009-08-22 16:50:05 UTC
For some reason madwifi-ng-0.9.4.4030.20090529 fails to compile against 2.6.30. The ebuild seems to figure out the kernel version correctly, but the actual build script cannot and aborts with an error.
Comment 39 Da Fox 2010-02-26 12:27:20 UTC
This is still an issue with 2.6.33. Latest madwifi-ng packages in portage are
0.9.4.4030.20090529 and ~0.9.4.4100.20090929, both fail with the following error:

---8<---------
 * Checking for suitable kernel configuration options...
 *   madwifi-ng-0.9.4 requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions
 * 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.
 * ERROR: net-wireless/madwifi-ng-0.9.4-r2 failed:
 *   Incorrect kernel configuration options
--->8---------

Which also does not appear to be present anymore:

dafox@shogoki /usr/src/linux $ grep -i wireless .config
.config:CONFIG_WIRELESS=y
.config:CONFIG_WIRELESS_OLD_REGULATORY=y
.config:CONFIG_WIRELESS_EXT_SYSFS=y

Comment 40 Da Fox 2010-03-05 21:18:19 UTC
I just tried with net-wireless/madwifi-ng-0.9.4.4119.20100201 and it still fails. Is this being worked on?
Comment 41 Da Fox 2010-03-24 18:17:11 UTC
So what is the status on this? I just updated my portage-tree and tried again with 0.9.4.4119.20100201 and an svn build, both failed. 0.9.4.4119.20100201 failed the same as last time, whereas svn fails with the following error halfway through:
---8<---------
 * Preparing wlan module
make -j2 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNELPATH=/lib/modules/2.6.33-ck1/build all 
make -C /lib/modules/2.6.33-ck1/build M=/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211 modules
make[1]: Entering directory `/usr/src/linux-2.6.33'
  CC [M]  /var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/if_media.o
...
<snip>
...
  CC [M]  /var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_linux.o
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5747: error: unknown field 'private' specified in initializer
cc1: warnings being treated as errors
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5747: error: initialization from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5748: error: unknown field 'num_private' specified in initializer
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5748: error: excess elements in struct initializer
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5748: error: (near initialization for 'ieee80211_iw_handler_def')
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5749: error: unknown field 'private_args' specified in initializer
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5749: error: excess elements in struct initializer
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5749: error: (near initialization for 'ieee80211_iw_handler_def')
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5750: error: unknown field 'num_private_args' specified in initializer
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5750: error: excess elements in struct initializer
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5750: error: (near initialization for 'ieee80211_iw_handler_def')
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c: In function 'ieee80211_ioctl_vattach':
/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.c:5838: error: 'struct net_device' has no member named 'wireless_handlers'
make[2]: *** [/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211/ieee80211_wireless.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/net-wireless/madwifi-ng-9999/work/madwifi-ng-9999/net80211] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33'
make: *** [all] Error 2
--->8---------

I had hoped that svn at least would build...
Comment 42 Robin Bankhead 2010-03-24 19:51:43 UTC
@Da Fox, see Bug #306851 for a workaround for the error you are getting, it's a
different issue specific to >=2.6.33.
Comment 43 Peter Volkov (RETIRED) gentoo-dev 2010-04-26 06:09:05 UTC
I think currently stable version should build on 2.6.29. This bug was fixed some time ago. 

/me wonders why I wasn't CCed to this bug...