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

Re: [XenPPC] Error creating domain on JS20 (Fw: [Prose-jvm] Brief Status

To: Maria Butrico <butrico@xxxxxxxxxx>
Subject: Re: [XenPPC] Error creating domain on JS20 (Fw: [Prose-jvm] Brief Status in TRL (2006/08/24))
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Thu, 24 Aug 2006 10:35:23 -0500
Cc: KAWATIYA@xxxxxxxxxx, xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Aug 2006 08:35:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OF4FF9241B.00E00F30-ON852571D4.004E5AE6-852571D4.0050CDFA@xxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <OF4FF9241B.00E00F30-ON852571D4.004E5AE6-852571D4.0050CDFA@xxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2006-08-24 at 10:42 -0400, Kiyokuni Kawachiya wrote:

> Today, I installed necessary tools including mercurial to LinuxPPC,
> self-built XenPPC, dom0 Linux, and Xen Tools on LinuxPPC, and installed
> them.  I also built j9-xen-ppc with the latest codes, and tried to start it
> on my Linux/XenPPC/JS20.  The xend daemon was successfully started, but
> when I tried "xm create -c xen-domain-config", it failed with the following
> message.
> 
>     Error: [Errno 2] No such file or directory:
> '/proc/device-tree/cpus/PowerPC,970@0'
> 
> The directory does not exist in my dom0 Linux, but "PowerPC,970FX@0" exists
> instead.  Maybe, my JS20 is newer than Watson's, and uses different CPU
> (970FX).  Today, I have no time to debug this further.  Any solution?

Sigh. For the moment you can use this patch:

diff -r b2f2c477895a tools/python/xen/xend/FlatDeviceTree.py
--- a/tools/python/xen/xend/FlatDeviceTree.py   Tue Aug 22 16:48:58 2006 -0500
+++ b/tools/python/xen/xend/FlatDeviceTree.py   Thu Aug 24 10:30:32 2006 -0500
@@ -295,8 +295,8 @@ def build(imghandler):
     def _nolinuxprops(fullpath):
         return not os.path.basename(fullpath).startswith('linux,')
     for i in range(imghandler.vm.getVCpuCount()):
-        cpu = cpus.addnode('PowerPC,970@0')
-        _copytree(cpu, 'cpus/PowerPC,970@0', _nolinuxprops)
+        cpu = cpus.addnode('PowerPC,970FX@0')
+        _copytree(cpu, 'cpus/PowerPC,970FX@0', _nolinuxprops)
         # and then overwrite what we need to
         pft_size = imghandler.vm.info.get('pft-size', 0x14)
         cpu.setprop('ibm,pft-size', 0, pft_size)

I'll try to come up with a more general solution.

-- 
Hollis Blanchard
IBM Linux Technology Center


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