Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sophia xenbackendd[228]: Failed to read /local/domain/0/backend/ console/1/0/script (No such file or directory)
I was successfully a netbsd domU, when the bandwidth started moving toward
zero while running sysinstall for the domU.
I had to stop, for lack of time and when I started again I got the
following errors
Failed to read /local/domain/0/backend/
console/1/0/script (No such file or directory)
Here's my config file for xm -c create
# -*- mode: python; -*-
#============================================================================
# Python defaults setup for 'xm create'.
# Edit this file to reflect the configuration of your system.
#============================================================================
#----------------------------------------------------------------------------
# Kernel image file. This kernel will be loaded in the new domain.
#kernel = "/netbsd-XEN3_DOMU.gz"
#kernel = "/netbsd-XEN3_DOMU.gz"
kernel = "/netbsd-INSTALL_XEN3_DOMU.gz"
# Memory allocation (in megabytes) for the new domain.
memory = 128
# A handy name for your new domain. This will appear in 'xm list',
# and you can use this as parameters for xm in place of the domain
# number. All domains must have different names.
#
name = "NetBSD_DomU1"
# Which CPU to start domain on (only relevant for SMP hardware). CPUs
# numbered starting from ``0''.
#
#cpu = -1 # leave to Xen to pick
#----------------------------------------------------------------------------
# Define network interfaces for the new domain.
# Number of network interfaces (must be at least 1). Default is 1.
#nics = 1
# Define MAC and/or bridge for the network interfaces.
#
# The MAC address specified in ``mac'' is the one used for the interface
# in the new domain. The interface in domain0 will use this address XOR'd
# with 00:00:00:01:00:00 (i.e. aa:00:00:51:02:f0 in our example). Random
# MACs are assigned if not given.
#
# ``bridge'' is a required parameter, which will be passed to the
# vif-script called by xend(8) when a new domain is created to configure
# the new xvif interface in domain0.
#
# In this example, the xvif is added to bridge0, which should have been
# set up prior to the new domain being created -- either in the
# ``network'' script or using a /etc/ifconfig.bridge0 file.
#
vif = [ '' ]
vif = [ 'mac=aa:00:00:50:02:f0, bridge=bridge0' ]
#----------------------------------------------------------------------------
# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.#
# phy:DEV,VDEV,MODE
#
# where DEV is the device, VDEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write. You can also create
# file-backed domains using disk entries of the form:
#
# file:PATH,VDEV,MODE
#
# where PATH is the path to the file used as the virtual disk, and VDEV
# and MODE have the same meaning as for ``phy'' devices.
#
# VDEV doesn't really matter for a NetBSD guest OS (it's just used as an index),
# but it does for Linux.
# Worse, the device has to exist in /dev/ of domain0, because xm will
# try to stat() it. This means that in order to load a Linux guest OS
# from a NetBSD domain0, you'll have to create /dev/hda1, /dev/hda2, ...
# on domain0, with the major/minor from Linux :(
# Alternatively it's possible to specify the device number in hex,
# e.g. 0x301 for /dev/hda1, 0x302 for /dev/hda2, etc ...
disk = [ 'phy:/dev/wd0n,0x1,w' ]
#disk = [ 'file:/var/xen/nbsd-disk,0x01,w' ]
#disk = [ 'file:/var/xen/nbsd-disk,0x301,w' ]
#----------------------------------------------------------------------------
# Set the kernel command line for the new domain.
# Set root device. This one does matter for NetBSD
root = "xbd0"
# extra parameters passed to the kernel
# this is where you can set boot flags like -s, -a, etc ...
#extra = ""
#----------------------------------------------------------------------------
# Set according to whether you want the domain restarted when it exits.
# The default is False.
#autorestart = True
# end of nbsd config file ====================================================
And here is /var/log/xen/xend.log
[2008-06-23 13:02:45 213] DEBUG (XendDomainInfo:1520)
XendDomainInfo.constructDomain
[2008-06-23 13:02:45 213] DEBUG (balloon:115) Balloon: 491904 KiB
free; need 2048; d
one.
[2008-06-23 13:02:45 213] DEBUG (XendDomain:434) Adding Domain: 1
[2008-06-23 13:02:45 213] DEBUG (XendDomainInfo:1580)
XendDomainInfo.initDomain: 1 2
56
[2008-06-23 13:02:45 213] DEBUG (XendDomainInfo:1614)
_initDomain:shadow_memory=0x0,
memory_static_max=0x8000000, memory_static_min=0x0.
[2008-06-23 13:02:45 213] DEBUG (balloon:115) Balloon: 491896 KiB
free; need 131072;
done.
[2008-06-23 13:02:45 213] INFO (image:128) buildDomain os=linux dom=1 vcpus=1
[2008-06-23 13:02:45 213] DEBUG (image:203) domid = 1
[2008-06-23 13:02:45 213] DEBUG (image:204) memsize = 128
[2008-06-23 13:02:45 213] DEBUG (image:205) image =
/netbsd-INSTALL_XEN3_DO
MU.gz
[2008-06-23 13:02:45 213] DEBUG (image:206) store_evtchn = 1
[2008-06-23 13:02:45 213] DEBUG (image:207) console_evtchn = 2
[2008-06-23 13:02:45 213] DEBUG (image:208) cmdline = root=xbd0
[2008-06-23 13:02:45 213] DEBUG (image:209) ramdisk =
[2008-06-23 13:02:45 213] DEBUG (image:210) vcpus = 1
[2008-06-23 13:02:45 213] DEBUG (image:211) features =
[2008-06-23 13:02:46 213] INFO (XendDomainInfo:1422) createDevice: vbd
: {'uuid': 'e
9d1855a-a8ca-f41f-048c-4f6efa1a6ab3', 'bootable': 1, 'driver':
'paravirtualised', 'd
ev': '0x1', 'uname': 'phy:/dev/wd0n', 'mode': 'w'}
[2008-06-23 13:02:46 213] DEBUG (DevController:118) DevController:
writing {'virtual
-device': '1', 'device-type': 'disk', 'protocol': 'x86_64-abi',
'backend-id': '0', '
state': '1', 'backend': '/local/domain/0/backend/vbd/1/1'} to
/local/domain/1/device
/vbd/1.
[2008-06-23 13:02:46 213] DEBUG (DevController:120) DevController:
writing {'domain'
: 'NetBSD_DomU1', 'frontend': '/local/domain/1/device/vbd/1', 'uuid':
'e9d1855a-a8ca
-f41f-048c-4f6efa1a6ab3', 'dev': '0x1', 'state': '1', 'params':
'/dev/wd0n', 'mode':
'w', 'online': '1', 'frontend-id': '1', 'type': 'phy'} to
/local/domain/0/backend/v
bd/1/1.
[2008-06-23 13:02:46 213] INFO (XendDomainInfo:1422) createDevice: vif
: {'bridge':
'bridge0', 'mac': 'aa:00:00:50:02:f0', 'uuid':
'07f2add2-ce08-7d5d-47e1-93f73826b90c
'}
[2008-06-23 13:02:46 213] DEBUG (DevController:118) DevController:
writing {'mac': '
aa:00:00:50:02:f0', 'handle': '0', 'protocol': 'x86_64-abi',
'backend-id': '0', 'sta
te': '1', 'backend': '/local/domain/0/backend/vif/1/0'} to
/local/domain/1/device/vi
f/0.
[2008-06-23 13:02:46 213] DEBUG (DevController:120) DevController:
writing {'bridge'
: 'bridge0', 'domain': 'NetBSD_DomU1', 'handle': '0', 'uuid':
'07f2add2-ce08-7d5d-47
e1-93f73826b90c', 'script': '/usr/pkg/etc/xen/scripts/vif-bridge',
'mac': 'aa:00:00:
50:02:f0', 'frontend-id': '1', 'state': '1', 'online': '1',
'frontend': '/local/doma
in/1/device/vif/0'} to /local/domain/0/backend/vif/1/0.
[2008-06-23 13:02:46 213] DEBUG (XendDomainInfo:2093) Storing VM
details: {'on_xend_
stop': 'ignore', 'shadow_memory': '0', 'uuid':
'ce1dcd34-c88c-03a4-43e7-8c05df69a080
', 'on_reboot': 'restart', 'start_time': '1214251366.13',
'on_poweroff': 'destroy',
'on_xend_start': 'ignore', 'on_crash': 'restart',
'xend/restart_count': '0', 'vcpus'
: '1', 'vcpu_avail': '1', 'image': "(linux (kernel
/netbsd-INSTALL_XEN3_DOMU.gz) (ar
gs 'root=xbd0 ') (notes))", 'name': 'NetBSD_DomU1'}
[2008-06-23 13:02:46 213] DEBUG (XendDomainInfo:914) Storing domain
details: {'conso
le/ring-ref': '120194', 'console/port': '2', 'name': 'NetBSD_DomU1',
'console/limit'
: '1048576', 'vm': '/vm/ce1dcd34-c88c-03a4-43e7-8c05df69a080',
'domid': '1', 'cpu/0/
availability': 'online', 'memory/target': '131072',
'control/platform-feature-multiprocessor-suspend': '1',
'store/ring-ref': '120195', 'store/port': '1'}
[2008-06-23 13:02:46 213] DEBUG (DevController:118) DevController:
writing {'protoco
l': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backe
nd/console/1/0'} to /local/domain/1/device/console/0.
[2008-06-23 13:02:46 213] DEBUG (DevController:120) DevController:
writing {'domain'
: 'NetBSD_DomU1', 'frontend': '/local/domain/1/device/console/0',
'uuid': 'e7d01f41-
734a-8d8d-11ad-2a8a58437edf', 'frontend-id': '1', 'state': '1',
'location': '2', 'on
line': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/1/0.
[2008-06-23 13:02:46 213] DEBUG (XendDomainInfo:998)
XendDomainInfo.handleShutdownWa
tch
[2008-06-23 13:02:46 213] DEBUG (DevController:151) Waiting for devices vif.
[2008-06-23 13:02:46 213] DEBUG (DevController:156) Waiting for 0.
[2008-06-23 13:02:46 213] DEBUG (DevController:590)
hotplugStatusCallback /local/dom
ain/0/backend/vif/1/0/hotplug-status.
[2008-06-23 13:04:26 213] DEBUG (XendDomainInfo:1779)
XendDomainInfo.destroy: domid=
1
[2008-06-23 13:04:26 213] DEBUG (XendDomainInfo:1798)
XendDomainInfo.destroyDomain(1
)
[2008-06-23 13:04:26 213] DEBUG (XendDomainInfo:1444) Removing vif/0
[2008-06-23 13:04:26 213] DEBUG (XendDomainInfo:574)
XendDomainInfo.destroyDevice: d
eviceClass = vif, device = vif/0
[2008-06-23 13:04:26 213] DEBUG (XendDomainInfo:1444) Removing vbd/1
[2008-06-23 13:04:26 213] DEBUG (XendDomainInfo:574)
XendDomainInfo.destroyDevice: d
eviceClass = vbd, device = vbd/1
[2008-06-23 13:04:27 213] DEBUG (XendDomainInfo:1444) Removing console/0
[2008-06-23 13:04:27 213] DEBUG (XendDomainInfo:574)
XendDomainInfo.destroyDevice: d
eviceClass = console, device = console/0
Any advice would most helpful
Thanks
Michael Litchard
Home |
Main Index |
Thread Index |
Old Index