modprobe ndiswrapper (FATAL: Error inserting ndiswrapper )
I have managed to use ndiswrapper to try and use Windows XP driver (inf, sys etc) and ndiswrapper is now configured and can see the device;
I verified this with 'ndiswrapper -l' which shows device present with correct device id as matched in 'lsusb'. The ndiswrapper guide from the source docs then advise to 'modprobe ndiswapper' to insert and load the module to allow a wlan0 device to be configured with wireless-tools. But I get the error: Code:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.29.6/misc/ndiswrapper.ko): Invalid module format Where am I going wrong?? |
Just to check, you wouldn't be trying to load 32 bit drivers onto a 64 bit system or vice versa? I know that trying this brings up an error like this.
|
sorry, here is more system/setup info:
default hugesmp.s kernel 32-bit in use straight from install; no kernel modding/hacking/custom-builds etc; ndiswrapper built on same system it is being used on; ndiswrapper built from slackbuilds.org with source & slackbuild script from slackbuilds from 32-bit source; installed '.tgz' from consequent slackbuild from '/tmp' using 'installpkg'. 32-bit system, Slackware 13, full install from 32-bit, dvd iso; on this box: 256MB RAM; 900MHz; I am using same 32-bit slack on other boxes with more open-source compliant hardware without problems. windows XP 32-bit driver is for a WinBond Usb2Wlan USB Wireless adapter (NB, for other linux users/searches, STAY AWAY FROM THIS HARDWARE VENDOR - a nightmare!!) |
You should not be using the huge kernel. It is for install only as well as non special setups. That is, only needing it to function as is out of the box.
If you have to install any kind of your own drivers, you should be using the generic kernel. This does require you to create an initrd image however. There is a helper script included in Slackware under /usr/share/mkinitrd?? BTW... 2.6.29.6 is for non smp systems. chances are you are running the 2.6.29.6-smp??? list the output of "uname -r" |
Quote:
Code:
uname -r Code:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.29.6/misc/ndiswrapper.ko): Invalid module format ndiswrapper is a slackbuild after I created the initrd with generic kernel - same machine, same kernel, no additional options/parameters passed for the SBo - just a plain vanilla Slackbuild using "./ndiswrapper*.SlackBuild". |
Check the outputs of the following
Code:
uname -r -v |
Code:
root@eva-earth:~/Projects/W2kXP# uname -r -v Code:
root@eva-earth:~/Projects/W2kXP# /sbin/modinfo -F vermagic ndiswrapper |
From CHANGES_AND_HINTS.TXT:
Code:
Use one of the provided generic kernels for daily use. Do not report |
mkinitrd'ed with generic-2.6.29.6-smp, then lilo bootloader configured appropriately and 'modprobe ndiswrapper' is working perfectly.
Thank you for all support. |
All times are GMT -5. The time now is 08:43 AM. |