LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   modprobe ndiswrapper = error / invalid module format (https://www.linuxquestions.org/questions/slackware-14/modprobe-ndiswrapper-%3D-error-invalid-module-format-514541/)

Orangutanklaus 12-29-2006 03:08 AM

modprobe ndiswrapper = error / invalid module format
 
Aloah!

I'm currently trying to install a driver for my TRENDnet wireless card. I followed the instructions from the ndiswrapper wiki page.

I passed (nearly) all steps without an error.
Nearly cause I got a warning during the compile procedure:

Quote:

ndiswrapper compile warnung:

*** WARNING: This kernel seems to use 4K stack size option (CONFIG_4KSTACKS); many Windows drivers w ill not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel
Ok, I recognized it but I continued with the installation.

The following steps passed without any error until I started with modprobe ndiswrapper.

Quote:

FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17.9/misc/ndiswrapper.ko): Invalid module format
Is the 4k stack option (whatever it is) responsible?
Or maybe the new gcc version (from 3.x to 4.1.1) I had to install before I could compile ndiswrapper?

pace

Alien Bob 12-29-2006 06:39 AM

Your kernel and modules should be compiled with the same version of GCC.
You can also upgrade to Slackware 11.0 where ndiswrapper will compile correctly.

Eric

Orangutanklaus 12-29-2006 11:30 AM

I recompiled the kernel with the new gcc. Now it works.
Thanks mate. :)


All times are GMT -5. The time now is 04:07 PM.