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: "Ryan Harper" <ryanh@xxxxxxxxxx>, "Zheng, Jeff" <jeff.zheng@xxxxxxxxx>
Subject: RE: [Xen-devel] only one CPU is detected when dom0 boots up
From: "Yu, Ping Y" <ping.y.yu@xxxxxxxxx>
Date: Fri, 26 May 2006 00:57:51 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 25 May 2006 09:59:09 -0700
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
Thread-index: AcaABz/1QqShcE3jTwmDt2EGyLL8VgAEQLTQ
Thread-topic: [Xen-devel] only one CPU is detected when dom0 boots up
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.

Ping

>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ryan Harper
>Sent: 2006年5月25日 7:25
>To: Zheng, Jeff
>Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-devel] only one CPU is detected when dom0 boots up
>
>* Zheng, Jeff <jeff.zheng@xxxxxxxxx> [2006-05-25 09:16]:
>> When we changed build configure to:
>> KERNELS="linux-2.6-xen0 linux-2.6-xenU"
>> export KERNELS
>>
>> After reboot to this xen0, we found there is only one CPU in xen0.
>> "uname -a" shows it's a SMP but "cat /proc/cpuinfo" shows only one cpu.
>>
>> We see this issue on ChangeSet 10143 and 10151.
>>
>> If we build with the default configure, we can see all cpus in xen0.
>
>linux-defconfig_xen0_x86* does [1]not have CONFIG_SMP set, so unless
>you've manually changed the linux config, you won't see more than one
>cpu.
>
>1.  % grep CONFIG_SMP buildconfigs/linux-defconfig_xen0_x86_*
>buildconfigs/linux-defconfig_xen0_x86_32:# CONFIG_SMP is not set
>buildconfigs/linux-defconfig_xen0_x86_64:# CONFIG_SMP is not set
>
>--
>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

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