-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
lively ~ # emerge --info
Portage 2.3.5-r7 (funtoo/1.0/linux-gnu/arch/x86-64bit/pure64, gcc-4.7.2, glibc-2.15-r3, 3.8.7-gentoo x86_64)
=================================================================
System uname: Linux-3.8.7-gentoo-x86_64-Intel-R-Core-TM-2_Quad_CPU_Q9550@_2.83GHz-with-gentoo-2.2.0
KiB Mem: 8172796 total, 5966788 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Tue, 16 Apr 2013 05:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-java/java-config: 2.2.0-r1000
dev-lang/python: 2.7.4-r1000, 3.2.4-r1000
dev-util/cmake: 2.8.10.2-r2
sys-apps/baselayout: 2.2.0-r4
sys-apps/openrc: 0.10.2-r8
sys-apps/sandbox: 2.6
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.7.2
sys-devel/gcc-config: 1.5-r1
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories:gentoo
location: /usr/portage
sync: git://github.com/funtoo/ports-2012.git
priority: -1000ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"lively ~ # emerge --info Portage 2.3.5-r7 (funtoo/1.0/linux-gnu/arch/x86-64bit/pure64, gcc-4.7.2, glibc-2.15-r3, 3.8.7-gentoo x86_64) ================================================================= System uname: Linux-3.8.7-gentoo-x86_64-Intel-R- Core-TM-2_Quad_CPU_Q9550 @_2.83GHz-with-gentoo-2.2.0 KiB Mem: 8172796 total, 5966788 free KiB Swap: 0 total, 0 free Timestamp of tree: Tue, 16 Apr 2013 05:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-java/java-config: 2.2.0-r1000 dev-lang/python: 2.7.4-r1000, 3.2.4-r1000 dev-util/cmake: 2.8.10.2-r2 sys-apps/baselayout: 2.2.0-r4 sys-apps/openrc: 0.10.2-r8 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.7.2 sys-devel/gcc-config: 1.5-r1 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo location: /usr/portage sync: git://github.com/funtoo/ports-2012.git priority: -1000 ABI="amd64" ABI_X86="64" ACCEPT_KEYWORDS="amd64 ~amd64"
genkernel-3.4.40.1 (and older versions) generates an initramfs where the command mdadm is under /sbin/sbin/mdadm. It is not possible to boot the system with root on a raid system because mdadm will not be found.
The following patch will fix the problem:
--- gen_initramfs.sh.ORG 2013-03-20 23:04:03.179945673 +0100 +++ gen_initramfs.sh 2013-04-14 18:06:08.863337445 +0200 @@ -320,7 +320,7 @@ && [ -e '/sbin/mdmon' ] && LC_ALL="C" ldd /sbin/mdmon | grep -q 'not a dynamic executable' then print_info 1 ' MDADM: Adding support (using local static binaries /sbin/mdadm and /sbin/mdmon)...' - copy_binaries "${TEMP}/initramfs-mdadm-temp/sbin" /sbin/{mdadm,mdmon} || gen_die 'Could not copy over mdadm!' + copy_binaries "${TEMP}/initramfs-mdadm-temp" /sbin/{mdadm,mdmon} || gen_die 'Could not copy over mdadm!' else gen_die "Could not find /sbin/mdadm or /sbin/mdmon for initramfs" fi
Do you need any further information? I have added the patch as a file.
Matthias