[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Compiling Kernel with raid driver for myDellpoweredge 2850 RAID Controler



I'm sorry but my mkinitrd doesn't take this option :

mkinitrd --builtin=megaraid2 -k -o /boot/initrd-2.6.16-xen 2.6.16-xen
/usr/sbin/mkinitrd: illegal option -- -
$Id: mkinitrd,v 1.201 2004/05/16 22:00:48 herbert Exp $

megaraid2 is present in kernel 2.4 but not at all in kernel 2.6

when a try to compil my xen kernel, I do a "make" in my xen source download
directory witch doesn't have .config file
I have a .config file in a sub directory named : linux-2.6.16-xen
I try to activate CONFIG_MEGARAID_LEGACY to Y ( M before)
I try to compil and when it's done I see in my ./ linux-2.6.16-xen/.config
that my CONFIG_MEGARAID_LEGACY come to M (original parameter) and my new
compiled kernel do the same size :(

Nicolo
-----Message d'origine-----
De : xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx]De la part de Petersson, Mats
Envoye : vendredi 15 septembre 2006 12:34
A : Nicolo; xen-users@xxxxxxxxxxxxxxxxxxx
Objet : RE: [Xen-users] Compiling Kernel with raid driver for
myDellpoweredge 2850 RAID Controler

>
> or
> depmod 2.6.16-xen
> mkinitrd -k -o /boot/initxen.img 2.6.16-xen

This one.
>
>
> --builtin=xxx ??? what would you like to do ?

Tell mkinitrd that you have module xxx built into the kernel rather than
a module.

So for example:
mkinitrd --builtin=megaraid2 -k -o /boot/initrd-2.6.16-xen 2.6.16-xen

Of course, this will NOT work if you haven't configured megaraid2 in the
kernel as a "y"... Check your configuration before you try this.

--
Mats


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.