From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Osthof Subject: Full virtualization with Pacifica crashes Date: Tue, 25 Apr 2006 15:20:49 +0200 Message-ID: <200604251520.59763.aosthof@suse.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1641023404==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1641023404== Content-Type: multipart/signed; boundary="nextPart3469590.ovrnDagszZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3469590.ovrnDagszZ Content-Type: multipart/mixed; boundary="Boundary-01=_zIiTEObp1sZsUOn" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_zIiTEObp1sZsUOn Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm currently trying to get Xen working on an Pacifica system. But each tim= e I=20 try to start a fully virtualized guest domain, the system hangs just after= =20 the start with a black screen (paravirtualization works, btw). I've also tried to monitor the system with the serial console, but I get=20 nearly no useful info. If I don't specify the memory used by dom0 (with boo= t=20 option "dom0_mem=3Dxxx"), I can see the following error: Unable to open display. (XEN) domain_crash called from shadow_public.c:1564 (XEN) Domain 1 reported crashed by domain 0 on cpu#0: If I specify explicitely the amount of memory to be used by dom0, no error= =20 message appears, but the screen wents black, too. So I don't really know if= =20 to blame shadow_public.c and thus memory mapping respectively. Have you ever been successful in running such a full virtualized guest doma= in=20 on a Pacifica system, or do you have a clue or a secret tip how to manage t= o=20 get this done? Attached is the config file for the guest domain. =2D-=20 Alexander Osthof R&D SI Architecture Maintenance SUSE Linux Products GmbH, Maxfeldstr.5 Phone: +49-911-74053-285 D-90409 Nuernberg EMail: aosthof@suse.de --Boundary-01=_zIiTEObp1sZsUOn Content-Type: text/plain; charset="utf-8"; name="PacificaDomU" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="PacificaDomU" # -*- mode: python; -*- #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D # Python configuration setup for 'xm create'. # This script sets the parameters used when a domain is created using 'xm c= reate'. # You use a separate script for each domain you want to create, or=20 # you can set the parameters for the domain on the xm command line. #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D import os, re arch =3D os.uname()[4] if re.search('64', arch): arch_libdir =3D 'lib64' else: arch_libdir =3D 'lib' #--------------------------------------------------------------------------= =2D- # Kernel image file. kernel =3D "/usr/lib/xen/boot/hvmloader" # The domain build function. HVM domain uses 'hvm'. builder=3D'hvm' # Initial memory allocation (in megabytes) for the new domain. #memory =3D 128 memory =3D 512 # A name for your domain. All domains must have different names. name =3D "MySusePacifica" #--------------------------------------------------------------------------= =2D-- # the number of cpus guest platform has, default=3D1 #vcpus=3D1 # enable/disable HVM guest PAE, default=3D0 (disabled) #pae=3D0 # enable/disable HVM guest ACPI, default=3D0 (disabled) #acpi=3D0 # enable/disable HVM guest APIC, default=3D0 (disabled) #apic=3D0 # List of which CPUS this domain is allowed to use, default Xen picks #cpus =3D "" # leave to Xen to pick #cpus =3D "0" # all vcpus run on CPU0 #cpus =3D "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 =3D [ 'type=3Dioemu, mac=3D00:16:3e:00:00:11, bridge=3Dxenbr0' ] # type=3Dioemu specify the NIC is an ioemu device not netfront vif =3D [ 'type=3Dioemu, bridge=3Dxenbr0' ] #--------------------------------------------------------------------------= =2D- # 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 =3D [ 'phy:hda1,hda1,r' ] #disk =3D [ 'file:/var/lib/xen/images/disk.img,ioemu:hda,w' ] disk =3D [ 'phy:sda7,hda1,w' ] #--------------------------------------------------------------------------= =2D- # 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 =3D 'destroy' # on_reboot =3D 'restart' # on_crash =3D 'restart' # # For backwards compatibility we also support the deprecated option restart # # restart =3D 'onreboot' means on_poweroff =3D 'destroy' # on_reboot =3D 'restart' # on_crash =3D 'destroy' # # restart =3D 'always' means on_poweroff =3D 'restart' # on_reboot =3D 'restart' # on_crash =3D 'restart' # # restart =3D 'never' means on_poweroff =3D 'destroy' # on_reboot =3D 'destroy' # on_crash =3D 'destroy' #on_poweroff =3D 'destroy' #on_reboot =3D 'restart' #on_crash =3D 'restart' #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D # New stuff device_model =3D '/usr/' + arch_libdir + '/xen/bin/qemu-dm' #--------------------------------------------------------------------------= =2D-- # Disk image for=20 #cdrom=3D #--------------------------------------------------------------------------= =2D-- # boot on floppy (a), hard disk (c) or CD-ROM (d)=20 #boot=3D'd' #--------------------------------------------------------------------------= =2D-- # write to temporary files instead of disk image files #snapshot=3D1 #--------------------------------------------------------------------------= =2D- # enable SDL library for graphics, default =3D 0 sdl=3D0 #--------------------------------------------------------------------------= =2D- # enable VNC library for graphics, default =3D 1 vnc=3D1 #--------------------------------------------------------------------------= =2D- # enable spawning vncviewer(only valid when vnc=3D1), default =3D 1 vncviewer=3D1 #--------------------------------------------------------------------------= =2D- # no graphics, use serial port #nographic=3D0 #--------------------------------------------------------------------------= =2D- # enable stdvga, default =3D 0 (use cirrus logic device model) stdvga=3D0 #--------------------------------------------------------------------------= =2D-- # serial port re-direct to pty deivce, /dev/pts/n=20 # then xm console or minicom can connect serial=3D'pty' #--------------------------------------------------------------------------= =2D- # enable ne2000, default =3D 0(use pcnet) ne2000=3D0 #--------------------------------------------------------------------------= =2D-- # enable audio support #audio=3D1 #--------------------------------------------------------------------------= =2D-- # set the real time clock to local time [default=3D0 i.e. set to utc] #localtime=3D1 #--------------------------------------------------------------------------= =2D-- # start in full screen #full-screen=3D1 =20 --Boundary-01=_zIiTEObp1sZsUOn-- --nextPart3469590.ovrnDagszZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBETiI7fwSlsAbvJXURAp+xAKCJVeIna38voEf8aU4vS+E+NkrT+ACcCjq8 jPpwsoLGb6pFYeV62Opvd00= =UKYg -----END PGP SIGNATURE----- --nextPart3469590.ovrnDagszZ-- --===============1641023404== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1641023404==--