Hi all,

I've been trying to get genkernel to use a newer version of dmraid.
For some reason, genkernel is using a build from 2006 (!)

I've tried an ubuntu livecd which uses a build that's available in
portage that works with my fakeraid. All this to try to dual-boot
using a raid 1+0.

I've discovered /etc/genkernel.conf has settings for this, so I tried
changing them:
-----
#DMRAID_VER="1.0.0.rc14"
DMRAID_VER="1.0.0.rc16"
DMRAID_DIR="dmraid/${DMRAID_VER}"
#DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
DMRAID_SRCTAR="/usr/share/dmraid/dmraid-1.0.0.rc16-3-prepatched.tar.bz2"
DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
-----

After that I issued a `genkernel --lvm --dmraid initramfs` and got this:
-----
ubuntu / # genkernel initramfs
* Gentoo Linux Genkernel; Version 3.4.17
* Running with options: initramfs

* Linux Kernel 2.6.38-gentoo-r6 for x86_64...
* blkid: >> Using cache
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending lvm cpio data...
*           LVM: Adding support (using local static binary /sbin/lvm.static)...
*         >> Appending dmraid cpio data...
* DMRAID: Adding support (compiling binaries)...
* ERROR: DMRAID directory ${DMRAID_DIR} is invalid!

* -- Grepping log... --

*         >> Appending dmraid cpio data...
* DMRAID: Adding support (compiling binaries)...
* Gentoo Linux Genkernel; Version 3.4.17
* Running with options: initramfs

* ERROR: DMRAID directory ${DMRAID_DIR} is invalid!

* -- End log... --
-----

I can see that the dmraid directory is invalid, but I do not know how
to correct this?

I've not tried making an initramfs myself (I do not know how) but have
been building my own kernels since 2004. I couldn't really find
anything on genkernel after googling other than the basic usage.

Can anyone help?

Reply via email to