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] Xen 3.1.0 initrd and kernel building

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.1.0 initrd and kernel building
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Fri, 29 Jun 2007 02:20:13 +0100
Cc: amin <amin@xxxxxxx>
Delivery-date: Thu, 28 Jun 2007 18:18:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4682E123.2090900@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: <4682E123.2090900@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> built a xen from source (tgz) and make dist ... then made initrd with
> mkinitrd and modules=all in the
> mkinitrd.conf -> initrd.img was 14mb and set it up in the grub with
> module /initrd....
>
> on boot it loads the initrd like:
> Loading ramdisk into ram .... done
>
> but then NO MODULES in the initrd are being loaded by the kernel, though
> initrd support is in the kernel,
> and the kernel states kernel panic (because no sata or raid modules are
> being loaded).

Whoa, that's a big initrd.  Is Linux successfully mounting the initrd itself?  
I remember there being something like a 4Meg limit on initrd size (by 
default).

Why build with modules=all?  Doesn't dep do what you want?

> Second:
> Built a kernel with sata support and everything and make 2.6-xen-build
> and 2.6-xen-install --->
> Dom0 differs from xen on boot ...
> saved a .config from the kernel , make mrproper, make dist, put .config
> in kernel path, make dist again...
> -> xen stated failure in kernel package and asked me to run make
> mrproper...

Sounds like you ended up building a XenLinux that used a different memory mode 
to Xen itself.  Xen builds with PAE enabled so that it can support large 
memory hosts (> 4gig), but you need XenLinux to support PAE too if it's going 
to work.  I'm guessing you created this config from scratch, since the 
default Xen build process will match PAE-ness.

Since your config must have had PAE disabled, copying the .config back to the 
kernel tree will have replicated the same problem :-(  Do make menuconfig / 
xconfig and go to Processor Type and Features.  Then in the "High Memory 
Support" section choose 64GB.  This will enable PAE.  Rebuild the kernel, 
(and modules, and initrd) then try that.  It should boot...

> so is this called stable or what ?

It should run reasonably stably, once you get it running ;-)

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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