[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


  • To: "Nicolo" <nicolo@xxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 15 Sep 2006 13:51:29 +0200
  • Delivery-date: Fri, 15 Sep 2006 04:52:36 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcbYvIbvUSfJy9TOQfaqgepk7sB2mAAAGUWQ
  • Thread-topic: [Xen-users] Compiling Kernel with raid driver for myDellpoweredge 2850 RAID Controler

> -----Original Message-----
> From: Nicolo [mailto:nicolo@xxxxxxxxxxxxxxx] 
> Sent: 15 September 2006 12:46
> To: Petersson, Mats; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: 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 $

That's a fairly old version of mkinitrd - I don't know how to help
here... 

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

So, you shouldn't need it then... ;-)

> 
> 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 :(

The same size kernel may be an effect of the megaraid_legacy only adding
a few bytes to the actual size, and with the effects of alignments
(padding out to a fixed size) the difference can't be seen. It's much
better to see if you have the relevant .ko files. 

> 
> 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®.