1 |
On Monday 11 July 2011 10:09:38 Daniel Frey did opine thusly: |
2 |
> Hi all, |
3 |
> |
4 |
> I've been trying to get genkernel to use a newer version of dmraid. |
5 |
> For some reason, genkernel is using a build from 2006 (!) |
6 |
> |
7 |
> I've tried an ubuntu livecd which uses a build that's available in |
8 |
> portage that works with my fakeraid. All this to try to dual-boot |
9 |
> using a raid 1+0. |
10 |
> |
11 |
> I've discovered /etc/genkernel.conf has settings for this, so I |
12 |
> tried changing them: |
13 |
> ----- |
14 |
> #DMRAID_VER="1.0.0.rc14" |
15 |
> DMRAID_VER="1.0.0.rc16" |
16 |
> DMRAID_DIR="dmraid/${DMRAID_VER}" |
17 |
|
18 |
You sure about this one? |
19 |
|
20 |
That lack of a leading "/" looks mighty suspicious |
21 |
|
22 |
|
23 |
> #DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2" |
24 |
> DMRAID_SRCTAR="/usr/share/dmraid/dmraid-1.0.0.rc16-3-prepatched.tar. |
25 |
> bz2" |
26 |
> DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2" |
27 |
> ----- |
28 |
> |
29 |
> After that I issued a `genkernel --lvm --dmraid initramfs` and got |
30 |
> this: ----- |
31 |
> ubuntu / # genkernel initramfs |
32 |
> * Gentoo Linux Genkernel; Version 3.4.17 |
33 |
> * Running with options: initramfs |
34 |
> |
35 |
> * Linux Kernel 2.6.38-gentoo-r6 for x86_64... |
36 |
> * blkid: >> Using cache |
37 |
> * busybox: >> Using cache |
38 |
> * initramfs: >> Initializing... |
39 |
> * >> Appending base_layout cpio data... |
40 |
> * >> Appending auxilary cpio data... |
41 |
> * >> Appending busybox cpio data... |
42 |
> * >> Appending lvm cpio data... |
43 |
> * LVM: Adding support (using local static binary |
44 |
> /sbin/lvm.static)... * >> Appending dmraid cpio data... |
45 |
> * DMRAID: Adding support (compiling binaries)... |
46 |
> * ERROR: DMRAID directory ${DMRAID_DIR} is invalid! |
47 |
> |
48 |
> * -- Grepping log... -- |
49 |
> |
50 |
> * >> Appending dmraid cpio data... |
51 |
> * DMRAID: Adding support (compiling binaries)... |
52 |
> * Gentoo Linux Genkernel; Version 3.4.17 |
53 |
> * Running with options: initramfs |
54 |
> |
55 |
> * ERROR: DMRAID directory ${DMRAID_DIR} is invalid! |
56 |
> |
57 |
> * -- End log... -- |
58 |
> ----- |
59 |
> |
60 |
> I can see that the dmraid directory is invalid, but I do not know |
61 |
> how to correct this? |
62 |
> |
63 |
> I've not tried making an initramfs myself (I do not know how) but |
64 |
> have been building my own kernels since 2004. I couldn't really |
65 |
> find anything on genkernel after googling other than the basic |
66 |
> usage. |
67 |
> |
68 |
> Can anyone help? |
69 |
-- |
70 |
alan dot mckinnon at gmail dot com |