| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Problem booting fully virtualized (Intel VT) 32b guest on XEN32 unstable
 Has anyone been able to boot a fully virtualized (Intel VT) 32bit guest on XEN32 unstable? I'm trying to setup a nightly test environment for this configuration and XEN32 nosmp hangs when launching a 32bit guest, and XEN32 smp gets a double fault launching a 32bit guest. It happens pretty early as the SDL window doesn't come up. I tried with apic, pae, and acpi all on and all off, same problem. Example config attached. Here is my XEN32 nosmp console: Red Hat Enterprise Linux ES release 4 (Nahant Update 2) Kernel 2.6.16-xen on an i686 tst122 login: root Password: Last login: Thu Apr 27 16:13:40 from 10.1.2.13 [root@tst122 ~]# /etc/init.d/xend start Bridge firewalling registered ip_tables: (C) 2000-2006 Netfilter Core Team [root@tst122 ~]# xm info host : tst122 release : 2.6.16-xen version : #1 SMP Wed Apr 26 00:58:26 EDT 2006 machine : i686 nr_cpus : 1 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 1 threads_per_core : 1 cpu_mhz : 2793hw_caps : bfebfbff:20000000:00000000:00000180:0000e43d:00000000:00000001 total_memory : 1023 free_memory : 62 xen_major : 3 xen_minor : 0 xen_extra : -unstable xen_caps : xen-3.0-x86_32 hvm-3.0-x86_32 platform_params : virt_start=0xfc000000 xen_changeset : Tue Apr 25 18:22:11 2006 +0100 9744:1ad06bd6832d cc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) cc_compile_by : build cc_compile_domain : katana-technology.com cc_compile_date : Wed Apr 26 00:10:30 EDT 2006 [root@tst122 ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 939 1 r----- 27.7 [root@tst122 ~]# xm create /boot/vs179_sdl.hvm Using config file "/boot/vs179_sdl.hvm". ip_tables: (C) 2000-2006 Netfilter Core Team Started domain vs *** HUNG *** Here is my XEN32 smp console: Red Hat Enterprise Linux ES release 4 (Nahant Update 2) Kernel 2.6.16-xen on an i686 tst122 login: root Password: Last login: Thu Apr 27 16:22:46 from 10.1.2.13 [root@tst122 ~]# /etc/init.d/xend start Bridge firewalling registered ip_tables: (C) 2000-2006 Netfilter Core Team [root@tst122 ~]# xm info host : tst122 release : 2.6.16-xen version : #1 SMP Wed Apr 26 00:58:26 EDT 2006 machine : i686 nr_cpus : 2 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2793hw_caps : bfebfbff:20000000:00000000:00000180:0000e43d:00000000:00000001 total_memory : 1023 free_memory : 62 xen_major : 3 xen_minor : 0 xen_extra : -unstable xen_caps : xen-3.0-x86_32 hvm-3.0-x86_32 platform_params : virt_start=0xfc000000 xen_changeset : Tue Apr 25 18:22:11 2006 +0100 9744:1ad06bd6832d cc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) cc_compile_by : build cc_compile_domain : katana-technology.com cc_compile_date : Wed Apr 26 00:10:30 EDT 2006 [root@tst122 ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 939 2 r----- 31.2 [root@tst122 ~]# xm create /boot/vs179_sdl.hvm Using config file "/boot/vs179_sdl.hvm". ip_tables: (C) 2000-2006 Netfilter Core Team Started domain vs179 [root@tst122 ~]# (XEN) CPU: 1 (XEN) EIP: e008:[<ff1282f3>] do_page_fault+0x53/0x410 (XEN) EFLAGS: 00010213 (XEN) CR3: 00000000 (XEN) eax: 00000000 ebx: 00000000 ecx: 00000073 edx: ff1ddfb4 (XEN) esi: ff1dd0e8 edi: 0000000c ebp: 00000000 esp: ff1dd0b4 (XEN) ds: e010 es: e010 fs: e010 gs: e010 ss: e010 (XEN) ************************************ (XEN) CPU1 DOUBLE FAULT -- system shutdown (XEN) System needs manual reset. (XEN) ************************************ #  -*- mode: python; -*-
