Well, wait a second.... mdadm not emerging has nothing to do with your configuration, it should emerge without you even having a config setup. I might be wrong, but isn't the error hinting at an issue finding the compiler?
-- Samir On 3/14/07, Arnau Bria <[EMAIL PROTECTED]> wrote:
Hi, I'm doing a fresh 2006.1 install on a RAID 1. I'm at the end of the install, and I'm having problems merging mdadm: >>> Source unpacked. >>> Compiling source in /var/tmp/portage/mdadm-2.6.1/work/mdadm-2.6.1 ... i686-pc-linux-gnu-gcc -Wall -march=pentium4 -O2 -pipe -fomit-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -c -o mdadm.o mdadm.c /bin/sh: i686-pc-linux-gnu-gcc: command not found make: *** [mdadm.o] Error 127 !!! ERROR: sys-fs/mdadm-2.6.1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mdadm-2.6.1.ebuild, line 29: Called die So, I start checking things, and first one is mdadm.conf: # cat /etc/mdadm.conf ARRAY /dev/md1 level=raid1 num-devices=2 UUID=8cee4c4f:4d4c24bd:cc5bee91:c83b42b5 ARRAY /dev/md2 level=raid1 num-devices=2 UUID=8b9f4d0c:69fa806c:2202b13b:91b36928 but when I do a mdadm -detail --scan I get next. # mdadm --detail --scan mdadm: Unknown keyword mdadm mdadm: Unknown keyword mdadm ARRAY /dev/md1 level=raid1 num-devices=2 UUID=8cee4c4f:4d4c24bd:cc5bee91:c83b42b5 ARRAY /dev/md2 level=raid1 num-devices=2 UUID=8b9f4d0c:69fa806c:2202b13b:91b36928 Which is not very nice... From the chrrot env I see this: # cat /proc/mdstat Personalities : [raid1] [raid0] [raid5] [raid4] md2 : active raid1 hdb2[1] hda2[0] 87883456 blocks [2/2] [UU] md1 : active raid1 hdb1[1] hda1[0] 29302464 blocks [2/2] [UU] And I think it's correct, but as I'm newbie with RAIDS, I don't know what else I can look... Coul someone help me with this install? PS: My swap is out of the raid.... Cheers, Arnau -- gentoo-user@gentoo.org mailing list