[CentOS-virt] error installing Xen guests on CentOS 5.1 x64 - could not read tty from store

Sun Mar 2 10:04:15 UTC 2008
Rudi Ahlers <Rudi at SoftDux.com>

Hi all

I keep on getting this error when I try and install a Xen guest on a 
CentOS 5.1 x64 server with Xen installed from the repositories:



[root at gimbli ~]# virt-install sdl=0 vnc=0 nographic=0 -v 
--location=http://intranet/kickstart/cPanel/centos/5.1/32/os/i386/ 
--ram=256 --file-size=10 --file=/home/vm/vps07.img --name=vps07
libvir: error : configuration file syntax error: expecting an assignment
Would you like to enable graphics support? (yes or no) no


Starting install...
Retrieving CentOS...                                             91 kB 00:00
Retrieving boot.iso...    100% |=========================| 7.3 MB    00:00
Creating storage file...  100% |=========================|  10 GB    00:00
Creating domain...                                                 0 B 00:00
Domain installation still in progress.  You can reconnect
to the console to complete the installation process.
[root at gimbli ~]# xm console vps07
xenconsole: Could not read tty from store: No such file or directory


[root at gimbli ~]# xm dmesg
 __  __            _____  _   ___    ____ _____  _   _ _____      _ ____
 \ \/ /___ _ __   |___ / / | / _ \  | ___|___ / / | / |___ /  ___| | ___|
  \  // _ \ \047_ \    |_ \ | || | | |_|___ \ |_ \ | | | | |_ \ / _ \ |___ \
  /  \  __/ | | |  ___) || || |_| |__|__) |__) || |_| |___) |  __/ |___) |
 /_/\_\___|_| |_| |____(_)_(_)___/  |____/____(_)_(_)_|____(_)___|_|____/

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

 Xen version 3.1.0-53.1.13.el5 (mockbuild@) (gcc version 4.1.2 20070626 
(Red Hat 4.1.2-14)) Tue Feb 12 12:55:35 EST 2008
 Latest ChangeSet: unavailable

(XEN) Command line: /xen.gz-2.6.18-53.1.13.el5
(XEN)  0000000000000000 - 000000000009f000 (usable)
(XEN)  000000000009f800 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007f5e0000 (usable)
(XEN)  000000007f5e0000 - 000000007f5e3000 (ACPI NVS)
(XEN)  000000007f5e3000 - 000000007f5f0000 (ACPI data)
(XEN)  000000007f5f0000 - 000000007f600000 (reserved)
(XEN)  00000000d0000000 - 00000000e0000000 (reserved)
(XEN)  00000000fec00000 - 0000000100000000 (reserved)
(XEN) System RAM: 2037MB (2086396kB)
(XEN) Xen heap: 13MB (14212kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2666.753 MHz processor.
(XEN) HVM: VMX enabled
(XEN) VMX: MSR intercept bitmap enabled
(XEN) CPU0: Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz stepping 0b
(XEN) Mapping cpu 0 to node 255
(XEN) Booting processor 1/1 eip 90000
(XEN) Mapping cpu 1 to node 255
(XEN) CPU1: Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz stepping 0b
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs
(XEN) mtrr: your CPUs had inconsistent variable MTRR settings
(XEN) *** LOADING DOMAIN 0 ***
(XEN) elf_parse_binary: phdr: paddr=0xffffffff80200000 memsz=0x2c3c58
(XEN) elf_parse_binary: phdr: paddr=0xffffffff804c3c80 memsz=0x113270
(XEN) elf_parse_binary: phdr: paddr=0xffffffff805d7000 memsz=0xc08
(XEN) elf_parse_binary: phdr: paddr=0xffffffff805d8000 memsz=0x10af04
(XEN) elf_parse_binary: memory: 0xffffffff80200000 -> 0xffffffff806e2f04
(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 = 0xffffffff80000000
(XEN) elf_xen_parse_note: PADDR_OFFSET = 0xffffffff80000000
(XEN) elf_xen_parse_note: ENTRY = 0xffffffff80200000
(XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff80206000
(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: LOADER = "generic"
(XEN) elf_xen_addr_calc_check: addresses:
(XEN)     virt_base        = 0xffffffff80000000
(XEN)     elf_paddr_offset = 0xffffffff80000000
(XEN)     virt_offset      = 0x0
(XEN)     virt_kstart      = 0xffffffff80200000
(XEN)     virt_kend        = 0xffffffff806e2f04
(XEN)     virt_entry       = 0xffffffff80200000
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80200000 -> 
0xffffffff806e2f04
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000007a000000->000000007c000000 (470828 pages 
to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80200000->ffffffff806e2f04
(XEN)  Init. ramdisk: ffffffff806e3000->ffffffff80e3aa00
(XEN)  Phys-Mach map: ffffffff80e3b000->ffffffff811e2960
(XEN)  Start info:    ffffffff811e3000->ffffffff811e349c
(XEN)  Page tables:   ffffffff811e4000->ffffffff811f1000
(XEN)  Boot stack:    ffffffff811f1000->ffffffff811f2000
(XEN)  TOTAL:         ffffffff80000000->ffffffff81400000
(XEN)  ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 2 VCPUs
(XEN) elf_load_binary: phdr 0 at 0xffffffff80200000 -> 0xffffffff804c3c58
(XEN) elf_load_binary: phdr 1 at 0xffffffff804c3c80 -> 0xffffffff805d6ef0
(XEN) elf_load_binary: phdr 2 at 0xffffffff805d7000 -> 0xffffffff805d7c08
(XEN) elf_load_binary: phdr 3 at 0xffffffff805d8000 -> 0xffffffff80611388
(XEN) Initrd len 0x757a00, start at 0xffffffff806e3000
(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).



The machine is an Intel Core 2 Duo 6750

-- 

Kind Regards
Rudi Ahlers
CEO, SoftDux