LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-26-2008, 02:15 PM   #1
witz
Member
 
Registered: Aug 2007
Posts: 46

Rep: Reputation: 16
ndiswrapper errors upon getting the module loaded with modprobe


Finally installed 12.1 on my laptop, great stuff as usual!
One problem though. I can't get the ndiswrapper module loaded for some reason after getting it installed. I'm running a 100& full slackware install with an original non smp kernel. (huge.s)

Code:
# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.24.5/misc/ndiswrapper.ko): Invalid module format
Looked in dmesg and found this
Code:
ndiswrapper: version magic '2.6.24.5-smp SMP mod_unload 686 ' should be '2.6.24.5 mod_unload 486 '
Any help would greatly appreciated as my wireless card only works through
ndiswrapper and finally getting internet acess through it would be nice =P

If you need more info, just let me know and I'll post it up. Thanks
 
Old 05-26-2008, 02:29 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Could you please list the output for "lsmod"?
 
Old 05-26-2008, 02:31 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
People, read the CHANGES_AND_HINTS.TXT file! It was not compiled just for fun!

From that file:
Quote:
If you decide to use one of the non-SMP kernels,
you will need to follow the instructions in /extra/linux-2.6.24.5-nosmp-sdk/README.TXT
to modify your kernel sources for non-SMP usage.
Note that this only applies if you are using the
Slackware-provided non-SMP kernel - if you build
a custom kernel, the symlinks at
/lib/modules/$(uname -r)/{build,source} will point
to the correct kernel source so long as you don't
(re)move it.
Your ndiswrapper problems will vanish after applying the instructions and recompiling your module.

Eric
 
Old 05-26-2008, 06:13 PM   #4
witz
Member
 
Registered: Aug 2007
Posts: 46

Original Poster
Rep: Reputation: 16
Smile

I just went ahead and simply reinstalled 12.1 and used the smp kernel and it actually worked good if not better with my single core cpu and ndiswrapper worked without a problems! Anyways it was a fresh install before and hadn't done anything to it and simply didn't feel like going through the pain of modifying the source. Thanks for the help Eric! I greatly appreciate it. =D
 
Old 05-27-2008, 07:15 AM   #5
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Rep: Reputation: 15
i had the same exact problem and couldnt figure out for about a week, and yea it was because i used the huge.s instead of the smp.

heres the link to fix your problem.
http://www.software-mirror.com/linux...-i486-1McD.tgz
 
Old 05-27-2008, 07:48 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Why should that link solve his problem? It links to a binary ndiswrapper package for the Slackware 12.0 kernel. The original poster uses Slackware 12.1 and that ndiswrapper package of yours will never work there (different kernel version).
A Slackbuild script for ndiswrapper would work, because you can build your own package then, for the kernel you are running on your own machine (Slackware 12.0, 12.1 or custom): http://www.slackware.com/~alien/slac...wrapper/build/

Eric
 
Old 06-30-2008, 11:17 PM   #7
geetha_sg
Member
 
Registered: Sep 2006
Posts: 32

Rep: Reputation: 15
I am having the same problem, I have rebuild the huge kernel 2.6.24.5 on slackware 12.1. Please help me... I am trying this since 2 weeks

Thanks
Geetha
 
Old 06-30-2008, 11:51 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

You should create a new thread so you can get more exposure.

I would suggest that you read the documentation that PV has provided; Announce 12.1, Slackware-Howto, CHANGES_AND_HINTS.TXT, UPGRADE.TXT. Plus the other text files relevant to your needs.
 
  


Reply



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
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
Module not loading with modprobe ndiswrapper BobNutfield Slackware 7 05-20-2008 10:51 AM
modprobe ndiswrapper: module not found jimjamjahaa Arch 9 04-11-2006 10:54 PM
SuSE 9.2 modprobe ndiswrapper errors SuSE starter Linux - Wireless Networking 2 05-18-2005 12:10 PM
strange errors when i modprobe ndiswrapper?????? pengy666 Linux - Wireless Networking 3 05-11-2005 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration