wpa_supplicant, ndiswrapper, kernel 2.6.15.6

Dan Williams dcbw
Sun Mar 19 08:57:24 PST 2006


On Sat, 2006-03-18 at 18:36 -0700, engage wrote:
> I just built kernel 2.6.15.6 on an Athlon 64 system but I have a problem with 
> wpa_supplicant running on this kernel. This is a Mandriva 2006 system. 
> Anyway, ndiswrapper (1.9) loads ok and the driver and hardware show present. 
> But, when I start wpa_supplicant (0.4.8), there's no association with the AP 
> and there are no errors. But, I did notice the following from dmesg:
> 
> ndiswrapper: version magic '2.6.15.6 K8 gcc-4.0' should be '2.6.15.6 K7 
> gcc-4.0'
> ndiswrapper: version magic '2.6.15.6 K8 gcc-4.0' should be '2.6.15.6 K7 
> gcc-4.0'
> ndiswrapper: version magic '2.6.15.6 K8 gcc-4.0' should be '2.6.15.6 K7 
> gcc-4.0'
> ndiswrapper: version magic '2.6.15.6 K8 gcc-4.0' should be '2.6.15.6 K7 
> gcc-4.0'
> ndiswrapper version 1.9 loaded (preempt=no,smp=no)
> ndiswrapper: driver bcmwl5 (Linksys,07/17/2003, 3.30.15.0) loaded
> ndiswrapper: using irq 21
> wlan0: ndiswrapper ethernet device 00:0f:66:6d:8d:c9 using driver bcmwl5, 
> 14E4:4320:1737:0014.5.conf

This means that your newly recompiled kernel was not built with the same
options as your original kernel.  Recompile your kernel with the
original kernel's options and you should be fine.  Linux kernel modules
have a "version magic" that _MUST_ match the kernel's, otherwise they
won't load.

Note the K8 vs. K7 different between the kernel and your module.

Dan






More information about the Hostap mailing list