LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 08-02-2005, 03:06 AM   #1
eddi
LQ Newbie
 
Registered: Feb 2004
Location: England UK
Distribution: RH9 Mandrake 10.2
Posts: 14

Rep: Reputation: 0
Another 'modprobe ndiswrapper' error


I know there's been plenty asked about this problem and I've yet to find a solution for this error, I've trawled through a lot of posts and google may have even missed a few. Anyway when at root I 'modprobe ndiswrapper' and get this.

Code:
[root@mandriva ndiswrapper]# ndiswrapper -l
Installed ndis drivers:
wg311v2 driver present, hardware present
[root@mandriva ndiswrapper]# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.11-6mdk/misc/ndiswrapper.ko): Invalid module format
Most come down to kernel version miss-match. But I'm sure it's not a problem here as the numbers seem to match up, don't they? I built the kernel as that seemed a common solution but no help.

Code:
[root@mandriva build]# cat /proc/version
Linux version 2.6.11-6mdk (gb@n2.mandrakesoft.com) (gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)) #1 Tue Mar 22 16:04:32 CET 2005
[root@mandriva build]# modinfo ndiswrapper
filename:       /lib/modules/2.6.11-6mdk/misc/ndiswrapper.ko
parmtype:       if_name:charp
parm:           if_name:Network interface name or template (default: wlan%d)
parmtype:       proc_uid:int
parm:           proc_uid:The uid of the files created in /proc (default: 0).
parmtype:       proc_gid:int
parm:           proc_gid:The gid of the files created in /proc (default: 0).
parmtype:       hangcheck_interval:int
parmtype:       debug:int
parm:           debug:debug level
parm:           hangcheck_interval:The interval, in seconds, for checking if driver is hung. (default: 0)
author:         ndiswrapper team <ndiswrapper-general@lists.sourceforge.net>
version:        1.2
license:        GPL
vermagic:       2.6.11-6mdkcustom 686 gcc-3.4
depends:        usbcore
srcversion:     4053A6C7057E345A70AB170
[root@mandriva build]#
I do notice that in the last bit it mentions '2.6.11-6mdkcustom', should I be building the source from there rather then 2.6.11-6md which is what I have been doing .

What am I doing wrong, am I doing something in the wrong order perhaps?

Any comments would be helpful� Thank you
 
Old 08-02-2005, 10:21 AM   #2
lwfinger
LQ Newbie
 
Registered: Sep 2003
Distribution: SuSE 9.1, 9.2, 9.3
Posts: 26

Rep: Reputation: 15
After you build the kernel, you then need to build ndiswrapper for that kernel.

Due to all the changes in the PCMCIA subsystem, I am currently building and testing all the 2.6.13-rcx kernels. I keep the ndiswrapper-1.1 sources on disk. After building one of the new kernels and booting it, ndiswrapper is not available. During that first run, I make and install ndiswrapper. On subsequent reboots, my wifi network is then available.

Incidently, I use V1.1 of ndiswrapper rather than 1.2. The latter version causes the system to hang during shutdown and I have to power the machine off.

Larry
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ndiswrapper and modprobe error samuelLjackson Linux - Wireless Networking 12 06-20-2007 07:19 AM
FATAL Error when modprobe ndiswrapper plz help! sendas4 Linux - Wireless Networking 7 05-04-2006 11:54 PM
error when modprobe(ing) ndiswrapper djgerbavore Slackware 1 07-01-2005 04:53 PM
SuSE 9.2 - ndiswrapper error on modprobe achtunga Suse/Novell 7 06-26-2005 02:28 PM
modprobe error while configuring ndiswrapper jaime1978 Linux - Laptop and Netbook 3 06-16-2004 03:31 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration