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

Re: [Xen-devel] xen-kernel and EDD

To: Lin-Bao Zhang <2004.zhang@xxxxxxxxx>
Subject: Re: [Xen-devel] xen-kernel and EDD
From: Keir Fraser <keir@xxxxxxx>
Date: Thu, 18 Aug 2011 12:04:24 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Aug 2011 04:06:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=LMkuyz2pFILWUHUN1/L48h+kI5BJGlL3hwYq0K7KkHA=; b=FySEHnz1bVPclIoqlXbr3YQHkhGfL+NEwt2KUxHNJNmo0MAWwDZeJguSOguvDMrLMS gjCH4XqM9Ha3NBz+66C1Cg6sEqj5kUGjoAr8eljyzPZD+WZt0l4oKjDzRDxE2SgwqcTy T5FVxFYTvLgF7JuB9+OMY9qZqMVCKW3ExiUN4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CANuKePmurLWCEEJVzbQv2hSzccUiE-NHDkuVddgyRyXapb9Znw@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxdlpaZb8YMWj+nDEaG1N9y763lmQ==
Thread-topic: [Xen-devel] xen-kernel and EDD
User-agent: Microsoft-Entourage/12.30.0.110427
On 18/08/2011 11:43, "Lin-Bao Zhang" <2004.zhang@xxxxxxxxx> wrote:

> -- 
> so in my system , my EBDA area should be 95400 ~ a0000  ,about 43KBytes.
> from xen.gz (hypervisor) code , trampoline.S , we know
> ----
> #define BOOT_TRAMPOLINE 0x90000
> #define bootsym_phys(sym)                                 \
>     (((unsigned long)&(sym)-(unsigned long)&trampoline_start)+BOOT_TRAMPOLINE)
> -----
> 0x95400 - 0x90000 = 0x5400 = 21KBytes.
> 
> 21Kbytes is enough for gen.gz running(hypervisor) ?
> if hypervisor will run more area , maybe it will overlap EBDA area .
> 
> so who can tell me xen.gz 's end address ? or max long ?

It's almost certainly this. In latest Xen we run the trampoline code at
0x7c000. So you can try rebuilding your hypervisor with the following
changes:
1. Change BOOT_TRAMPOLINE to 0x7c000
2. In arch/x86/boot/head.S, change the line 'mov $0x98000,%esp' to 'mov
$0x80000,%esp'.

That will probably fix your problem.

 -- Keir



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