LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-09-2007, 11:56 AM   #1
linusneumann
LQ Newbie
 
Registered: Apr 2007
Posts: 13

Rep: Reputation: 0
Suse: prevent Module from being loaded at boot.


Hey,

my SuSE 10.2 stalls at boot, when loading the ndiswrapper. This also happens in failsafe etc.
The problem appeard after a kernel update. Anyways, to gain bakc acces to the system I want to keep it from loading the ndiswrapper module at bootup.

That's it... I think / hope to be able to help myself from there on...

I have access to the hd via live-CDs and a parallel Mandriva installation... It should be just the change of one config file, right? I just don't know which one...


Thanky, lads,

Linus (yes, this is my real name. Yes, still I'm a noob)
 
Old 05-09-2007, 12:31 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You probably just need to add the module 'ndiswrapper' to a blacklist which prevents it from being loaded. I'm not a SuSE user myself for a few good reasons and it could depend on the distribution which file you need to edit, but I'd try this: edit (probably as root) the file /etc/modprobe.conf.local (or equivalent) and add this line there:
Code:
blacklist ndiswrapper
save, reboot and see if it helps.
 
Old 05-09-2007, 12:59 PM   #3
linusneumann
LQ Newbie
 
Registered: Apr 2007
Posts: 13

Original Poster
Rep: Reputation: 0
not solved yet...

I tried that, but it doesn't work... The system still hangs with the message

usbcore: registered new driver usbfs
ndis wrapper version 1.25 loaded (preempt=no,smp=yes)
_ (blinking)

being the last thing to be displayed.

Definately, ndiswrapper is still loaded. It is not confirmed with a green "done" on the right, so I suppose this is where the system hangs... or is the loading of ndiswrapper not supposed to be confirmed and the stallng actually occurs in the step that follows? How would I find out which one that is?

However, I believe its the ndiswrapper....

How about just deleting the module?
Will the system give an error message, and continue to boot?

Thx
 
Old 05-09-2007, 01:30 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Look in /etc/modprobe.conf. If you find the line that starts the ndiswrapper module, add the comment hash to the beginning of the line.
 
Old 05-09-2007, 04:01 PM   #5
linusneumann
LQ Newbie
 
Registered: Apr 2007
Posts: 13

Original Poster
Rep: Reputation: 0
still no chance...

the file does not even contain "ndiswrapper", "ndis", or "wlan" etc....

So still, ...
 
Old 05-09-2007, 04:14 PM   #6
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Next thing to try: look at/into the files in /etc/sysconfig/network. Do you find anything about ndiswrapper?
 
Old 05-09-2007, 05:08 PM   #7
linusneumann
LQ Newbie
 
Registered: Apr 2007
Posts: 13

Original Poster
Rep: Reputation: 0
didn't work either, but here's my (probably totally unorthodox) solution:

I copied Kernel and modules from the mandriva partition to the suse partition and created an appropriate antry in my /boot/grub/menu.lst
So I was booting the mandriva kernel with my suse partition being mounted as the root file system. Careful: I did not overwrite anything! Kernel versions were different anyways... This worked at least good enough to get me going in runlevel 5 without graphical interface though, since nvidia driver modules were not yet installed for the mandriva kernel. Then I simply ran yast2 from shell and uninstalled the ndiswrapper RPM.

Now, using the original menu.lst entry, I can boot Suse as usual.

I am now going to compile ndiswrapper manually.
The system is up and running as I write, but we'll see how far I'll get from here.

Does anyone know whether this was "orthodox" or will I experience a lot of problems now?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent loading IPv6 module at boot? Malibyte Debian 2 12-24-2005 12:28 AM
Prevent lp and parport module from loading jlinkels Linux - Hardware 0 10-16-2005 07:49 PM
paraport_pc module loaded with wrong options, st not loaded adrianmariano Debian 2 12-18-2004 09:37 PM
Module loaded into kernel at Boot Wolf_Assassin Linux - Software 11 08-11-2004 05:57 PM
How to prevent a module from attempting to load in Gentoo? raid517 Linux - Software 0 08-01-2004 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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