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

Re: [Xen-users] Re: [Xen-devel] What is the implication to use 'module'directive instead of 'initrd' to load ramdis


  • To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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