[ILUG] Re: etch and kernel modules

martin f krafft madduck at skynet.ie
Sat Nov 25 08:11:39 GMT 2006


also sprach Niall O Broin <niall at linux.ie> [2006.11.24.2341 +1100]:
> >I think I spotted the problem.
> 
> So it really is a problem? Glad to have pointed it out so.

Yes and no. Due to being overly careful, I just ended up loading all
RAID modules if no RAID arrays need to be assembled. :)

This is the patch, against /usr/share/initramfs-tools/hooks/mdadm:

--- debian/initramfs/hook (revision 278)
+++ debian/initramfs/hook (working copy)
@@ -264,6 +264,7 @@
 
 else
   echo "MD_DEVS=none" >> $DESTCONFIG
+  echo "MD_MODULES=''" >> $DESTCONFIG
   info "no MD arrays will be started from the initial ramdisk." >&2
 fi
 
> >The solution for now is to add
> >
> >MD_MODULES=''
> >
> >to /etc/default/mdadm
> 
> It will still load raid1 as needed, yes?

Do you need raid1 for the root partition?

I think it would help much if you could set -x in
/usr/share/initramfs-tools/hooks/mdadm and then post the output
created when running update-initramfs.

Can I convince you to file a bug about this against mdadm?

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net at madduck
 
"our destiny exercises its influence over us even when, as yet,
 we have not learned its nature; it is our future that lays down the
 law of our today."
                                                 - friedrich nietzsche



More information about the ILUG mailing list