[ILUG] Re: etch and kernel modules

martin f krafft madduck at skynet.ie
Fri Nov 24 08:29:02 GMT 2006


also sprach Niall O Broin <niall at linux.ie> [2006.11.24.0953 +1100]:
> >to /etc/modprobe.d/local-disabled-modules to blacklist them. Then
> >remake the initramfs.
> 
> Excellent - that's exactly what I want. However, it brings up another
> question. In the interests of experimentation, I tried to alter an
> existing initramfs. It's a gzipped cpio, how hard could it be? So I
> unzipped it to a directory, removed what I didn't want, made a  
> gzipped cpio, and it wouldn't boot :-( Then I RTFS and made the cpio  
> correctly in newc format and it booted.

I am not totally on top of this stuff yet and have only ever used
update-initramfs :)

> What you have suggested above will remove modules but won't do
> anything about local-scripts. Is there a kosher way of disabling
> some  of those, or do I need to do what I have done, extract them
> by brute  force?

Deinstall the package that's responsible for the scripts?

> Note that this issue of unwanted raid modules isn't unique to that  
> kernel though. I was running 2.6.16 on the box and had the same issue  
> with RAID modules (except that raid4, raid5 and raid6 were separate  
> modules in that kernel)

I think I spotted the problem. I don't think I can fix it for etch.
The solution for now is to add

MD_MODULES=''

to /etc/default/mdadm

Cheers,

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net at madduck
 
# vim:tw=70



More information about the ILUG mailing list