xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xen.org>
To: Lin-Bao Zhang <2004.zhang@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: xen-kernel and EDD
Date: Thu, 18 Aug 2011 12:04:24 +0100	[thread overview]
Message-ID: <CA72B048.30827%keir@xen.org> (raw)
In-Reply-To: <CANuKePmurLWCEEJVzbQv2hSzccUiE-NHDkuVddgyRyXapb9Znw@mail.gmail.com>

On 18/08/2011 11:43, "Lin-Bao Zhang" <2004.zhang@gmail.com> 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

  parent reply	other threads:[~2011-08-18 11:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKdQVUb7s6_1RyMDyCkBZWHdAvDy1yPY4nQarqNbSspi4uHC2w@mail.gmail.com>
2011-08-18  5:08 ` xen-kernel and EDD Lin-Bao Zhang
2011-08-18  6:40   ` Keir Fraser
2011-08-18 10:43     ` Lin-Bao Zhang
2011-08-18 10:52       ` Lin-Bao Zhang
2011-08-18 11:05         ` Keir Fraser
2011-08-18 11:04       ` Keir Fraser [this message]
2011-08-18 15:55         ` Lin-Bao Zhang
2011-08-19  8:27           ` Lin-Bao Zhang
2011-08-19  8:49             ` Keir Fraser
2011-08-19  9:15               ` Lin-Bao Zhang
2011-08-19  9:23                 ` Keir Fraser
2011-08-19  9:51               ` Lin-Bao Zhang
2011-08-22  3:45                 ` Lin-Bao Zhang
2011-08-23  8:48         ` Paolo Bonzini
2011-08-23 10:24           ` Lin-Bao Zhang
2011-08-24  7:50             ` Lin-Bao Zhang
2011-08-24  8:03               ` Keir Fraser
2011-08-24  9:36                 ` BobZhang
2011-08-24  9:49                   ` Keir Fraser
2011-08-25  9:37                     ` Lin-Bao Zhang
2011-08-25  9:50                     ` Lin-Bao Zhang
2011-08-25 10:24                       ` Keir Fraser
2011-08-25 14:33                         ` Lin-Bao Zhang
2011-08-31  7:50                           ` Lin-Bao Zhang
2011-08-31  7:56                             ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA72B048.30827%keir@xen.org \
    --to=keir@xen.org \
    --cc=2004.zhang@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).