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] Re: [Xen-devel] What is the implication to use 'module'd

To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] What is the implication to use 'module'directive instead of 'initrd' to load ramdis
From: "Edney Matias" <edneymatias@xxxxxxxxx>
Date: Wed, 10 Jan 2007 19:28:31 -0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Wed, 10 Jan 2007 13:28:20 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mFq+7R1K3gn0ZTXDRNf1b2k67yA/s4COrNuozzUdYQ2jKZ5N6sQ8P3K+G7GiEPg97s4Bet/Eq95BvwfS3MX99yBFxtR4Y1wB+SMfbKAh2E4b1a5qpfFKlErWVDYMhEc5oexXvtrr1W3EnchHz/nrKzJ9VCeFSz4OrriWmlX5iKY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BAY125-DAV60959393664C831D598ED93B20@xxxxxxx>
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>
References: <C1C43CE1.72DC%keir@xxxxxxxxxxxxx> <BAY125-DAV2B03BABB3A1F06475A97493BF0@xxxxxxx> <1168083889.4942.6.camel@xxxxxxxxxxxxxxxxxxxxx> <BAY125-DAV87729DA9D208116E74A3793BC0@xxxxxxx> <BAY125-DAV47B3768DED73E5B02408893B30@xxxxxxx> <45A4C95A.76E4.0078.0@xxxxxxxxxx> <BAY125-DAV60959393664C831D598ED93B20@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

what Jan is trying to say is that, since the dom0 kernel needs an
intrd image and since these options are passed to Xen kernel as
modules directives, you´ll need to specify them  as modules in your
grub.

title Xen Unstable /Red Hat Enterprise Linux 2.6.16.33
kernel /xen.gz console=vga <- Xen kernel
module /vmlinuz-2.6-xen  <- dom0 kernel passed as a Xen module
module initrd /initrd-2.6.16.33-xen.img <- dom0 initrd file passed as
a Xen module

Regards!

Matias

2007/1/10, Liang Yang <multisyncfe991@xxxxxxxxxxx>:
Jan,

I used SINGLE module to load kernel and SINGLE intird to load ramdisk in
grub.conf file.

title Xen Unstable /Red Hat Enterprise Linux 2.6.16.33
 kernel /xen.gz console=vga
 module /vmlinuz-2.6-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
console=tty0
 initrd /initrd-2.6.16.33-xen.img

Based on what you explained, this should be fine. However, Xen Linux still
got a panic message: Linux kernel must be loaded before ramdisk.

How do you explain this?

Thanks,

Liang

----- Original Message -----
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>
Cc: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>;
<xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 10, 2007 3:09 AM
Subject: Re: [Xen-devel] What is the implication to use 'module'directive
instead of 'initrd' to load ramdis


> >I noticed Xen used Module directive to load RAMDISK for XenLinux in boot
>>grub config file instead of regular initrd. Why can't we use initrd here?
>>I
>>tried to change back to initrd and Linux reports an error kernal panic
>>message: Linux kernel must be loaded before ramdisk.
>>
>>Could anyone here explain about this?
>
> 'initrd' is equivalent to 'module' except that there can only be a single
> initrd
> statement per boot option. Obviously you need two modules (the kernel
> and its initrd), hence you can't use 'initrd' here.
>
> Jan
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>


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



--
Edney Matias da Silva
<edney@xxxxxxxxx>

Prognus Software Livre
http://www.prognus.com.br

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

<Prev in Thread] Current Thread [Next in Thread>