You are not logged in.

#1 2006-01-03 15:02:30

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

ndiswrapper probelem....again! [SOLVED]

I had my wireless all set up, then i had to re-install arch due to a bad kernel update.  So i am working on getting my wireless card to be recognized.  I did everything i did the 1st time (used ndiswrapper)....here is the result:

[root@Laptop mitch]# ndiswrapper -l
Installed drivers:
bcmwl5          driver present, hardware present
[root@Laptop mitch]# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.15-ARCH/kernel/misc/ndiswrapper.ko): Invalid module format

Is there a way i can somehow tell modprobe the right module? I have already used depmod, and have tried un-installing and re-installing ndiswrapper, but each time it says the same as the above, am i just out of luck, or is there a way around this?


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#2 2006-01-03 15:27:20

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ndiswrapper probelem....again! [SOLVED]

I havent done anything about the problem since my last post but recompile ndiswrapper and now  i get

[root@Laptop mitch]# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.

This is making me angry that it works one minute, but not the next........... :x  :x  :x


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#3 2006-01-03 15:47:46

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: ndiswrapper probelem....again! [SOLVED]

perhaps you are on a different kernel than the one you compiled it for?

pacman -Ql ndiswrapper

and uname -a.

try rebooting into the kernel you compiled it for, maybe.

Offline

#4 2006-01-03 15:58:39

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ndiswrapper probelem....again! [SOLVED]

Ok, turns out you were right, i was using kernel 2.6.15 and it was compiled under 2.6.14....So i recompiled it and all is well....Thanks again!!!


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#5 2006-01-03 16:28:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ndiswrapper probelem....again! [SOLVED]

Yes, I apologize about that - I've been moving and haven't had an internet connection on my arch machine to allow me to update that.... :oops: I didn't know the kernel was upgraded.  Sorry.

Offline

#6 2006-02-08 19:14:57

Xor83
Member
Registered: 2005-11-17
Posts: 31

Re: ndiswrapper probelem....again! [SOLVED]

I use a home made kernel and I got a similar problem.   Ndiswrapper always link to 2.6.15-ARCH, and my kernel is named 2.6.15-ck3 ... so it seem to have a little problem somewhere !  And I did reinstalled it many time to be sure ... and it always point to ARCH ...

If you can fixe that, it would be nice !

Have a nice day !
Xor

Offline

#7 2006-02-08 20:14:14

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: ndiswrapper probelem....again! [SOLVED]

The ndiswrapper package in extra is built for the stock arch kernel. To make it work with your home made kernel, you'll need to use abs to rebuild ndiswrapper.

Offline

#8 2006-02-08 20:46:10

Xor83
Member
Registered: 2005-11-17
Posts: 31

Re: ndiswrapper probelem....again! [SOLVED]

But isn't there a way to make it work with the user kernel by default ?  Some sort of auto detect ... with "uname -r" for instance ?  I would be less anoying for those using a non-Arch Kernel, and also avoiding someone time to find why it doesn't work ... just a suggestion by the way !  It would be nice if it worked by default !

Offline

#9 2006-02-09 02:37:50

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: ndiswrapper probelem....again! [SOLVED]

Xor83 wrote:

But isn't there a way to make it work with the user kernel by default ?  Some sort of auto detect ... with "uname -r" for instance ?  I would be less anoying for those using a non-Arch Kernel, and also avoiding someone time to find why it doesn't work ... just a suggestion by the way !  It would be nice if it worked by default !

No, that won't work. Even if it founds the module, it will only give you some "unresolved symbols" error and won't load. 

Kernel modules are very "fussy". They need to be compiled for a specific kernel and with the same version of gcc that was used to compile the kernel.

All modules in current/extra are compiled for the stock kernel.   It is assumed that if you have the knowledge and time to build a custom kernel, then you have the knowledge/time to build the modules you need.

Offline

#10 2006-02-09 06:59:35

Xor83
Member
Registered: 2005-11-17
Posts: 31

Re: ndiswrapper probelem....again! [SOLVED]

Doh !  I forgot it was precompiled :-P  In my solution, I was presuming the package was compiled on the user machine ... not on the maintainer machine !  That's logical !!! Sorry for the confusion !!! (Using Arch for my desktop and Gentoo for my server ... I though the Gentoo-way :-P)

Sorry for all that !!! I perfectly understand the problem !!! Thanks for the answer by the way !

Have a nice day !
Xor

Offline

Board footer

Powered by FluxBB