View previous topic :: View next topic |
Author |
Message |
heedless Tux's lil' helper
Joined: 26 May 2004 Posts: 86
|
Posted: Thu Dec 28, 2006 3:21 pm Post subject: madwifi-old won't emerge with kernel 2.6.19-* |
|
|
Hi,
The Wireless network card on my laptop won't work with madwifi-ng.
It used to work fine with madwifi-old, however, after upgrading to the latest kernel 2.6.19-r3 (from 2.6.18-r the package won't compile anymore.
At first it failed to find linux/config.h ... after fixing that problem, it continued failing with an "Assertion error" that says that it couldn't open for write /usr/src/linux-2.6.19-r3/astest[nn].[something]. i.e. the assertion specified an open-wr call error.
It looks like the ebuild is trying to gain write access to the linux kernel directory and gentoo's emerge sandbox asserted.
The driver does indeed compile - I get a "Compiled successfully" but the next emerge step asserts. so it has to be an ebuild issue.
i would have loved to move to madwifi-ng (which compiles with no problems) except that my wireless card won't work with it... for some reason. (it does get detected, however it won't find my AP; i do compile wpa_supplicant each time i change madwifi versions).
Can anyone help? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Dec 28, 2006 4:42 pm Post subject: |
|
|
If it's only a sandbox problem, then you can use:
Code: | FEATURES="-sandbox" emerge madwifi-old |
|
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Sat Dec 30, 2006 8:31 am Post subject: |
|
|
Are you runing wpa_supplicant with the madwifi or wext drivers? _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
69719 l33t
Joined: 20 Sep 2004 Posts: 865
|
Posted: Fri Feb 02, 2007 9:33 am Post subject: |
|
|
Same problem and running drivers with madwifi
if i'm at home i will test it withound sandbox |
|
Back to top |
|
|
gattu_marrudu n00b
Joined: 30 Dec 2004 Posts: 65 Location: Sardinia, Italy
|
Posted: Thu Feb 15, 2007 10:19 am Post subject: |
|
|
How did you solve the missing /linux/config.h problem?
Thanks
Stefano |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Feb 15, 2007 12:09 pm Post subject: |
|
|
gattu_marrudu wrote: | How did you solve the missing /linux/config.h problem? |
Replace #include <linux/config.h> with #include <linux/autoconf.h>
I suspect there will be other changes to make, though. See the patch for rtl8187. |
|
Back to top |
|
|
reydan n00b
Joined: 07 Aug 2005 Posts: 38
|
Posted: Sat May 12, 2007 8:19 pm Post subject: |
|
|
Instead I went to /usr/src/linux/include/linux and made a symlink from config.h to autoconf.h:
ln -s autoconf.h config.h
I then did
FEATURES="-sandbox" emerge -av madwifi-old
and it compiled successfully |
|
Back to top |
|
|
|