From: Edward Dunagin Subject: xen 3.0 README 12/20/05 Date: Wed, 11 Jan 2006 15:14:50 -0700 Message-ID: <2af451740601111414y16fec5cdy63aeb16576f6e8d3@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1994629580==" 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 --===============1994629580== Content-Type: multipart/alternative; boundary="----=_Part_24163_454449.1137017690353" ------=_Part_24163_454449.1137017690353 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline i have followed the instrucrions in this file and have problems. when i run..xm create /etc/xen/xmexample1..i get this error: Error: Error creating domain: (0, 'Error') i have tried adjusting the contents of your configuration file, without results different from this. i am running suse10.0 and xen-3.0_8257-0.1.gz. on a p4 with 1g ram and 122g h/d. i am including the /etc/xen/xmexample1 file: # -*- 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 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. #=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 #--------------------------------------------------------------------------= -- # Kernel image file. kernel =3D "/boot/vmlinuz-xen" # Optional ramdisk. ramdisk =3D "/boot/initrd-xen" # The domain build function. Default is 'linux'. builder=3D'linux' # Initial memory allocation (in megabytes) for the new domain. memory =3D 128 # A name for your domain. All domains must have different names. name =3D "domain1" # 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 # Number of Virtual CPUS to use, default is 1 vcpus =3D2 #--------------------------------------------------------------------------= -- # Define network interfaces. # Number of network interfaces. Default is 1. #nics=3D1 # Optionally define mac and/or bridge for the network interfaces. # Random MACs are assigned if not given. vif =3D [ 'mac=3D00:16:3e:00:00:11, bridge=3Dxenbr0' ] #--------------------------------------------------------------------------= -- # 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,w' ] #--------------------------------------------------------------------------= -- # Define to which TPM instance the user domain should communicate. # The vtpm entry is of the form 'instance=3DINSTANCE,backend=3DDOM' # where INSTANCE indicates the instance number of the TPM the VM # should be talking to and DOM provides the domain where the backend # is located. # Note that no two virtual machines should try to connect to the same # TPM instance. The handling of all TPM instances does require # some management effort in so far that VM configration files (and thus # a VM) should be associated with a TPM instance throughout the lifetime # of the VM / VM configuration file. The instance number must be # greater or equal to 1. vtpm =3D [ 'instance=3D1,backend=3D0' ] #--------------------------------------------------------------------------= -- # Set the kernel command line for the new domain. # You only need to define the IP parameters and hostname if the domain's # IP config doesn't, e.g. in ifcfg-eth0 or via DHCP. # You can use 'extra' to set the runlevel and custom environment # variables used by custom rc scripts (e.g. VMID=3D, usr=3D ). # Set if you want dhcp to allocate the IP address. dhcp=3D"dhcp" # Set netmask. #netmask=3D # Set default gateway. #gateway=3D # Set the hostname. #hostname=3D "vm%d" % vmid # Set root device. root =3D "/var/lib/xen/images/domain1/hda,ro" # Root device for nfs. #root =3D "/dev/nfs" # The nfs server. #nfs_server =3D '169.254.1.0' # Root directory on the nfs server. #nfs_root =3D '/full/path/to/root/directory' # Sets runlevel 4. extra =3D "4" PLEASE help. -- Edward Dunagin 4646 Glenwood Drive Bozeman, MT 59718 mobile 406-570-0992 ------=_Part_24163_454449.1137017690353 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline i have followed the instrucrions in this file and have problems.

when i run..xm create /etc/xen/xmexample1..i get this error:
Error: Error creating domain: (0, 'Error')

i have tried adjusting the contents of your configuration file, without res= ults
different from this.

i am running suse10.0 and xen-3.0_8257-0.1.gz. on a p4 wi= th 1g ram and 122g h/d.

i am including the /etc/xen/xmexample1 file:
#  -*- 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
# 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

#--------------------------------------------------------------------------= --
# Kernel image file.
kernel =3D "/boot/vmlinuz-xen"

# Optional ramdisk.
ramdisk =3D "/boot/initrd-xen"

# The domain build function. Default is 'linux'.
builder=3D'linux'

# Initial memory allocation (in megabytes) for the new domain.
memory =3D 128

# A name for your domain. All domains must have different names.
name =3D "domain1"

# List of which CPUS this domain is allowed to use, default Xen picks
cpus =3D ""         # lea= ve to Xen to pick
#cpus =3D "0"        # all vcp= us run on CPU0
#cpus =3D "0-3,5,^1" # run on cpus 0,2,3,5

# Number of Virtual CPUS to use, default is 1
vcpus =3D2

#--------------------------------------------------------------------------= --
# Define network interfaces.

# Number of network interfaces. Default is 1.
#nics=3D1

# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
vif =3D [ 'mac=3D00:16:3e:00:00:11, bridge=3Dxenbr0' ]

#--------------------------------------------------------------------------= --
# 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,w' ]

#--------------------------------------------------------------------------= --
# Define to which TPM instance the user domain should communicate.
# The vtpm entry is of the form 'instance=3DINSTANCE,backend=3DDOM'
# where INSTANCE indicates the instance number of the TPM the VM
# should be talking to and DOM provides the domain where the backend
# is located.
# Note that no two virtual machines should try to connect to the same
# TPM instance. The handling of all TPM instances does require
# some management effort in so far that VM configration files (and thus
# a VM) should be associated with a TPM instance throughout the lifetime # of the VM / VM configuration file. The instance number must be
# greater or equal to 1.
vtpm =3D [ 'instance=3D1,backend=3D0' ]

#--------------------------------------------------------------------------= --
# Set the kernel command line for the new domain.
# You only need to define the IP parameters and hostname if the domain's # IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
# You can use 'extra' to set the runlevel and custom environment
# variables used by custom rc scripts (e.g. VMID=3D, usr=3D ).

# Set if you want dhcp to allocate the IP address.
dhcp=3D"dhcp"
# Set netmask.
#netmask=3D
# Set default gateway.
#gateway=3D
# Set the hostname.
#hostname=3D "vm%d" % vmid

# Set root device.
root =3D "/var/lib/xen/images/domain1/hda,ro"
# Root device for nfs.
#root =3D "/dev/nfs"
# The nfs server.
#nfs_server =3D '169.254.1.0' 
# Root directory on the nfs server.
#nfs_root   =3D '/full/path/to/root/directory'

# Sets runlevel 4.
extra =3D "4"

PLEASE help.
--
Edward Dunagin
4646 Glenwood Drive
Bozeman, MT= 59718
mobile 406-570-0992 ------=_Part_24163_454449.1137017690353-- --===============1994629580== 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 --===============1994629580==--