#============================================================================
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm 
create'.
# You use a separate script for each domain you want to create, or 
# you can set the parameters for the domain on the xm command line.
#============================================================================
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/usr/lib/xen/boot/hvmloader"
# The domain build function. HVM domain uses 'hvm'.
builder='hvm'
# Initial memory allocation (in megabytes) for the new domain.
memory = 128
# A name for your domain. All domains must have different names.
name = "vs179"
#-----------------------------------------------------------------------------
# the number of cpus guest platform has, default=1
#vcpus=2
# enable/disable HVM guest PAE, default=0 (disabled)
pae=0
# enable/disable HVM guest ACPI, default=0 (disabled)
acpi=0
# enable/disable HVM guest APIC, default=0 (disabled)
apic=0
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = ""         # leave to Xen to pick
#cpus = "0"        # all vcpus run on CPU0
#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
#vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0' ]
# type=ioemu specify the NIC is an ioemu device not netfront
vif = [ 'type=ioemu, mac=00:0f:4b:00:00:C9, bridge=xenbr0' ]
#----------------------------------------------------------------------------
# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.
disk = [ 'phy:/dev/sdb,ioemu:hda,rw' ]
#disk = [ 'file:/var/images/min-el3-i386.img,ioemu:hda,w' ]
#----------------------------------------------------------------------------
# Configure the behaviour when a domain exits.  There are three 'reasons'
# for a domain to stop: poweroff, reboot, and crash.  For each of these you
# may specify:
#
#   "destroy",        meaning that the domain is cleaned up as normal;
#   "restart",        meaning that a new domain is started in place of the old
#                     one;
#   "preserve",       meaning that no clean-up is done until the domain is
#                     manually destroyed (using xm destroy, for example); or
#   "rename-restart", meaning that the old domain is not cleaned up, but is
#                     renamed and a new domain started in its place.
#
# The default is
#
#   on_poweroff = 'destroy'
#   on_reboot   = 'restart'
#   on_crash    = 'restart'
#
# For backwards compatibility we also support the deprecated option restart
#
# restart = 'onreboot' means on_poweroff = 'destroy'
#                            on_reboot   = 'restart'
#                            on_crash    = 'destroy'
#
# restart = 'always'   means on_poweroff = 'restart'
#                            on_reboot   = 'restart'
#                            on_crash    = 'restart'
#
# restart = 'never'    means on_poweroff = 'destroy'
#                            on_reboot   = 'destroy'
#                            on_crash    = 'destroy'
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
#============================================================================
# New stuff
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
#-----------------------------------------------------------------------------
# Disk image for 
#cdrom = '/boot/RHEL4U2-32b.boot.iso'
#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d) 
#boot=[a|c|d]
#boot = 'd'
#-----------------------------------------------------------------------------
#  write to temporary files instead of disk image files
#snapshot=1
#----------------------------------------------------------------------------
# enable SDL library for graphics, default = 0
sdl = 1
#----------------------------------------------------------------------------
# enable VNC library for graphics, default = 1
vnc = 0
#----------------------------------------------------------------------------
# enable spawning vncviewer(only valid when vnc=1), default = 1
vncviewer = 0
#----------------------------------------------------------------------------
# no graphics, use serial port
#nographic=0
#-----------------------------------------------------------------------------
#   serial port re-direct to pty deivce, /dev/pts/n 
#   then xm console or minicom can connect
#serial='pty'
#----------------------------------------------------------------------------
# enable ne2000, default = 0(use pcnet)
ne2000=0
#-----------------------------------------------------------------------------
#   enable audio support
#audio=1
#-----------------------------------------------------------------------------
#    set the real time clock to local time [default=0 i.e. set to utc]
#localtime=1
#-----------------------------------------------------------------------------
#    start in full screen
#full-screen=1   
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |