* [gentoo-user] Getting genkernel to use newer dmraid
@ 2011-07-11 17:09 Daniel Frey
2011-07-11 17:22 ` Alan McKinnon
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Frey @ 2011-07-11 17:09 UTC (permalink / raw
To: gentoo-user
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Getting genkernel to use newer dmraid
2011-07-11 17:09 [gentoo-user] Getting genkernel to use newer dmraid Daniel Frey
@ 2011-07-11 17:22 ` Alan McKinnon
2011-07-12 0:16 ` Daniel Frey
0 siblings, 1 reply; 3+ messages in thread
From: Alan McKinnon @ 2011-07-11 17:22 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [gentoo-user] Getting genkernel to use newer dmraid
2011-07-11 17:22 ` Alan McKinnon
@ 2011-07-12 0:16 ` Daniel Frey
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Frey @ 2011-07-12 0:16 UTC (permalink / raw
To: gentoo-user
On 01/-10/37 11:59, Alan McKinnon wrote:
> 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
>
>
The only two lines I changed are the ones I commented out (so I only
changed DMRAID_VER and DMRAID_SRCTAR.) If I revert the changes, the
default initramfs with the included dmraid build properly.
I suspect there's a build directory somewhere buried deep down that I
can't find. I'm going to try to dig into this a little deeper...
although I do need a new motherboard soon. I'm starting to dislike the
reliability of Asus motherboards. I've had three fail now (different
models) so I ordered an Intel board to replace this current one. I
wouldn't be surprised at this point if the motherboard is the cause of
my grief.
Thankfully I have a laptop or I'd be going through serious internet
withdrawal symptoms. :)
Dan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-12 0:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-11 17:09 [gentoo-user] Getting genkernel to use newer dmraid Daniel Frey
2011-07-11 17:22 ` Alan McKinnon
2011-07-12 0:16 ` Daniel Frey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox