LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-03-2006, 09:50 PM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
Unhappy Problems Removing Module ndiswrapper


I'm running slack 10.2 with kernel 2.6.13. i've installed ndiswrapper for my netgear pc card successfully. everything works except removing the ndiswrapper module from the kernel.
when i do
Code:
rmmod ndiswrapper
i still see the LED on my pc card lit up but when i check for the ndiswrapper module using lsmod there's nothing loaded into the kernel.
if i do modprobe ndiswrapper right after that and try to bring up my wlan0 interface it'll tell me that there's no such interface.
i've tried adding ndiswrapper to the blacklist but not luck. even tried installing ndiswrapper from scratch and that doesn't seem to work either.
i need to remove ndiswrapper from the kernel because of the way my notebook goes into sleep mode, sometimes after coming up from sleep it crashes my whole notebook and i have to reboot.
i had everything working fine yesterday until i re-did slackware on my notebook and installed everything from scratch.
if anyone could help me figure out what the problem is.
if it helps this is my modules configuration under the kernel config file

Code:
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
any help would be greatly appreciated. thank you
 
Old 06-04-2006, 02:54 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
First, start from scratch (To help with troubleshooting)

Go to your ndiswrapper source dir, and type
Code:
ndiswrapper -l  #gets drivername
ndiswrapper -e drivername
make uninstall
make clean
make
make install
That will get you a good starting point.
Then reinstall your ndiswrapper driver.
then
Code:
modprobe ndiswrapper
lsmod #Check it's there
As far as removing it,try
Code:
modprobe -r ndiswrapper
I beleive it removes it a bit more completely than 'rmmod'
Also, the 'make uninstall' will definately remove it
 
Old 06-05-2006, 04:47 AM   #3
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
Thanks for your reply. I figured out the problem after 5 hours of java. Looks like the PCMCIA card that i use (Netgear WG511 v2 - Taiwan) only works with ndiswrapper ver 1.1. Don't get me wrong, it works with other versions but i guess the module never removed from kernel. I installed 1.1 successfully and was able to remove the module from kernel successfully.
 
Old 06-06-2006, 11:39 PM   #4
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
that's really weird to have to remove the module to let the pc go to sleep.

for me, I had to actually /etc/rc.d/rc.pcmcia stop

Last edited by Old_Fogie; 06-09-2006 at 08:28 AM.
 
  


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
removing a module from initrd tomazN Linux - Software 2 05-28-2006 03:31 PM
Removing agpgart module 46&2 Linux - Newbie 5 04-15-2005 06:49 PM
Removing a module jrdioko Linux - Newbie 4 09-03-2004 01:10 AM
help removing module DWebb82 Linux - Software 5 05-24-2004 10:06 PM
Removing/Disabling a module hyperriven Linux - Software 5 11-05-2003 10:59 AM

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

All times are GMT -5. The time now is 04:56 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