From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QgK2v-0003WL-5v for garchives@archives.gentoo.org; Mon, 11 Jul 2011 17:13:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B209C21C379 for ; Mon, 11 Jul 2011 17:13:24 +0000 (UTC) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 3482A21C424 for ; Mon, 11 Jul 2011 17:09:39 +0000 (UTC) Received: by vxa40 with SMTP id 40so3551105vxa.40 for ; Mon, 11 Jul 2011 10:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=N/j+IaSnDvFvmkDYexSiQxA5dIY7S6LA7yKY5r6C0MM=; b=tvimmLP0OiN8v32JHghFLWofwl/nfnZ+cZmNPFUlL3e6jvQBPEyXF40XScqT7H/euo s8fDEqj8sntlNt8bueZJ+phfq0y2+N1VrCmW/m/LUPz8+QGXx0oaQf4peTslbWT1AOg4 4mlQHFscLtb4YO/7+Dx7KTBnpw4IU6HScW4hA= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.5.210 with SMTP id 18mr1625784vcw.83.1310404178606; Mon, 11 Jul 2011 10:09:38 -0700 (PDT) Received: by 10.220.92.4 with HTTP; Mon, 11 Jul 2011 10:09:38 -0700 (PDT) Date: Mon, 11 Jul 2011 10:09:38 -0700 Message-ID: Subject: [gentoo-user] Getting genkernel to use newer dmraid From: Daniel Frey To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: X-Archives-Hash: 9df53e6b34678aa86cc6058b538b6794 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?