Results 1 to 10 of 11
Hi all! It's me again. I now understand why Gentoo is billed as a several-day-long install operation. Well, let me give you an update: I can now boot into Gentoo ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-28-2005 #1
ndiswrapper modprobe issue
Hi all! It's me again. I now understand why Gentoo is billed as a several-day-long install operation.
Well, let me give you an update:
I can now boot into Gentoo and operate in there. Currently, though, I'm in Knoppix, with Gentoo open in a terminal.
I now need to set up my ndiswrapper so I can emerge from the Gentoo itself. This is important for letting me configure my X Server, requiring me to modify my config files as things turn up, and once all is done, finally emerge GNOME.
Now then, I have emerge'd ndiswrapper, and have properly installed the inf file. However, the problem comes when I run "modprobe ndiswrapper". This gives me the old "Improper format" error message. When I run "dmesg wlan0", I get the following message (I wrote a Perl script to extract it, so it was a learning experience!):
ndiswrapper: version magic '2.6.11-gentoo-r6 SMP preempt PENTIUM4 gcc-3.3' should be '2.6.11-gentoo-r6 SMP preempt PENTIUM4 4KSTACKS gcc-3.3'
I have tried running "modules-update", and this has done nothing. I also tried unmerging ndiswrapper and re-emerging it. It still gives me this error.
If anyone has any ideas, feel free to share. Again, thank you all.
- 04-28-2005 #2
Alrighty, I think I've figured the problem. When I run "uname -v", I'm running a kernel compiled at:
However, the kernel image that GRUB is booting was created at:
Furthermore, my ndiswrapper is named ending with the -r3 extension, while my kernel is r6.
I've tried re-installing GRUB several times, but it still boots to a kernel 2 hours early. What am I doing wrong?
Also, as another note, this is the error message I get when I modprobe ndiswrapper:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.11-gentoo-r6/misc/ndiswrapper.ko): Invalid module format
- 04-28-2005 #3
did u remove the 4kstacks from the kernel or from the scrypt?
the proper thing to of done here would of unchecked 4kstacks in the kernel and checked 8kstacks
make shure the date set correctly and if not then re set it
recompile your kernel then re-emerge ndiswrapper and all should be wess and you shouldnt need to set it up again(and remember that when u recompile the kernel to a new version you need to re-emerge ndiswrapper)
- 04-28-2005 #4
I unchecked the 4KSTACKS in the kernel. There was no 8KSTACKS option that I can see; I believe that is the default.
As far as date, there is something a little funky going on; my Gentoo time is about 5 hours before my Knoppix time (as in 00:00:00 in Knoppix is 19:00:00 in Gentoo). However, either way, my Gentoo is showing the two things 2 hours apart.
I also re-emerged ndiswrapper several times to no avail.
- 04-28-2005 #5
im a bit confused on the time thing what exactly is or inst going on on boot?
and what dose that have to do with the ndiswrapper....if it is a seperate issue then start a new thread
- 04-28-2005 #6
The date relates because, after searching Gentoo forums, the problem seems to be caused by the booted kernel not being the compiled kernel. After checking the time of compilation of the running kernel, and the time of creation of the kernel image, I can see that they are different.
I believe that my ndiswrapper was compiled to run with a non-4KSTACKS kernel, but that I am running a 4STACKS kernel. Hence the problem.
I can't seem to correct this, so if you can think of something I missed, please let me know.
- 04-29-2005 #7
my suggestion would be to download the newest version of ndiswrapper from sourceforge. I believe that the newest version does not require the change in stacksize. And probably has fixed some other bugs. As with grub are you sure you have it pointed at right kernel source. When you change kernel are you copying over bzimage stuff.
cp arch/i386/boot/bzimage /boot/kernel-2.6 ----this kernel-2.6 is what i have called my kernel and is what is listed in grub.conf
cp System.map /boot/System.map
I also have to mount /boot before I do this because i have it as noauto is fstab.
- 04-29-2005 #8
I got ndiswrapper working. For some reason, "make install" managed to fix the error. I also re-emerged ndiswrapper (though I had done it before also).
I have switched over to LILO, as I was sick of GRUB. LILO is working fine.
I have fixed my clock sync errors that were created with Knoppix.
I have successfully emerged X and GNOME, and am typing this in Epiphany while Firefox is emerging.
Thank you all so much for your help.
- 04-29-2005 #9
- 04-29-2005 #10
Cabhan, isn't it a great feeling when you type startx and X actually starts.
Just curious, how long did it take to emerge Gnome.
I took just under 9 hours to emerge KDE.How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
New users read The FAQ