LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-21-2007, 01:05 PM   #1
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Rep: Reputation: 15
modprobe ndiswrapper now crashing kernel


Hi! Here is my problem

I had ndiswrapper working great with the stock FC6 kernel, headers,and kernel source installed no problems. Eveything worked great, modprobe and ever wpa_supp was working great. So of course I decide to upgrade my kernel to 2.6.19-1.2895 due to it being installed when I updated my kmod-nvidia driver using yum. So of course I reboot into 2895 and X freezes at loading the wlan0, no problem I go into interactive mode and disabled wlan0 and wpa_supp on boot. So I get into X and I decide I need to upgrade my kernel headers and sources before I re-install ndiswrapper for the new kernel. I did that, with matching sources/header (or so I hope heh) I downloaded ndiswrapper 1.34 untarred it, ran a make/ make install. Then I decided to check ndiswrapper -l.. It seems like my net5416.inf was still loaded into it? I thought that was kinda odd, but whatever.. So I decide to do a modprobe ndiswrapper, and boom kernel crash.. I checked my rpm database to confirm that I had the right src/devel packages installed and they are, however the old ones still exist.. Is this ok?

Any ideas on why this is happening, Im gonna check /var/log/messages to see if I can get any more info

Thanks!

Last edited by EcoR1; 01-21-2007 at 02:44 PM.
 
Old 01-21-2007, 02:46 PM   #2
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Well since I posted my last msg Ive done everything from removing ndiswrapper completely and re-installing it.. I also reinstalled the src files and header files, ndis compiles np, the driver inserts into ndiswrapper, but when I run a modprobe it crashes every time.. Im not sure whats going on? Any ideas of what I could check?

Thanks

EcoR1
 
Old 01-21-2007, 03:06 PM   #3
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Ok update, I found out my problem might be due to the kernel set to 4k stacks.. So Im trying to apply a patch from ndiswrappers site called linux-2.6.19-16kstacks.patch but Im not sure how to apply it
 
Old 01-21-2007, 08:06 PM   #4
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Well that doesnt seem to be the problem, Ive patched the 2.6.19.2 kernel with stack 16 support and recompiled it. I removed ndiswrapper and reinstalled it.. Its a no go.. Still locking up when I try to do a modprobe.. Does anyone have any suggestions at all?

Thanks
 
Old 01-22-2007, 08:03 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,790
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
You could try one of the NTFS kernels. I believe that people have had success with those on Fedora. You also might check the linuxant site. I think they have Fedora kernels as well that might do the trick.
 
Old 01-22-2007, 10:42 AM   #6
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks for your reply, however as I mentioned, I successfully recompiled my own 2.6.19.2 kernel with 16k stack support by patching the kernel pre compile with the liunxant patch, and upon make menuconfig I did see the option selected for using 16k stacks instead of 8k stacks, so technically the kernel is compiled with a 16k stack.. Im thinking there is more to the equation here.. On linuxant's site they have a patch for their driver specifically condusive to the 2.6.19* kernels to make it work.. Im going to assume then that ndiswrapper may have an issue with the 2.6.19* kernels... Im gonna do some more research, but if you hear of anyone having success with these kernels and ndiswrapper please let me know

Thanks!

EcoR1
 
Old 01-22-2007, 10:48 AM   #7
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Haha! I was indeed correct!! For you ppl using the 2.6.19* kernels, PLEASE PLEASE PLEASE check out http://sourceforge.net/tracker/index...82&atid=604452 for a patch to fix the kernel crashing upon modprobing.. I cant wait to get home and try this!!! Im so excited this actually made me get off my ass and recompile my own kernel which was a great learning experience

EcoR1
 
Old 01-22-2007, 11:37 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,790
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Hm. That's interesting. It will be interesting to see if this does the trick or not.
 
Old 01-22-2007, 09:55 PM   #9
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Original Poster
Rep: Reputation: 15
SUCCESS!! I read deeper and found out the 1.34-rc2 ndiswrapper fixed the issues with the 2.6.19* kernels and it works beautifully now!
 
Old 01-23-2007, 06:36 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,790
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Congrats! And thanks for posting the answer, I suspect others are running into it.

By the way, I like the EcoR1 name, good choice.
 
Old 01-23-2007, 05:44 PM   #11
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Original Poster
Rep: Reputation: 15
lol ok check this out.. I reboot my system this afternoon cuz I made some changes to my services to speed up the computer a bit.. Once I tried doing a modprobe I now get FATAL: Error inserting ndiswrapper (/lib/modules/2.6.19-1.2895.fc6/misc/ndiswrapper.ko): Invalid modules format

What the hell has changed? Ill I did was reboot I didnt screw with the kernel or ndiswrapper at all
 
Old 01-24-2007, 06:48 AM   #12
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,790
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I'm betting the patch you applied has something to do with it. If you applied the patch that you linked to, but didn't compile and run a patched kernel, that might explain this error. What you might need to do is re-install the kernel source for your running kernel and then re-compile ndiswrapper.
 
Old 01-24-2007, 06:34 PM   #13
EcoR1
Member
 
Registered: Aug 2006
Posts: 34

Original Poster
Rep: Reputation: 15
indeed you were correct my man.. It didnt even phase my brain ! Thanks its up and working!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SUSE 10.1 modprobe ndiswrapper kernel crash tiddy Linux - General 4 08-24-2006 03:10 PM
modprobe ndiswrapper STILL freezing system, after 16k stack kernel yahonza Linux - Wireless Networking 3 01-31-2006 12:37 AM
Crashing ? ndiswrapper needs 8K stacks... me3 Linux - Laptop and Netbook 2 01-26-2005 05:17 PM
ndiswrapper keeps crashing in Mandrake 10.1 dychen Mandriva 2 01-03-2005 09:42 PM


All times are GMT -5. The time now is 05:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration