LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-29-2006, 03:08 AM   #1
Orangutanklaus
Member
 
Registered: May 2006
Posts: 93

Rep: Reputation: 15
Question 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
 
Old 12-29-2006, 06:39 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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
 
Old 12-29-2006, 11:30 AM   #3
Orangutanklaus
Member
 
Registered: May 2006
Posts: 93

Original Poster
Rep: Reputation: 15
I recompiled the kernel with the new gcc. Now it works.
Thanks mate.
 
  


Reply

Tags
format, module, ndiswrapper



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe problem: Error inserting ndiswrapper.ko Invalid module format Antarctica Linux - Hardware 8 11-25-2006 04:04 PM
Invalid Module Format with Ndiswrapper oldjoe Fedora 0 11-19-2006 11:51 PM
insmod: error inserting 'module.o': -1 Invalid module format ksrinivas Linux - Newbie 5 10-11-2006 07:29 AM
Invalid module format in modprobe asus_acpi kampret77 Linux - Laptop and Netbook 0 04-24-2006 11:56 AM
insmod: error inserting 'new.ko': -1 Invalid module format hemk76 Programming 2 01-26-2005 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration