[CentOS-virt] Xen 3.1.2 on CentOS 5.5 doesn't see all 4 CPUs

Thu Jun 3 16:27:10 UTC 2010
Bryan A. Ignatow <bryan at ignatow.org>

Hello all,

I've been digging around on this for a few days and I have not come up
with a solution.

I have a Compaq ProLiant DL580 (G1, the old tan Compaq) with 4 x 700MHz
P-III CPUs and 11GB of memory.  I've loaded CentOS 5.5 with Virtualization
(Xen) + KVM and patched up to current (full KS packages file list at the
end).

When it boots, Xen only detects a single CPU as shown in the xm dmesg
output (full output and the end):

(XEN) Detected 701.650 MHz processor.
(XEN) I/O virtualisation disabled
(XEN) CPU0: Intel Pentium III (Cascades) stepping 04
(XEN) Platform timer overflows in 2 jiffies.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 1 CPUs
[...]
(XEN) Dom0 has maximum 1 VCPUs


The system shows all 4 CPUs when booted outside of Xen.

Any ideas on Xen options or anything I can try to see if I can get all 4
CPUs?


Thanks,

Bryan

___________________________________________________________________

 __  __            _____  _   ____     _  ___  _  _    _____  _       _ ____
 \ \/ /___ _ __   |___ / / | |___ \   / |/ _ \| || |  |___ / / |  ___| | ___|
  \  // _ \ _ \    |_ \ | |   __) |__| | (_) | || |_   |_ \ | | / _ \ |___ \
  /  \  __/ | | |  ___) || |_ / __/|__| |\__, |__   _| ___) || ||  __/
|___) |
 /_/\_\___|_| |_| |____(_)_(_)_____|  |_|  /_/   |_|(_)____(_)_(_)___|_|____/

 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.1.2-194.3.1.el5 (mockbuild at centos.org) (gcc version 4.1.2
20080704 (Red Hat 4.1.2-48)) Thu May 13 13:02:01

EDT 2010
 Latest ChangeSet: unavailable

