Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 03-13-2004, 02:31 PM   #1
LQ Newbie
Registered: Sep 2003
Location: Zagreb, Croatia
Distribution: rh9, debian
Posts: 28

Rep: Reputation: 15
how do I disable kernel modules from being loaded

Hello !

I was having problems setting up ati radeon drivers on by linux box because i couldn't get fglrx kernel module loaded. Insmod kept saying "operation not permitted". I checked boot messages and found a line that said :

*ERROR* Fire GL kernel module has to be loaded prior to any other DRM kernel module

Did a cat /proc/modules, saw that there is an "radeon" module and then I removed it with rmmod and I was then able to load fglrx.

I would like ko know is there a way to disable that module from being loaded at boot time without recompiling the kernel or deleting th .ko file in /lib/modules/2.6.3..../..... Which script(s) are used to load kernel modules ?

Thank you.
Old 04-09-2004, 03:53 AM   #2
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Rep: Reputation: 15
look around in /etc, for a file like /etc/modules.conf. i'm not sure what distro you're using, but you probably have a modules.conf file somewhere that lists the modules to be loaded at startup. or there might be something in /etc/rc.d/, i'm too lazy to check (i'm not right near a linux box at the moment).

if playing with that doesn't work, or if you can't find it, you can always move the .ko file, and put it back when you need it.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I Get A List Of Modules Loaded In The Kernel ? linu_soft Programming 2 06-28-2004 06:39 AM
kernel: No module symbols loaded - kernel modules not enabled. Qucho Debian 9 05-26-2004 02:50 AM
Kernel 2.6.5 -> no modules loaded Spheerke Debian 4 04-07-2004 09:05 PM
Slack 9.1:kernel not remembering loaded modules. abhay Slackware 3 12-12-2003 09:43 AM
kernel modules loaded at boot time gusgorman Slackware 10 04-14-2003 10:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration