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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-15-2005, 06:44 PM
|
#1
|
Member
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67
Rep:
|
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.
|
|
|
04-15-2005, 07:04 PM
|
#2
|
Member
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825
Rep:
|
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
|
|
|
04-15-2005, 07:13 PM
|
#3
|
Member
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67
Original Poster
Rep:
|
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?
|
|
|
04-15-2005, 07:33 PM
|
#4
|
Member
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825
Rep:
|
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.
|
|
|
04-15-2005, 07:45 PM
|
#5
|
Member
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67
Original Poster
Rep:
|
Found it! It was in rc.modules. Thanks for pointing me in the right direction.
|
|
|
04-15-2005, 07:49 PM
|
#6
|
Member
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825
Rep:
|
awesome! wtg!
|
|
|
All times are GMT -5. The time now is 12:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|