Thread: [Ndiswrapper-general] ndiswrapper 1.6/1.7, kernel 2.6.14, mandriva 2006
Status: Beta
Brought to you by:
pgiri
From: engage <en...@n0...> - 2005-12-20 02:47:58
|
I just upgraded to Mandriva 2006 and I can't get ndiswrapper to load. Since it was OK with kernel 2.6.14 & Mandriva 2005, it must be a distro version issue. Currently, I'm using the stock kernel for Mandriva 2006 and ndiswrapper 1.7. Anyone have a clue as to why it's broken with Mandriva2006/kernel2.6.14/ndiswrapper1.7 (and 1.6)? FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format |
From: Olivier B. <ob...@ma...> - 2005-12-20 13:16:00
|
engage <en...@n0...> writes: > I just upgraded to Mandriva 2006 and I can't get ndiswrapper to load. Since it > was OK with kernel 2.6.14 & Mandriva 2005, it must be a distro version issue. > Currently, I'm using the stock kernel for Mandriva 2006 and ndiswrapper 1.7. > Anyone have a clue as to why it's broken with > Mandriva2006/kernel2.6.14/ndiswrapper1.7 (and 1.6)? > > FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): > Invalid module format The module version is probably incorrect, have a look in your system logs (/var/log/messages) to check that. To fix that, you have to modify the EXTRAVERSION field in /usr/src/linux/Makefile (removing "custom" is probably enough) Regards -- Olivier Blin - Mandriva |
From: engage <en...@n0...> - 2005-12-23 17:55:47
|
On Tuesday 20 December 2005 06:15, Olivier Blin wrote: >engage <en...@n0...> writes: >> I just upgraded to Mandriva 2006 and I can't get ndiswrapper to load. >> Since it was OK with kernel 2.6.14 & Mandriva 2005, it must be a distro >> version issue. Currently, I'm using the stock kernel for Mandriva 2006 and >> ndiswrapper 1.7. Anyone have a clue as to why it's broken with >> Mandriva2006/kernel2.6.14/ndiswrapper1.7 (and 1.6)? >> >> FATAL: Error inserting ndiswrapper >> (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format > >The module version is probably incorrect, have a look in your system >logs (/var/log/messages) to check that. >To fix that, you have to modify the EXTRAVERSION field in >/usr/src/linux/Makefile (removing "custom" is probably enough) > >Regards Since kernel 2.6.14 is a vanilla kernel there is nothing in EXTRAVERSION in the Makefile. As I have already stated, I successfully used ndiswrapper 1.7 with kernel 2.6.14 with Mandriva *2005* but it doesn't work with Mandriva *2006* unless I use the stock kernel for Mandriva *2006*. I've installed ndiswrapper many times before so ndiswrapper should be working. I do have one other machine that I upgraded to Mandriva 2006 and kernel 2.6.14 and it's working fine with ndiswrapper 1.7 using either a Linksys or Netgear PCMCIA wireless card. The machine I'm having trouble with is using a Linksys PCI wireless card. From the output of /var/log/messages I get the impression that it's a compiler issue? This log output occurs when trying to use the 2.6.14 kernel. The card works fine with stock kernel 2.6.12-12mdk. But, I'm still trying to research these error messages. [engage@ws ~]$ su -c "lspci | grep Broadcom" Password: 00:05.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03) [engage@ws ~]$ su -c "/usr/sbin/lshw | less" Password: *-network:0 description: Wireless interface product: BCM4306 802.11b/g Wireless LAN Controller vendor: Broadcom Corporation physical id: 5 bus info: pci@00:05.0 logical name: wlan0 version: 03 serial: 00:0f:66:6d:8d:c9 width: 32 bits clock: 33MHz capabilities: bus_master ethernet physical wireless configuration: broadcast=yes driver=ndiswrapper ip=###.###.#.# link =yes multicast=yes wireless=IEEE 802.11g resources: iomemory:dfffc000-dfffdfff irq:16 [engage@ws ~]$ su -c "/usr/sbin/ndiswrapper -l" Password: Installed drivers: bcmwl5 driver present, hardware present [engage@ws ~]$ su -c "grep ndiswrapper /var/log/messages" Password: Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' should be '2.6.14 K7 gcc-3.4' Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format |
From: Larry F. <Lar...@lw...> - 2005-12-23 19:27:19
|
engage wrote: > On Tuesday 20 December 2005 06:15, Olivier Blin wrote: > >>engage <en...@n0...> writes: >> >>>I just upgraded to Mandriva 2006 and I can't get ndiswrapper to load. >>>Since it was OK with kernel 2.6.14 & Mandriva 2005, it must be a distro >>>version issue. Currently, I'm using the stock kernel for Mandriva 2006 and >>>ndiswrapper 1.7. Anyone have a clue as to why it's broken with >>>Mandriva2006/kernel2.6.14/ndiswrapper1.7 (and 1.6)? >>> >>>FATAL: Error inserting ndiswrapper >>>(/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format >> >>The module version is probably incorrect, have a look in your system >>logs (/var/log/messages) to check that. >>To fix that, you have to modify the EXTRAVERSION field in >>/usr/src/linux/Makefile (removing "custom" is probably enough) >> >>Regards > > > Since kernel 2.6.14 is a vanilla kernel there is nothing in EXTRAVERSION in > the Makefile. As I have already stated, I successfully used ndiswrapper 1.7 > with kernel 2.6.14 with Mandriva *2005* but it doesn't work with Mandriva > *2006* unless I use the stock kernel for Mandriva *2006*. I've installed > ndiswrapper many times before so ndiswrapper should be working. I do have one > other machine that I upgraded to Mandriva 2006 and kernel 2.6.14 and it's > working fine with ndiswrapper 1.7 using either a Linksys or Netgear PCMCIA > wireless card. The machine I'm having trouble with is using a Linksys PCI > wireless card. From the output of /var/log/messages I get the impression that > it's a compiler issue? This log output occurs when trying to use the 2.6.14 > kernel. The card works fine with stock kernel 2.6.12-12mdk. But, I'm still > trying to research these error messages. > > [engage@ws ~]$ su -c "lspci | grep Broadcom" > Password: > 00:05.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless > LAN Controller (rev 03) > [engage@ws ~]$ su -c "/usr/sbin/lshw | less" > Password: > *-network:0 > description: Wireless interface > product: BCM4306 802.11b/g Wireless LAN Controller > vendor: Broadcom Corporation > physical id: 5 > bus info: pci@00:05.0 > logical name: wlan0 > version: 03 > serial: 00:0f:66:6d:8d:c9 > width: 32 bits > clock: 33MHz > capabilities: bus_master ethernet physical wireless > configuration: broadcast=yes driver=ndiswrapper ip=###.###.#.# > link > =yes multicast=yes wireless=IEEE 802.11g > resources: iomemory:dfffc000-dfffdfff irq:16 > [engage@ws ~]$ su -c "/usr/sbin/ndiswrapper -l" > Password: > Installed drivers: > bcmwl5 driver present, hardware present > [engage@ws ~]$ su -c "grep ndiswrapper /var/log/messages" > Password: > Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' > should be '2.6.14 K7 gcc-3.4' > Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' > should be '2.6.14 K7 gcc-3.4' > Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' > should be '2.6.14 K7 gcc-3.4' > Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper > (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format > Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' > should be '2.6.14 K7 gcc-3.4' The message is very clear. Modules must be compiled against the same kernel source that will be used, and using the same compiler. In your case, gcc-3.4 was used to compile the kernel and gcc-4.0 was used to compile ndiswrapper. You have 2 easy choices: (1) If the full kernel sources are installed, recompile and reinstall the kernel, or (2) There is a python module that will change the version magic in modules. Google for "change version magic module". |
From: engage <en...@n0...> - 2005-12-23 22:11:28
|
On Friday 23 December 2005 12:26, Larry Finger wrote: >engage wrote: >> On Tuesday 20 December 2005 06:15, Olivier Blin wrote: >>>engage <en...@n0...> writes: >>>>I just upgraded to Mandriva 2006 and I can't get ndiswrapper to load. >>>>Since it was OK with kernel 2.6.14 & Mandriva 2005, it must be a distro >>>>version issue. Currently, I'm using the stock kernel for Mandriva 2006 >>>> and ndiswrapper 1.7. Anyone have a clue as to why it's broken with >>>>Mandriva2006/kernel2.6.14/ndiswrapper1.7 (and 1.6)? >>>> >>>>FATAL: Error inserting ndiswrapper >>>>(/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format >>> >>>The module version is probably incorrect, have a look in your system >>>logs (/var/log/messages) to check that. >>>To fix that, you have to modify the EXTRAVERSION field in >>>/usr/src/linux/Makefile (removing "custom" is probably enough) >>> >>>Regards >> >> Since kernel 2.6.14 is a vanilla kernel there is nothing in EXTRAVERSION >> in the Makefile. As I have already stated, I successfully used ndiswrapper >> 1.7 with kernel 2.6.14 with Mandriva *2005* but it doesn't work with >> Mandriva *2006* unless I use the stock kernel for Mandriva *2006*. I've >> installed ndiswrapper many times before so ndiswrapper should be working. >> I do have one other machine that I upgraded to Mandriva 2006 and kernel >> 2.6.14 and it's working fine with ndiswrapper 1.7 using either a Linksys >> or Netgear PCMCIA wireless card. The machine I'm having trouble with is >> using a Linksys PCI wireless card. From the output of /var/log/messages I >> get the impression that it's a compiler issue? This log output occurs when >> trying to use the 2.6.14 kernel. The card works fine with stock kernel >> 2.6.12-12mdk. But, I'm still trying to research these error messages. >> >> [engage@ws ~]$ su -c "lspci | grep Broadcom" >> Password: >> 00:05.0 Network controller: Broadcom Corporation BCM4306 802.11b/g >> Wireless LAN Controller (rev 03) >> [engage@ws ~]$ su -c "/usr/sbin/lshw | less" >> Password: >> *-network:0 >> description: Wireless interface >> product: BCM4306 802.11b/g Wireless LAN Controller >> vendor: Broadcom Corporation >> physical id: 5 >> bus info: pci@00:05.0 >> logical name: wlan0 >> version: 03 >> serial: 00:0f:66:6d:8d:c9 >> width: 32 bits >> clock: 33MHz >> capabilities: bus_master ethernet physical wireless >> configuration: broadcast=yes driver=ndiswrapper >> ip=###.###.#.# link >> =yes multicast=yes wireless=IEEE 802.11g >> resources: iomemory:dfffc000-dfffdfff irq:16 >> [engage@ws ~]$ su -c "/usr/sbin/ndiswrapper -l" >> Password: >> Installed drivers: >> bcmwl5 driver present, hardware present >> [engage@ws ~]$ su -c "grep ndiswrapper /var/log/messages" >> Password: >> Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' >> should be '2.6.14 K7 gcc-3.4' >> Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' >> should be '2.6.14 K7 gcc-3.4' >> Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' >> should be '2.6.14 K7 gcc-3.4' >> Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper >> (/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format >> Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' >> should be '2.6.14 K7 gcc-3.4' > >The message is very clear. Modules must be compiled against the same kernel > source that will be used, and using the same compiler. In your case, > gcc-3.4 was used to compile the kernel and gcc-4.0 was used to compile > ndiswrapper. You have 2 easy choices: (1) If the full kernel sources are > installed, recompile and reinstall the kernel, or (2) There is a python > module that will change the version magic in modules. Google for "change > version magic module". > It may be clear to a professional programmer but for a novice like me it's a cryptic message (i.e. what the heck does "version magic" mean?). Anyway, the modules were built after make mrproper && make menuconfig with make modules && make modules_install. There is a /lib/modules/2.6.14. I'll do it again and see if that doesn't fix my problem. I have noted on a couple of my older computers that I had a lot of trouble with building modules with errors about the kernel source even though the source code looked good to me. Anyway, back to work on this. |
From: Larry F. <Lar...@lw...> - 2005-12-23 23:31:07
|
engage wrote: > On Friday 23 December 2005 12:26, Larry Finger wrote: > >>engage wrote: >> >>>On Tuesday 20 December 2005 06:15, Olivier Blin wrote: >>> >>>>engage <en...@n0...> writes: >>>> >>>>>I just upgraded to Mandriva 2006 and I can't get ndiswrapper to load. >>>>>Since it was OK with kernel 2.6.14 & Mandriva 2005, it must be a distro >>>>>version issue. Currently, I'm using the stock kernel for Mandriva 2006 >>>>>and ndiswrapper 1.7. Anyone have a clue as to why it's broken with >>>>>Mandriva2006/kernel2.6.14/ndiswrapper1.7 (and 1.6)? >>>>> >>>>>FATAL: Error inserting ndiswrapper >>>>>(/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format >>>> >>>>The module version is probably incorrect, have a look in your system >>>>logs (/var/log/messages) to check that. >>>>To fix that, you have to modify the EXTRAVERSION field in >>>>/usr/src/linux/Makefile (removing "custom" is probably enough) >>>> >>>>Regards >>> >>>Since kernel 2.6.14 is a vanilla kernel there is nothing in EXTRAVERSION >>>in the Makefile. As I have already stated, I successfully used ndiswrapper >>>1.7 with kernel 2.6.14 with Mandriva *2005* but it doesn't work with >>>Mandriva *2006* unless I use the stock kernel for Mandriva *2006*. I've >>>installed ndiswrapper many times before so ndiswrapper should be working. >>>I do have one other machine that I upgraded to Mandriva 2006 and kernel >>>2.6.14 and it's working fine with ndiswrapper 1.7 using either a Linksys >>>or Netgear PCMCIA wireless card. The machine I'm having trouble with is >>>using a Linksys PCI wireless card. From the output of /var/log/messages I >>>get the impression that it's a compiler issue? This log output occurs when >>>trying to use the 2.6.14 kernel. The card works fine with stock kernel >>>2.6.12-12mdk. But, I'm still trying to research these error messages. >>> >>>[engage@ws ~]$ su -c "lspci | grep Broadcom" >>>Password: >>>00:05.0 Network controller: Broadcom Corporation BCM4306 802.11b/g >>>Wireless LAN Controller (rev 03) >>>[engage@ws ~]$ su -c "/usr/sbin/lshw | less" >>>Password: >>>*-network:0 >>> description: Wireless interface >>> product: BCM4306 802.11b/g Wireless LAN Controller >>> vendor: Broadcom Corporation >>> physical id: 5 >>> bus info: pci@00:05.0 >>> logical name: wlan0 >>> version: 03 >>> serial: 00:0f:66:6d:8d:c9 >>> width: 32 bits >>> clock: 33MHz >>> capabilities: bus_master ethernet physical wireless >>> configuration: broadcast=yes driver=ndiswrapper >>>ip=###.###.#.# link >>>=yes multicast=yes wireless=IEEE 802.11g >>> resources: iomemory:dfffc000-dfffdfff irq:16 >>>[engage@ws ~]$ su -c "/usr/sbin/ndiswrapper -l" >>>Password: >>>Installed drivers: >>>bcmwl5 driver present, hardware present >>>[engage@ws ~]$ su -c "grep ndiswrapper /var/log/messages" >>>Password: >>>Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' >>>should be '2.6.14 K7 gcc-3.4' >>>Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' >>>should be '2.6.14 K7 gcc-3.4' >>>Dec 23 10:23:59 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' >>>should be '2.6.14 K7 gcc-3.4' >>>Dec 23 10:24:14 ws modprobe: FATAL: Error inserting ndiswrapper >>>(/lib/modules/2.6.14/misc/ndiswrapper.ko): Invalid module format >>>Dec 23 10:24:14 ws kernel: ndiswrapper: version magic '2.6.14 K7 gcc-4.0' >>>should be '2.6.14 K7 gcc-3.4' >> >>The message is very clear. Modules must be compiled against the same kernel >>source that will be used, and using the same compiler. In your case, >>gcc-3.4 was used to compile the kernel and gcc-4.0 was used to compile >>ndiswrapper. You have 2 easy choices: (1) If the full kernel sources are >>installed, recompile and reinstall the kernel, or (2) There is a python >>module that will change the version magic in modules. Google for "change >>version magic module". >> > > > It may be clear to a professional programmer but for a novice like me it's a > cryptic message (i.e. what the heck does "version magic" mean?). Anyway, the > modules were built after make mrproper && make menuconfig with make modules > && make modules_install. There is a /lib/modules/2.6.14. I'll do it again and > see if that doesn't fix my problem. I have noted on a couple of my older > computers that I had a lot of trouble with building modules with errors about > the kernel source even though the source code looked good to me. Anyway, back > to work on this. If you have rebuilt the kernel, you have the hard part done. Now you need to get the sources for ndiswrapper and "make" and "make install" it. Your resulting ndiswrapper.ko and the kernel will have been compiled with the same version of gcc. The "version magic" describes the kernel, the architecture and the compiler that were used to build the component. It is used to ensure that a module, and the kernel will play together. Without it, someone might try to install a PPC module into an I386 kernel and then complain that Linux is bad because it crashes. |