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

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

To: Paolo Bonzini <pbonzini@xxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>
Subject: [Xen-devel] Re: xen-kernel and EDD
From: Lin-Bao Zhang <2004.zhang@xxxxxxxxx>
Date: Wed, 24 Aug 2011 15:50:16 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 Aug 2011 00:51:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=0xr8iYLnvnvxBQ35cti0eyIbMhvJRZVTW6E8yYbVoKs=; b=Q2CnrHu2wkVrKPKAwWsfv7NW88TQblr5rIOvEh5X73zYA8nonvdJe0mCr5V72t+sTA +AwQR6agD4hHS+VycjcTmA+wcCB/PBdnbfXaxI9lKZFEdlDcs6fW1TjA8vyApZv/To9z VzVTXDWRqebmWOfd26+cBW9yzP7QyU1rJqQJU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CANuKePmTXLZBDT+cxJ=ZtvrRwmr1Av98x_kdthhae98DA=wTJg@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>
References: <CANuKePmurLWCEEJVzbQv2hSzccUiE-NHDkuVddgyRyXapb9Znw@xxxxxxxxxxxxxx> <CA72B048.30827%keir@xxxxxxx> <4E53694F.70008@xxxxxxxxxx> <CANuKePmTXLZBDT+cxJ=ZtvrRwmr1Av98x_kdthhae98DA=wTJg@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
what a pity !

it seems that our modification :
1. Change BOOT_TRAMPOLINE to 0x7c000
2. In xen/arch/x86/boot/head.S, change the line 'mov $0x98000,%esp' to
'mov $0x80000,%esp'.
has make things worse ,
after this picture
:https://picasaweb.google.com/lh/photo/_XQU3pCYJ9bSL4UgvBhFJem26SCOd2WkElE8x5uAaOk?feat=directlink
 system no response again ,and then reset .
I no longer can see
- 1706-Smart Array Controller EBDA Memory Corrupted
  INT 13h BIOS Cannot Coninue - Sytem Halted

Again !
 I doubt , maybe xen-kernel has corrupted before “get_edd” due to our
modification.
this is indeed a gloomy day indeed!

Now , it seems that things get more complicated :
I think there are two factors will affect :
 - Ensure Stack can't overlap HP's P410i EBDA area
 - Ensure Brocade card's option rom code can't overwrite P410i EBDA.

I also did another experiment :for speaking exactly, I use
:5.7s_xen-kernel(0x98000 stack and 0x90000 for BOOT_TRAMPOLINE) and
modified-xen-kernel(0x80000 STACK and 0x7c000 for BOOT_TRAMPOLINE) .

a)enable Brocade card(two ports) , but disable its option rom code) .
https://picasaweb.google.com/lh/photo/lVIqQjo2PESpX1JIzpEu0oIUdNTBh7One3tGCKQ3AHk?feat=directlink

 * 5.7s_xen-kernel can boot successfully(edd=on)
      from this point ,it seems that 0x98000 didn't overlap P410i EBDA. I just
disabled Brocade option rom.
 *  MODIFIED_xen-kernel can't boot successfully ,it also just print
https://picasaweb.google.com/lh/photo/_XQU3pCYJ9bSL4UgvBhFJem26SCOd2WkElE8x5uAaOk?feat=directlink
 no "INT13
BIOS Cannot Continue - System Halted".
 and no response, and then system reset.

-Bob

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