public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gentoo on raid install
@ 2007-03-14 16:03 Arnau Bria
  2007-03-14 16:29 ` Samir Faci
  0 siblings, 1 reply; 4+ messages in thread
From: Arnau Bria @ 2007-03-14 16:03 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] gentoo on raid install
  2007-03-14 16:03 [gentoo-user] gentoo on raid install Arnau Bria
@ 2007-03-14 16:29 ` Samir Faci
  2007-03-14 16:45   ` Arnau Bria
  2007-03-14 16:50   ` [gentoo-user] gentoo on raid install [SOLVED] Arnau Bria
  0 siblings, 2 replies; 4+ messages in thread
From: Samir Faci @ 2007-03-14 16:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2115 bytes --]

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 <arnau@emergetux.net> 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
>
>

[-- Attachment #2: Type: text/html, Size: 2725 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] gentoo on raid install
  2007-03-14 16:29 ` Samir Faci
@ 2007-03-14 16:45   ` Arnau Bria
  2007-03-14 16:50   ` [gentoo-user] gentoo on raid install [SOLVED] Arnau Bria
  1 sibling, 0 replies; 4+ messages in thread
From: Arnau Bria @ 2007-03-14 16:45 UTC (permalink / raw
  To: gentoo-user

On Wed, 14 Mar 2007 11:29:12 -0500
Samir Faci wrote:

Hi,
> 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?
Well, as I was not sure, my first though was relationing conf-merge ...

I've merger some other packages (vixie-cron i.e.) and had no problems...

Anyway, gcc:
livecd / # gcc-config -l
 [1] i386-pc-linux-gnu-4.1.1 *

livecd / # gcc -v
Using built-in specs.
Target: i386-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i386-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i386-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i386-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i386-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i386-pc-linux-gnu/4.1.1/include/g++-v4 --host=i386-pc-linux-gnu --build=i386-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)

cheerrs! 
> --
> Samir
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] gentoo on raid install [SOLVED]
  2007-03-14 16:29 ` Samir Faci
  2007-03-14 16:45   ` Arnau Bria
@ 2007-03-14 16:50   ` Arnau Bria
  1 sibling, 0 replies; 4+ messages in thread
From: Arnau Bria @ 2007-03-14 16:50 UTC (permalink / raw
  To: gentoo-user


I've changed CHOST to i386 and mdadm has compiled.

Cheers,
Arnau
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-14 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 16:03 [gentoo-user] gentoo on raid install Arnau Bria
2007-03-14 16:29 ` Samir Faci
2007-03-14 16:45   ` Arnau Bria
2007-03-14 16:50   ` [gentoo-user] gentoo on raid install [SOLVED] Arnau Bria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox