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] about mini-os

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] about mini-os
From: "余上" <yusunn@xxxxxxxxx>
Date: Tue, 22 Jan 2008 17:23:18 +0800
Delivery-date: Tue, 22 Jan 2008 01:23:46 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=biNXwPFs4YGlQFeC/Mejm8tC5XVpvPGHrkKSlRvgkDo=; b=ldPhuQJm9W6Lhdh8TmRjlFco3zt6Ws/ECZI9yPVCKSLO2qHe0NNC9SmLqx20x64mwssI3Qeu3C2MACxyNoReDpJ84em39eJHNaNi5sP3e0AjG9pSY1Och6z1D44I1b7yFP8Aapm13qHzo2WwY9hxiIZ351+R2A0MfvLIV7aZSbM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LtsSyLocSxpxNelxr5UbQtjS7AZ5fjBPFvqWz3RzzS81rHn0YhAj59cvz5qqUyZ2bhkuIYZ/R+Wu5pgR0r1OFgscPfRgRJJjH7JThzgVb4Oj3Z/nUQW/8OPRaqfjzpwz3WT6H7KODCZz1COLw9o66NpuB6RdePUWT6hrGPrEE/Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all ,

I find that it needs some hacks to run mini-os under xen-3.2 ,
followings are what I have done:

1, mini-os/arch/x86/x86_32.S , change the __xen_guest config :
from
        .ascii  ",VIRT_BASE=0x0" /* &_text from minios_x86_32.lds */
        .ascii  ",ELF_PADDR_OFFSET=0x0"
to
        .ascii  ",VIRT_BASE=0x0C0000000" /* &_text from minios_x86_32.lds */
        .ascii  ",ELF_PADDR_OFFSET=0x0C0000000"
because if I don't change VIRT_BASE xen will report "Initial loading
isn't allowed to lowest 1GB of memory"

2, mini-os/arch/x86/minios-x86_32.lds
from
  . = 0x0;
to
  . = 0x0C0000000;

so far , I can run mini-os to the banner and got a page fault:
Bootstraping ...
Xen Minimal OS!
Page fault at linear address 15555c08, eip c000cf61, code 0
(XEN) Domain 0 crashed

any idea ? Thank you very much
yushang

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

<Prev in Thread] Current Thread [Next in Thread>