Correct Way To Disable Loading A Module?

triad triad169 at gmail.com
Thu Oct 7 16:10:23 UTC 2004


Markus,

I symapthise with you.  I am in the same boat and cant figure out
howto stop this module and some other ones (ie filesystem types that i
dont need) from autoloading.  So if you come up with a sollution
please post up.  Thanks.

Andy


On Thu, 07 Oct 2004 17:47:25 +0200, Markus Kolb <ubuntu-ml at tower-net.de> wrote:
> On 07.10.2004 16:25, Martin Pitt wrote:
> > Hi Bill!
> >
> > bill g [2004-10-07  9:55 -0400]:
> >
> 
> [...]
> >>I built a file called "agpgart" and put "agpgart" in it.  Rebooted,
> >>but the module still loaded. There's another file in that directory,
> >>alsa-base, that's executable, so I made my file executable.  However,
> >>after another reboot, lsmod shows agpgart is still loading.
> 
> alsa-base need not to be executable and any other file in this directory
> need not to be executable.
> 
> >
> >
> > Then it's pulled in as a dependency of a specialized agp module. Try
> >
> >   lshal | grep agp
> >
> > which should uncover another module which depends on agpgart (e. g.
> > nvidia-agp, depending on the type of hardware you have); you have to
> > blacklist this as well.
> 
> lshal shows only hardware stuff and nothing driver related.
> 
> Did you mean lsmod | grep agp ?
> 
> Do you know that these modules are loaded by hal?
> 
> Markus
> 
> 
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list