View previous topic :: View next topic |
Author |
Message |
plonka2000 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/487564537421e545bbd559.gif)
Joined: 02 Dec 2004 Posts: 160 Location: UK, Surrey
|
Posted: Fri Mar 25, 2005 12:10 pm Post subject: Error modprobing ndiswrapper |
|
|
Hi,
I'm getting an error when using the command:
Code: | # modprobe ndiswrapper |
The exact error I get is:
Code: | # modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.11-gentoo-r4/misc/ndiswrapper.ko): Invalid module format |
When I check my /var/log/everything/current log I see this line:
Code: | [kernel] ndiswrapper: version magic '2.6.11-gentoo-r4 preemt PENTIUM4 gcc-3.4' should be '2.6.11-gentoo-r4 preempt PENTIUM4 4KSTACKS gcc-3.4' |
I'm not too sure whats causing this error, as I've even written my own howto on setting up ndiswrapper here.
I'm sure it something to do with recompiling my kernel, which I did last night.
I checked my /usr/src/linux/.config file and 'CONFIG_4KSTACKS' is not set, as I was advised by the ndiswrapper emerge procedure, though I have noticed that there is a -/+4kstacks option for emerging ndiswrapper by doing:
Code: | # emerge ndiswrapper -v -p |
I also unmerged and (re)emerged ndiswrapper, and reinstalled the WG511 drivers (For my Netgear WG511 PCMCIA card) which worked on my T41 laptop after I upgraded the kernel. Didnt work on this PC though...
Does anyone have any idea what I need to do exactly?
Thanks... _________________ -Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.
Using Gentoo and Windows XPee.
Check my site here
Last edited by plonka2000 on Fri Mar 25, 2005 12:17 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plonka2000 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/487564537421e545bbd559.gif)
Joined: 02 Dec 2004 Posts: 160 Location: UK, Surrey
|
Posted: Fri Mar 25, 2005 12:16 pm Post subject: |
|
|
UPDATE: Just checked my kernel .config again and recompiled again then re-emerged AGAIN...
Still no joy... _________________ -Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.
Using Gentoo and Windows XPee.
Check my site here |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plonka2000 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/487564537421e545bbd559.gif)
Joined: 02 Dec 2004 Posts: 160 Location: UK, Surrey
|
Posted: Fri Mar 25, 2005 1:11 pm Post subject: |
|
|
Hi,
I've made progress but I'm stuck again...
I've changed the "4KSTACKS" option in my /usr/src/linux/.config file to:
and recompiled ndiswrapper with this command:
Code: | # emerge --unmerge ndiswrapper && USE="4kstacks" emerge ndiswrapper |
And now I get a different error:
Code: | # modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.11-gentoo-r4/misc/ndiswrapper.ko): Unknown symbol in module, or unknown parameter (see dmesg) |
And when I check my /var/log/everything/current I see:
Code: | [kernel] ndiswrapper: Unknown symbol wireless_send_event |
Is there anyone else who is had this issue and how did you solve it?
Thanks. _________________ -Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.
Using Gentoo and Windows XPee.
Check my site here |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jmahler n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Mar 2004 Posts: 42
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MarkG Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 28 Apr 2002 Posts: 90 Location: Dorset, UK
|
Posted: Fri Mar 25, 2005 11:01 pm Post subject: |
|
|
I seem to remember having this problem, I enabled
Code: | Device Drivers --->
Networking support --->
Wireless LAN (non-hamradio) --->
[*] Wireless LAN Drivers (non-hamradio) & Wireless Extensions | but this appeared to have no effect, so I randomly selected one of the drivers as a module Code: | <M> Intersil Prism GT/Duette/Indigo PCI/Cardbus | and rebuilt the kernel, this fixed the problem.
MarkG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plonka2000 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/487564537421e545bbd559.gif)
Joined: 02 Dec 2004 Posts: 160 Location: UK, Surrey
|
Posted: Sat Mar 26, 2005 2:51 pm Post subject: |
|
|
I've been trying all these things and have now recompiled my kernel for the uptenth time... I just dont get it...
Works fine on my laptop, but refuses on my PC (also using a PCMCIA card).
The card is recognised, the driver is installed but it refuses to modprobe...
I changed the selection in the kernel config from in-built to module to off and same result...
Does anyone have any other ideas? _________________ -Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.
Using Gentoo and Windows XPee.
Check my site here |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plonka2000 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/487564537421e545bbd559.gif)
Joined: 02 Dec 2004 Posts: 160 Location: UK, Surrey
|
Posted: Sun Mar 27, 2005 7:58 pm Post subject: |
|
|
Does no-one have any idea why this is happening?
I've pretty much hit a wall... _________________ -Do not be afraid of what is different.
-Do not be afraid of being different.
-After all, ignorance is not an excuse.
Using Gentoo and Windows XPee.
Check my site here |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ekengren n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Mar 2005 Posts: 1
|
Posted: Tue Mar 29, 2005 10:19 pm Post subject: Correct mounted boot partition? |
|
|
I had a similar problem trying to get the ndiswrapper to work.
I recompiled the kernel with 8k stacks and wlan extensions, emerged ndiswrapper and still got the error "Invalid module".
Then I discovered my silly mistake...
I had updated the kernel in the boot directory of my root partition (/dev/hda3), not on the boot partition. So I was still trying to use the ndiswrapper with a 4k stacks kernel without wlan extensions.
A simple mount /dev/hda1 and a recompile solved my problems...
kernel = 2.6.11.4 w/wlan extensions & 8kstacks
ndiswrapper = 1.1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|