public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Getting genkernel to use newer dmraid
Date: Mon, 11 Jul 2011 19:22:10 +0200	[thread overview]
Message-ID: <2096912.KFXWZsdA3b@nazgul> (raw)
In-Reply-To: <CA+ZgY1FbOMPaBJTcGXAFb-MyPRVtk4nF2bajCq81d8j3azUTfg@mail.gmail.com>

On Monday 11 July 2011 10:09:38 Daniel Frey did opine thusly:
> 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}"

You sure about this one?

That lack of a leading "/" looks mighty suspicious


> #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?
-- 
alan dot mckinnon at gmail dot com



  reply	other threads:[~2011-07-11 18:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11 17:09 [gentoo-user] Getting genkernel to use newer dmraid Daniel Frey
2011-07-11 17:22 ` Alan McKinnon [this message]
2011-07-12  0:16   ` Daniel Frey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2096912.KFXWZsdA3b@nazgul \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox