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-ppc-devel

Re: [XenPPC] boot failure with large dom0

To: Hollis Blanchard <hollisb@xxxxxxxxxx>
Subject: Re: [XenPPC] boot failure with large dom0
From: Jerone Young <jyoung5@xxxxxxxxxx>
Date: Wed, 07 Feb 2007 12:18:01 -0600
Cc: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 07 Feb 2007 10:18:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1170871159.28013.4.camel@basalt>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM
References: <1170806294.12947.1.camel@thinkpad> <1170870524.3172.7.camel@thinkpad> <1170871159.28013.4.camel@basalt>
Reply-to: jyoung5@xxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
I'll give it a try.
On Wed, 2007-02-07 at 11:59 -0600, Hollis Blanchard wrote:
> I use a vmlinux as dom0, but it's a stripped vmlinux. A vmlinux with
> full debug symbols is 55MB here, which probably explains this problem.
> 
> Could you see how easy it would be to catch this problem at runtime and
> have a nice panic? Checking dom0_len in __start_xen() would probably do
> the trick, maybe something like:
>         if (dom0_start + dom0_len > (32<<20))
>                 panic("dom0 is too big");
> 


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