[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get file:/; unloading kernel modules (2.6.18).



On Sat, Sep 29, 2007 at 05:11:56 -0700, Vivek.M wrote:

[...]

> > See "blacklist" in the manpage of modprobe.conf. Sometimes 
> > it can be necessary to use "install MODULENAME /bin/true" 
> > in addition to the blacklisting.
> 
> This didn't work either :(
> 
> darkstar> cat /etc/modprobe.d/blockedMods
> install fan       /bin/true
> install thermal   /bin/true
> install processor /bin/true
> 
> Also, contents of: /etc/modprobe.d/blacklist
> 
> blacklist fan
> blacklist thermal
> blacklist processor

Are you using an initrd? (Using an initrd is the default for the stock
Debian kernels.)

Maybe the modules are included in your initrd and loaded so early in the
boot process that the modprobe.d settings are bypassed.

You can check your initrd like this:

zcat /boot/initrd.img-$(uname -r) | cpio --list | egrep 'fan|thermal|processor'

(I know that this works for yaird-generated initrds, and I think it
 should also work with the ones from mkinitrd.)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: