Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
madwifi-old won't emerge with kernel 2.6.19-*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
heedless
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2004
Posts: 86

PostPosted: Thu Dec 28, 2006 3:21 pm    Post subject: madwifi-old won't emerge with kernel 2.6.19-* Reply with quote

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-r8) 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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Dec 28, 2006 4:42 pm    Post subject: Reply with quote

If it's only a sandbox problem, then you can use:
Code:
FEATURES="-sandbox" emerge madwifi-old
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Sat Dec 30, 2006 8:31 am    Post subject: Reply with quote

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
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Fri Feb 02, 2007 9:33 am    Post subject: Reply with quote

Same problem and running drivers with madwifi
if i'm at home i will test it withound sandbox
Back to top
View user's profile Send private message
gattu_marrudu
n00b
n00b


Joined: 30 Dec 2004
Posts: 65
Location: Sardinia, Italy

PostPosted: Thu Feb 15, 2007 10:19 am    Post subject: Reply with quote

How did you solve the missing /linux/config.h problem?

Thanks
Stefano
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Feb 15, 2007 12:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
reydan
n00b
n00b


Joined: 07 Aug 2005
Posts: 38

PostPosted: Sat May 12, 2007 8:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum