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: |
"Pablo Montesinos" <pablomontesinos@xxxxxxxxx> |
Date: |
Thu, 1 Jun 2006 13:38:57 -0700 |
Cc: |
xen-devel@xxxxxxxxxxxxxxxxxxx, "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Ryan Harper <ryanh@xxxxxxxxxx>, Uros Trebec <uros.trebec@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx |
Delivery-date: |
Thu, 01 Jun 2006 13:39:41 -0700 |
Domainkey-signature: |
a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=luTDoYKnfhaZD/H5VmfRKWLr0Kp4Lm599cE8zE8fwoBtwD0ztIFt/mwsFPXBqI1tCaCiFc/RqI+zHb24d0LAYEaMe7xZc65vv7nSt3z5d37LOlItumaFMx+7/wt19VDktquvd9JL1BJgJr+tw2Aoxd57wOHCWJ80jfOKCPXw0lM= |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<907625E08839C4409CE5768403633E0BA7FCD6@xxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-users-request@lists.xensource.com?subject=help> |
List-id: |
Xen user discussion <xen-users.lists.xensource.com> |
List-post: |
<mailto:xen-users@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe> |
References: |
<505965ad2086fb69089eacd383acdbd8@xxxxxxxxxxxx> <907625E08839C4409CE5768403633E0BA7FCD6@xxxxxxxxxxxxxxxxx> |
Sender: |
xen-users-bounces@xxxxxxxxxxxxxxxxxxx |
hat tip for you... It is booting, I am still not able to run xend with
more than 4 procs, but that's a complete different story.
Ryan: did you do anything special to load configure xend? it just
hangs as soon as I enable more than 1 chassis
Thank you very much to all of you guys!
Pablo
On 6/1/06, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
> Sent: 01 June 2006 19:09
> To: Petersson, Mats
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Puthiyaparambil, Aravindh;
> Uros Trebec; Ryan Harper; xen-users@xxxxxxxxxxxxxxxxxxx;
> Pablo Montesinos
> Subject: Re: [Xen-devel] RE: [Xen-users] Xen in a 32 way system
>
>
> On 1 Jun 2006, at 18:59, Petersson, Mats wrote:
>
> > Isn't it a bug that we don't check for -EINVAL in the line here:
> > for (i = 0; i < NR_CPUS; i++) {
> > rc = HYPERVISOR_vcpu_op(VCPUOP_is_up, i, NULL);
> > if (rc == -ENOENT)
> > break;
> > cpu_set(i, cpu_possible_map);
> > }
> >
> > If NR_CPUS in Linux is bigger than 32, then rc = -EINVAL,
> not -ENOENT
> > when it returns from the vcpu_op, because the first check
> is to see if
> > vcpuid is >=32...
> >
> > Checking if (rc < 0) would be better, I should think...
>
> Yes, the current code is rather mad. I'll fix it.
Of course, if NR_CPUS is 32, it shouldn't matter...
Pablo, can you check the CONFIG_NR_CPUS in your .config for your
linux-2.6.16.13-xen? As in my system, NR_CPUS = 32..
--
Mats
>
> -- Keir
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|