[Lunar-bugs] [Lunar Linux 0000152]: madwifi-cvs fails to build under 2.6.19.1 kernel

Lunar bug reports list lunar-bugs at lunar-linux.org
Wed Dec 13 16:45:54 CET 2006


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=152 
====================================================================== 
Reported By:                engelsman
Assigned To:                
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   152
Category:                   module
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
Moonbase Version:           20061212.17 
Core Tools:                 Lunar 
Core Tools Version:         20061110 
====================================================================== 
Date Submitted:             12-12-2006 22:38 CET
Last Modified:              12-13-2006 16:45 CET
====================================================================== 
Summary:                    madwifi-cvs fails to build under 2.6.19.1 kernel
Description: 
I'm successfully running a 2.6.18.5 kernel with madwifi-cvs installed.

I've just built a 2.6.19.1 kernel, rebooted, and tried to rebuild the
madwifi-cvs module, but it fails. I've tried 'lin kernel-headers-2.6'
under the new kernel, but it makes no difference. The madwifi-cvs build
fails with (the full compile log is attached)

/usr/src/madwifi/ath_hal/ah_osdep.c:44:26: linux/config.h: No such file or
directory

Is this a kernel config problem; a new module that needs to be installed
first, or a problem with madwifi-cvs under the new kernel ?
====================================================================== 

---------------------------------------------------------------------- 
 sofar - 12-13-06 03:18  
---------------------------------------------------------------------- 
drop back to 2.6.18.x and wait for an updated madwifi module, it's
something they need to fix in their code.

you can of course attempt to sedit 's/linux\/config.h/linux\/autoconf.h/'
the madwifi code and see if that fixes it. 

---------------------------------------------------------------------- 
 engelsman - 12-13-06 09:11  
---------------------------------------------------------------------- 
Yes, I already dropped back to 2.6.18.5 otherwise I would have to
move the machine downstairs to use the wired connection to the hub.

Posted basically the same report on the madwifi-users mailing list
and got the following reply:
http://sourceforge.net/mailarchive/message.php?msg_id=37669518 or
http://article.gmane.org/gmane.linux.drivers.madwifi.user/11926

So if they switched from cvs to svn a year ago, what has the madwifi-cvs
module been downloading all of this time? A failsafe cached version?
[That could explain why it's way out of date in /var/spool/lunar]

Second, they say they've fixed some 2.6.19 related problems, so it
looks like the madwifi-cvs module needs to be updated/replaced. I'm
just not sure that I have the expertise to do this myself, but I'll
see how far I get this evening. Is there anything special I need to
do for a kernel module like this as opposed to a user-space application?
e.g. when I tried wpa_supplicant there was all sorts of stuff about
copying files into the kernel source tree etc. 

---------------------------------------------------------------------- 
 Moe - 12-13-06 13:53  
---------------------------------------------------------------------- 
I just added the madwifi-svn module to the moonbase. It needs testing
though. I can confirm that it compiles but I cannot verify that it
actually works.

Also, I think you won't need to compile it twice anymore whenever you
update your kernel (major annoyance I can imagine).

If you want to give it a shot right away download the module from

http://foo-projects.org/~moe/madwifi-svn.tar.bz2 

---------------------------------------------------------------------- 
 engelsman - 12-13-06 16:45  
---------------------------------------------------------------------- 
I installed Moe's "zlocal/madwifi" module, but the last stable tarball
for 0.9.2.1 of 2006-12-07 shows the same error under a 2.6.19.1 kernel.

However, Moe's new "zbeta/madwifi-svn" module works like a charm. It
downloaded
and built without problems, and didn't need a rebuild after reboot
either.

Now that I'm signed up on the madwifi-users mailing list, I shall monitor
it
for the next tarball release, and update "zlocal/madwifi" to use it. If
it
works, I shall submit it and steal Moe's glory :-) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-12-06 22:38  engelsman      New Issue                                    
12-12-06 22:38  engelsman      File Added: madwifi-cvs.compile                  
 
12-12-06 22:38  engelsman      Moonbase Version          => 20061212.17     
12-12-06 22:38  engelsman      Core Tools                => Lunar           
12-12-06 22:38  engelsman      Core Tools Version        => 20061110        
12-13-06 03:18  sofar          Note Added: 0000322                          
12-13-06 09:11  engelsman      Note Added: 0000323                          
12-13-06 13:53  Moe            Note Added: 0000326                          
12-13-06 13:53  Moe            Status                   new => feedback     
12-13-06 16:45  engelsman      Note Added: 0000327                          
======================================================================



More information about the Lunar-bugs mailing list