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] RE: [Xen-users] Xen in a 32 way system

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-devel] RE: [Xen-users] Xen in a 32 way system
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 1 Jun 2006 18:16:17 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Uros Trebec <uros.trebec@xxxxxxxxx>, Pablo Montesinos <pablomontesinos@xxxxxxxxx>, Ryan Harper <ryanh@xxxxxxxxxx>, "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Jun 2006 10:16:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0BA7FCD1@xxxxxxxxxxxxxxxxx>
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: <907625E08839C4409CE5768403633E0BA7FCD1@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 1 Jun 2006, at 18:00, Petersson, Mats wrote:

The line you have the BUG in is a VCPUOP_initialize, which ends up in
.../xen/common/domain.c: do_vcpu_op(), where it does essentially the
first thing is a check:
        if ((vcpuid < 0) || (vcpuid >= MAX_VIRT_CPUS))
                return -EINVAL;

And I think this check will fail if vcpuid is 32, unless MAX_VIRT_CPUS
is not the standard value in . RSI is 32 (0x20)

Our smpboot.c in Linux should only try to initialise context for cpus in cpu_possible_map. And that map is initialised by querying Xen about the state of each VCPU. So it's unclear how you can end up getting this crash. Looks like it needs some more tracing added...

 -- Keir


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