LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2005, 06:44 PM   #1
46&2
Member
 
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67

Rep: Reputation: 15
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.
 
Old 04-15-2005, 07:04 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
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
 
Old 04-15-2005, 07:13 PM   #3
46&2
Member
 
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
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?
 
Old 04-15-2005, 07:33 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
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.

Last edited by mcd; 04-15-2005 at 07:37 PM.
 
Old 04-15-2005, 07:45 PM   #5
46&2
Member
 
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
Found it! It was in rc.modules. Thanks for pointing me in the right direction.
 
Old 04-15-2005, 07:49 PM   #6
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
awesome! wtg!
 
  


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
Kernel and agpgart and ide_scsi module not found houler Slackware 5 08-01-2008 03:01 AM
Can't compile agpgart as module in kernel 2.6.11.3 bugsbunny Slackware 5 01-11-2007 10:40 AM
Where's my bloody agpgart module?! :D DreameR-X Slackware 15 06-04-2005 07:35 AM
module agpgart not working Mr. D. Linux - Hardware 7 08-19-2004 08:07 PM
How can I make a module (such as agpgart) load at boot? JsTNXD Red Hat 1 01-29-2004 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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