LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Removing agpgart module (https://www.linuxquestions.org/questions/linux-newbie-8/removing-agpgart-module-313682/)

46&2 04-15-2005 05:44 PM

Removing agpgart module
 
This is a really newby question so I've put it here for obvious reasons.

I'm running Slackware 10.1 and I don't have a need for AGP support. Is there anyway I can make things so the agpgart module doesn't even consider loading without doing a recompile?

Thanks in advance for the replies.

mcd 04-15-2005 06:04 PM

i'm not entirely sure, but i think if you remove the module it won't load it the next time you boot...i think the command is

rmmod agpgart

or, if that doesn't work, try adding agpgart to /etc/hotplug/blacklist

46&2 04-15-2005 06:13 PM

Thanks for the reply mcd.

rmmod agpgart didn't work because the driver fails to load everytime. The return I got when I tried it was:

rmmod: module agpgart is not loaded

The blacklisting was a neat idea, but it didn't work either. The module still tried to load on startup. Is there anything else I should be doing?

mcd 04-15-2005 06:33 PM

if agpgart isn't loaded, then you can't remove it. i obviously misunderstood your question. when you type lsmod you get a list of the modules that are loaded into memory. anything that is _not_ listed is not using any memory (just a little disk space), so it probably isn't worth worrying about. the whole point of building things as modules is that you can unload them if you're not using them.


EDIT: i finally understand. it's trying to load and failing every time you boot, so you want to stop it from trying in the first place. right? i'm not sure where it gets called. the hotplug blacklist didn't work eh? i'm at work right now so i can't investigate on my own, but you could look through your startup scripts in /etc/rc.d and see where it gets loaded, and comment out that line.

46&2 04-15-2005 06:45 PM

Found it! It was in rc.modules. Thanks for pointing me in the right direction.

mcd 04-15-2005 06:49 PM

awesome! wtg!


All times are GMT -5. The time now is 12:15 PM.