Correct Way To Disable Loading A Module?

Markus Kolb ubuntu-ml at tower-net.de
Thu Oct 7 15:47:25 UTC 2004


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




More information about the ubuntu-users mailing list