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] Fw: AMD 64 X2 5200 - XEN only detects one core

To: Darryl Bowler <darryl.bowler@xxxxxxxxx>
Subject: Re: [Xen-devel] Fw: AMD 64 X2 5200 - XEN only detects one core
From: Michael Heyse <mhk@xxxxxxxxxxxxxxxxx>
Date: Wed, 19 Dec 2007 19:06:32 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 19 Dec 2007 10:07:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <17200.43313.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <17200.43313.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
Darryl Bowler schrieb:
> Xen only detects one of  two cores

I experience a similar problem on a Intel Core Duo MacBook Pro and
xen-unstable (3.2-rc2-pre from today). I use the following workaround:
Boot a standard 2.6.23 kernel (which is able to detect both cores)
without xen, then use kexec to boot xen with the 2.6.18-xen kernel.

Sadly I can't post a full `xm dmesg'. The kernel also fails to detect my
USB harddrive from which I'm booting (booting from USB *does* work when
I use the above workaround). But here's a screenshot of Xen's boot messages:

http://www.boppstrasse.de/xen_cpu_fail.jpg

After the 2.6.23 + kexec trick, when everything is working fine, `xm
dmesg' looks like this (I have to use noapic, otherwise it won't boot at
all):

(XEN) Xen version 3.2.0-rc2-pre (root@xxxxxxxxxxxxxxx) (gcc version
4.2.2 (Gentoo 4.2.2 p1.0)) Wed Dec 19 17:59:17 CET 2007
(XEN) Latest ChangeSet: Wed Dec 19 09:51:35 2007 +0000 16633:7c98b9177b15
(XEN) Command line: noapic
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000ede00 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007f0c8000 (usable)
(XEN)  000000007f0c8000 - 000000007f2c9000 (ACPI NVS)
(XEN)  000000007f2c9000 - 000000007feb9000 (ACPI data)
(XEN)  000000007feb9000 - 000000007feef000 (ACPI NVS)
(XEN)  000000007feef000 - 000000007ff00000 (ACPI data)
(XEN)  000000007ff00000 - 0000000080000000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fed14000 - 00000000fed1a000 (reserved)
(XEN)  00000000fed1c000 - 00000000fed20000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000ffe00000 - 0000000100000000 (reserved)
(XEN) System RAM: 2032MB (2081180kB)
(XEN) Xen heap: 9MB (10084kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) PAE enabled, limit: 16 GB
(XEN) Processor #0 6:14 APIC version 20
(XEN) Processor #1 6:14 APIC version 20
(XEN) Found and enabled local APIC!
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 1997.372 MHz processor.
(XEN) HVM: VMX enabled
(XEN) CPU0: Intel Genuine Intel(R) CPU           T2500  @ 2.00GHz
stepping 08
(XEN) Booting processor 1/1 eip 8c000
(XEN) CPU1: Intel Genuine Intel(R) CPU           T2500  @ 2.00GHz
stepping 08
(XEN) Total of 2 processors activated.
(XEN) Platform timer overflows in 14998 jiffies.
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs
(XEN) AMD IOMMU: Disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 32-bit, PAE, lsb
(XEN)  Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0100000 -> 0xc04ba4fc
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000003f000000->000000003f800000 (479601 pages
to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c04ba4fc
(XEN)  Init. ramdisk: c04bb000->c04bb000
(XEN)  Phys-Mach map: c04bb000->c06915c4
(XEN)  Start info:    c0692000->c0692474
(XEN)  Page tables:   c0693000->c069c000
(XEN)  Boot stack:    c069c000->c069d000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM: .done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
input to Xen)
(XEN) Freed 96kB init memory.

Cheers,
Michael

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