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

Re: [Xen-devel] only one CPU is detected when dom0 boots up

To: "Yu, Ping Y" <ping.y.yu@xxxxxxxxx>
Subject: Re: [Xen-devel] only one CPU is detected when dom0 boots up
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Thu, 25 May 2006 12:43:52 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Zheng, Jeff" <jeff.zheng@xxxxxxxxx>
Delivery-date: Thu, 25 May 2006 10:44:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2BF508F394C196468CCBEC031320DCDF014EB53A@pdsmsx405>
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>
References: <2BF508F394C196468CCBEC031320DCDF014EB53A@pdsmsx405>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Yu, Ping Y <ping.y.yu@xxxxxxxxx> [2006-05-25 11:59]:
> Harper,
> 
> You are right! The default build configuration linux-defconfig_xen0_x86_64/
>  linux-defconfig_xen0_x86_32 is UP, and we have manually changed the default
> configure to make it SMP. We noticed that "uname -a" shows the dom0's kernel 
> is
>  SMP, but the problem is that only one CPU is found when dom0 boots up.
> With the same change, we know at least change set 10033 is OK to boot with 
> multiple CPUs.

Make sure CONFIG_HOTPLUG_CPU is also enabled.  After having both
CONFIG_SMP and CONFIG_HOTPLUG_CPU, try:

xm vcpu-set 0 2

replacing 2 with however many cpu's you think dom0 should have.

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx

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