Comment 11 for bug 22107

Revision history for this message
Phillip Susi (psusi) wrote : Re: Breezy RC missing dmraid support needed to access SATA raids

Fabio, I am not sure why you keep bringing up klibc, it doesn't even seem to be
used in the existing ubunto initramfs. It has the standard libc in /lib.
Anyhow, I got the system working. It turned out that the kernel wants the cpio
archive in newc format, but cpio defaults to using bin format, so the kernel
simply ignored it.

What I did was place the dmraid binary in /bin of the initramfs, and added a
script to scripts/local-top named dmraid which just does a modprobe to load the
mapper device driver, then calls dmraid -ay to discover the raid.

I am not sure how to modify mkinitramfs to do this automatically, maybe you know?

Anyhow, as for getting ununtu to support this, it seems like it doesn't take
much. This is what I've got so far:

1) add the dmraid utility to the setup/livecd and have it invoked during init to
discover any devices.
2) add the dmraid utility to the initramfs packages
3) fix gparted so it can correctly manipulate these disks. See the related bug.
4) lilo. This is a bit complex. See the related bug on the subject.