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] xen/ia64 and elilo relocation

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xen/ia64 and elilo relocation
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Wed, 16 Feb 2005 17:53:23 -0800
Cc: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>, eranian@xxxxxxxxxx
Delivery-date: Thu, 17 Feb 2005 01:54:23 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

I noticed that elilo occassionally loads xen/ia64 at: 0x14000000 instead of the 
usual
0x4000000 (especially if you interrupt the loading process by pressing a key).

This results in TR map setup from: fffc000014000000 (virtual) -> 0x4000000 
(physical).
Further, __alloc_bootmem() gives out fffc000004000000 as free memory and memsets it to 0. Now xen is going to insert a second TC from fffc000004000000 (virtual) -> 0x4000000 (physical) i.e. we have two virtual addresses mapping to the same physical address.

The memset essentially corrupts xen's text.

We have to figure out a way of telling elilo to always load xen at the same 
physical address. I thought the relocatable flag was off by default?

        -Arun


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel