AMD 64 X2 5200 - XEN only detects one core
No one could help me on the other dist lists. Can anyone shed light on this?
----- Forwarded Message ----
From: Darryl Bowler <[email protected]>
To: [email protected]; [email protected]
Sent: Monday, December 17, 2007 11:41:26 PM
Subject: AMD 64 X2 5200 - XEN only detects one core
I have an ACER AM3100-UD5200A which uses an AMD 64 X2 5200.
Xen only detects one of two cores
First I installed Fedora 8 + Xen that ships with the distro and found that only one core was detected when DOM0 booted. Out of frustration I decided to install CentOS 5.1 as a quick resolution to the problem, but found the same problem.
checking /proc/cpuinfo
there is only one core
[root@dom0 lib]# more /proc/cpuinfo
processor : 0vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : AMD Athlon(tm) 64 X2 Dual Core Processor
5200+
stepping : 2
cpu MHz : 2593.594
cache size : 1024 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fpu : yesfpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush mmx fxsr sse sse2 ht sysca
ll nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips :
6485.48
TLB size : 1024 4K pages
clflush size : 64cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
Heres dmesg from CentOS
Bootdata ok (command line is ro root=/dev/VolGroup00/LogVol00 rhgb quiet)
Linux version 2.6.18-53.el5xen ([email protected]) (gcc version 4.1.2 20070626 (Red Hat 4.1.2 -14)) #1 SMP Mon Nov 12 02:46:57 EST 2007
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 00000000a5250000 (usable)
On node 0 totalpages: 676432
DMA zone: 676432 pages, LIFO batch:31
DMI 2.5 present.
ACPI: RSDP (v002 ACRSYS ) @ 0x00000000000f80c0
ACPI: RSDT
(v001 ACRSYS ACRPRDCT 0x42302e31 AWRD 0x00000000) @ 0x00000000affe3000
ACPI: FADT (v001 ACRSYS ACRPRDCT 0x42302e31 AWRD 0x00000000) @ 0x00000000affe3080
ACPI: SSDT (v001 PTLTD POWERNOW 0x00000001 LTP 0x00000001) @ 0x00000000affe7cc0
ACPI: HPET (v001 ACRSYS ACRPRDCT 0x42302e31 AWRD 0x00000098) @ 0x00000000affe7f80
ACPI: SLIC (v001 ACRSYS ACRPRDCT 0x42302e31 AWRD 0x00000020) @ 0x00000000affe7fc0
ACPI: MCFG (v001 ACRSYS ACRPRDCT 0x42302e31 AWRD 0x00000000) @ 0x00000000affe8140
ACPI: MADT (v001 ACRSYS ACRPRDCT 0x42302e31 AWRD 0x00000000) @ 0x00000000affe7c40
ACPI: DSDT (v001 ACRSYS ACRPRDCT 0x00001000 MSFT 0x03000000) @ 0x0000000000000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02]
address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 33, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2593.594 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Software IO TLB enabled:
Aperture: 64 megabytes
Kernel range: 0xffff880004847000 - 0xffff880008847000
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Memory: 2563840k/2705728k available (2357k kernel code, 133072k reserved, 1326k data, 172k init) Calibrating delay using timer specific routine..
6485.48 BogoMIPS (lpj=12970967)
Security Framework v1.0.0 initialized
SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
(SMP-)alternatives turned off
ACPI: Core revision 20060707
Brought up 1 CPUs
sizeof(vma)=168 bytes
sizeof(page)=56 bytes
sizeof(inode)=560 bytes
sizeof(dentry)=216 bytes
sizeof(ext3inode)=760 bytes
sizeof(buffer_head)=96 bytes
sizeof(skbuff)=240 bytes
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to xen
Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at b4000000
(gap: b0000000:30000000)
Built 1 zonelists. Total pages: 676432
[2007-12-18 01:59:05 xend.XendDomainInfo 3028] DEBUG (XendDomainInfo:756) Storing VM details: {'shadow_me mory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'on_poweroff': 'destr oy', 'name': 'Domain-0', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '2635', 'o n_crash': 'restart', 'maxmem': '2635'}
Never miss a thing. Make Yahoo your homepage.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
The logs you sent in this email are unfortunately not very useful for this bug. Please send us the output of Œxm dmesg¹ (this will get us the logs of Xen itself booting) and also (if possible) the dmesg output of booting a native (non-Xen) kernel.
-- Keir
Quoted 158 lines · Darryl Bowler
No one could help me on the other dist lists. Can anyone shed light on this?
----- Forwarded Message ----
From: Darryl Bowler <[email protected]>
To: [email protected]; [email protected]
Sent: Monday, December 17, 2007 11:41:26 PM
Subject: AMD 64 X2 5200 - XEN only detects one coreI have an ACER AM3100-UD5200A which uses an AMD 64 X2 5200.
Xen only detects one of two cores
First I installed Fedora 8 + Xen that ships with the distro and found that only one core was detected when DOM0 booted. Out of frustration I decided to install CentOS 5.1 as a quick resolution to the problem, but found the same problem.
checking
/proc/cpuinfo
there is only one core
[root@dom0 lib]# more/proc/cpuinfo
processor : 0vendor_id: AuthenticAMD
cpu family : 15
model : 67
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
stepping : 2
cpu MHz : 2593.594
cache size : 1024 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fpu : yesfpu_exception: yes
cpuid level : 1
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush
mmx fxsr sse sse2 ht sysca
ll nx mmxextfxsr_optlm 3dnowext 3dnow pni cx16lahf_lmcmp_legacysvmcr8_legacy
bogomips : 6485.48
TLB size : 1024 4K pages
clflush size : 64cache_alignment: 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stcHeres dmesg from CentOS
Bootdata ok (command line is ro root=/dev/VolGroup00/LogVol00 rhgb quiet) Linux version 2.6.18-53.el5xen ([email protected]) (gcc version 4.1.2 20070626 (Red Hat 4.1.2
-14)) #1 SMP Mon Nov 12 02:46:57 EST 2007
BIOS-provided physical RAM map:
Xen: 0000000000000000 -00000000a5250000(usable)
On node 0 totalpages: 676432
DMA zone: 676432 pages, LIFO batch:31
DMI 2.5 present.
ACPI: RSDP (v002 ACRSYS ) @0x00000000000f80c0
ACPI: RSDT (v001 ACRSYS ACRPRDCT0x42302e31AWRD0x00000000) @0x00000000affe3000
ACPI: FADT (v001 ACRSYS ACRPRDCT0x42302e31AWRD0x00000000) @0x00000000affe3080
ACPI: SSDT (v001 PTLTD POWERNOW0x00000001LTP0x00000001) @0x00000000affe7cc0
ACPI: HPET (v001 ACRSYS ACRPRDCT0x42302e31AWRD0x00000098) @0x00000000affe7f80
ACPI: SLIC (v001 ACRSYS ACRPRDCT0x42302e31AWRD0x00000020) @0x00000000affe7fc0
ACPI: MCFG (v001 ACRSYS ACRPRDCT0x42302e31AWRD0x00000000) @0x00000000affe8140
ACPI: MADT (v001 ACRSYS ACRPRDCT0x42302e31AWRD0x00000000) @0x00000000affe7c40
ACPI: DSDT (v001 ACRSYS ACRPRDCT0x00001000MSFT0x03000000) @0x0000000000000000
ACPI: Local APIC address0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI:LAPIC_NMI(acpi_id[0x00] high edge lint[0x1])
ACPI:LAPIC_NMI(acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]:apic_id2, version 33, address0xfec00000, GSI 0-23
ACPI:INT_SRC_OVR(bus 0bus_irq0global_irq2 dfl dfl)
ACPI:INT_SRC_OVR(bus 0bus_irq9global_irq9 low level)
ACPI: IRQ0 used by override.Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2593.594 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Software IO TLB enabled:
Aperture: 64 megabytes
Kernel range:0xffff880004847000-0xffff880008847000
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Memory: 2563840k/2705728k available (2357k kernel code, 133072k reserved, 1326k data, 172k init)
Calibrating delay using timer specific routine.. 6485.48 BogoMIPS (lpj=12970967)
Security Framework v1.0.0 initializedSELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capabilityCapability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
(SMP-)alternatives turned off
ACPI: Core revision 20060707
Brought up 1 CPUs
sizeof(vma)=168 bytes
sizeof(page)=56 bytes
sizeof(inode)=560 bytes
sizeof(dentry)=216 bytes
sizeof(ext3inode)=760 bytes
sizeof(buffer_head)=96 bytes
sizeof(skbuff)=240 bytesACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to xen
Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting atb4000000(gap: b0000000:30000000) Built 1 zonelists. Total pages: 676432[2007-12-18 01:59:05 xend.XendDomainInfo 3028] DEBUG (XendDomainInfo:756) Storing VM details: {'
shadow_me
mory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot':
'restart', 'on_poweroff': 'destr
oy', 'name': 'Domain-0', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '2635', 'on_crash': 'restart', 'maxmem': '2635'}Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HD
tDypao8Wcj9tAcJ >
Quoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 1 line · Darryl Bowler
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 ([email protected]) (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
This might be an entirely different issue. Macs are a slightly different platform from IBM-compatible PC, and have quite different firmware, and that may affect SMP bringup.
-- Keir
Quoted 96 lines · Michael Heyse
Quoted 1 line · Darryl Bowler
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 ([email protected]) (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, paddr0xc0100000->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
[email protected]
http://lists.xensource.com/xen-devel