(XEN) Command line: dom0_mem=1024M crashkernel=128M at 16M
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 2 seconds
(XEN) Disc information:
(XEN)  Found 2 MBR signatures
(XEN)  Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009d800 (usable)
(XEN)  000000000009d800 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000dfffc000 (usable)
(XEN)  00000000dfffc000 - 00000000e0000000 (ACPI data)
(XEN)  00000000fec00000 - 00000000fec10000 (reserved)
(XEN)  00000000fee00000 - 00000000fee10000 (reserved)
(XEN)  00000000fff80000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 00000002c0000000 (usable)
(XEN) Kdump: 128MB (131072kB) at 0x1000000
(XEN) System RAM: 10751MB (11009636kB)
(XEN) Xen heap: 9MB (9740kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) PAE enabled, limit: 16 GB
(XEN) Local APIC disabled by BIOS -- you can enable it with "lapic"
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 701.650 MHz processor.
(XEN) I/O virtualisation disabled
(XEN) CPU0: Intel Pentium III (Cascades) stepping 04
(XEN) Platform timer overflows in 2 jiffies.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 1 CPUs
(XEN) xenoprof: Initialization failed. No APIC
(XEN) *** LOADING DOMAIN 0 ***
(XEN) elf_parse_binary: phdr: paddr=0xc0400000 memsz=0x28771c
(XEN) elf_parse_binary: phdr: paddr=0xc0688000 memsz=0x164000
(XEN) elf_parse_binary: memory: 0xc0400000 -> 0xc07ec000
(XEN) elf_xen_parse_note: GUEST_OS = "linux"
(XEN) elf_xen_parse_note: GUEST_VERSION = "2.6"
(XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0"
(XEN) elf_xen_parse_note: VIRT_BASE = 0xc0000000
(XEN) elf_xen_parse_note: PADDR_OFFSET = 0xc0000000
(XEN) elf_xen_parse_note: ENTRY = 0xc0400000
(XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xc0401000
(XEN) elf_xen_parse_note: FEATURES =

"writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel"
(XEN) elf_xen_parse_note: PAE_MODE = "yes"
(XEN) elf_xen_parse_note: LOADER = "generic"
(XEN) elf_xen_addr_calc_check: addresses:
(XEN)     virt_base        = 0xc0000000
(XEN)     elf_paddr_offset = 0xc0000000
(XEN)     virt_offset      = 0x0
(XEN)     virt_kstart      = 0xc0400000
(XEN)     virt_kend        = 0xc07ec000
(XEN)     virt_entry       = 0xc0400000
(XEN)  Xen  kernel: 32-bit, PAE, lsb
(XEN)  Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0400000 -> 0xc07ec000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000003c000000->000000003e000000 (253952 pages to
be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0400000->c07ec000
(XEN)  Init. ramdisk: c07ec000->c0efec00
(XEN)  Phys-Mach map: c0eff000->c0fff000
(XEN)  Start info:    c0fff000->c0fff46c
(XEN)  Page tables:   c1000000->c100f000
(XEN)  Boot stack:    c100f000->c1010000
(XEN)  TOTAL:         c0000000->c1400000
(XEN)  ENTRY ADDRESS: c0400000
(XEN) Dom0 has maximum 1 VCPUs
(XEN) elf_load_binary: phdr 0 at 0xc0400000 -> 0xc068771c
(XEN) elf_load_binary: phdr 1 at 0xc0688000 -> 0xc0733cc4
(XEN) Initrd len 0x712c00, start at 0xc07ec000
(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 \047CTRL-a\047 three times to switch
input to Xen).
(XEN) Freed 108kB init memory.

___________________________________________________________________

%packages
@admin-tools
@base
@core
@dns-server
@development-libs
@development-tools
@dialup
@editors
@engineering-and-scientific
@ftp-server
@gnome-desktop
@gnome-software-development
@games
@graphical-internet
@graphics
@java
@java-development
@kvm
@legacy-network-server
@mail-server
@mysql
@network-server
@office
@printing
@ruby
@server-cfg
@sound-and-video
@system-tools
@text-internet
@xen
@web-server
@smb-server
@x-software-development
@base-x
system-config-kickstart
system-config-netboot
system-config-netboot-cmd
keyutils
dmraid-events-logwatch
kexec-tools
gpart
iscsi-initiator-utils
trousers
bridge-utils
authd
fipscheck
hardlink
x86info
device-mapper-multipath
hfsutils
perl-XML-SAX
perl-XML-Twig
perl-XML-Dumper
perl-TimeDate
perl-libxml-perl
perl-Convert-ASN1
perl-XML-NamespaceSupport
perl-DateManip
perl-Crypt-SSLeay
perl-Mozilla-LDAP
perl-LDAP
perl-XML-Grove
python-imaging
perl-Archive-Zip
pexpect
imake
gcc-objc
expect
java-1.6.0-openjdk
nasm
statserial
xferstats
libsane-hpaio
libvirt-cim
Virtualization-en-US
libcmpiutil
telnet-server
rsh-server
tftp-server
mailman
postfix
squirrelmail
cyrus-imapd
mod_auth_mysql
mysql-devel
mysql-bench
php-mysql
openldap-servers
vnc-server
freeradius
system-config-bind
system-config-boot
rdesktop
lsscsi
uucp
festival
tsclient
x3270
lslk
nmap-frontend
wireshark-gnome
audit
mrtg
net-snmp-utils
sysstat
gnome-nettool
iptraf
vlock
dstat
Virtualization-en-US
php-odbc
mod_nss
mod_auth_mysql
mod_authz_ldap
php-mysql
xorg-x11-xbitmaps
openmotif-devel
mesa-libGLU-devel
libXp-devel
xorg-x11-resutils
xorg-x11-xsm
xorg-x11-server-Xnest
xorg-x11-xfs-utils
xorg-x11-server-Xvfb
-spamassassin

___________________________________________________________________

-- 
Bryan A. Ignatow
bryan at ignatow.org