WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Compiling Kernel with raid driver for myDellpoweredge 28

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Compiling Kernel with raid driver for myDellpoweredge 2850 RAID Controler
From: "Nicolo" <nicolo@xxxxxxxxxxxxxxx>
Date: Fri, 15 Sep 2006 13:45:41 +0200
Delivery-date: Fri, 15 Sep 2006 04:46:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <907625E08839C4409CE5768403633E0BA7FF11@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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