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

[Xen-devel] Ubuntu 10.04 stuck in detect_extended_topology()

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Ubuntu 10.04 stuck in detect_extended_topology()
From: "AP Xen" <apxeng@xxxxxxxxx>
Date: Wed, 9 Jun 2010 14:55:17 -0700
Delivery-date: Wed, 09 Jun 2010 14:59:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=fzC7GqjA5FUaRuFDwnrP90Th0p00ey8/LMHKR3bEYcM=; b=wFhkElblrC8vDzVbG2aUjDkNFjiwPexahIgNM4+nOfTFZ8mIRjd0voIEZQXuawPLvO cs0DLo6KJG+TGZw+KwEi4vTw01f9nqAAInK0uPtll8Ur8lXrZFJhjTzkpqZbKdTvJ+zC 4u2Uv9SFlktLvUndIBx/weEFNS3z5B/2Oepqw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=qAqr2pzPUzLLdfoazSxEv5nuUgRp6/Fjj7Ape6y+76h7ek0Y9yEjMxYDmc7r4cltql ZX7eDbhi971k3XYq34tunfqhB3H+EltiRG6WVJ8LIHcevxJZIV5c966T61sgZjVeq3Hf juW51KsR0YCwcyLOEwQd/uOu+5plkGxah24TY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsH/blOmgiLEprmQCuu+TR6lWgNTwAIKBtw

I am running Xen packaged with CentOS 5.4 and trying to install Ubuntu 10.04 as an HVM guest.

 

xen_major              : 3

xen_minor              : 1

xen_extra              : .2-164.11.1.el5

 

After sprinkling the kernel with printks, I am seeing that it is stuck in the function detect_extended_topology() in the following loop:

<snip>

       sub_index = 1;

       do {

              cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx);

              printk("%s: after cpuid_count %d\n", __FUNCTION__, sub_index);

 

              /*

               * Check for the Core type in the implemented sub leaves.

               */

              if (LEAFB_SUBTYPE(ecx) == CORE_TYPE) {

                     core_level_siblings = LEVEL_MAX_SIBLINGS(ebx);

                     core_plus_mask_width = BITS_SHIFT_NEXT_LEVEL(eax);

                     break;

              }

 

              sub_index++;

       } while (LEAFB_SUBTYPE(ecx) != INVALID_TYPE);

<snip>

 

The ECX leaf subtype never returns CORE_TYPE or INVALID_TYPE. So think I might be running in to a bug / quirk in the CPUID handling code in Xen packaged with CentOS 5.4. Is there a work around for it? Maybe specifying something in the cpuid option in the config file.

 

Thanks!

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