Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xend refuses to start



Marcin M. Jessa wrote:
Christoph Egger wrote:
On Monday 28 July 2008 16:32:29 Brian A. Seklecki wrote:
On Mon, 2008-07-28 at 11:29 +0200, Marcin M. Jessa wrote:
Hi.

I am unabled to connect to the Xen instance on NetBSD 4.99.70

# pkpg_info|grep xen :
xentools3-3.1.4     Userland Tools for Xen
xentools3-hvm-3.1.4 Tools for Virtual Machine Extensions support in Xen
xenkernel3-3.1.4    Xen3 Kernel

This is what /var/log/xen/xend-debug.log says afeter /etc/rc.d/xend
start:

Xend started at Mon Jul 28 11:23:53 2008.
brctl: not found
brctl: not found
Exception starting xend: (61, 'Connection refused')
The xend/xendbackend default configuration files are ... in need of
review.

Launch xend manually with "xend trace_start". Then you get a /var/log/xen/xend.trace file containing all python code in the order
of execution.

Its almost entirely impossible to debug python.

Sure?

The error messages could be of a more human readable form..

My problem was missing xen devices in /dev, thanks Jaime Fournier for pointing this out.

I still have problems running things properly.
Trying to start a Windows XP image I previously used on Linux I get following error msg in console (the log files are silent):

Using config file "/usr/local/etc/xen/winxp".
Error: invalid literal for int(): *.22

Any idea what that could mean?
I found nothing matching under /usr/local/lib/python2.4/site-packages/xen


This is my config file:

#Kernel and memory size
kernel = '/usr/local/lib/xen/boot/hvmloader'
builder = 'hvm'
memory  = '512'
vcpus=1
pae=0
acpi=0
apic=0
device_model = '/usr/local/libexec/qemu-dm'
disk = [ 'tap:aio:/xen/windows/winxp.img,ioemu:xvda,w', 'phy:/dev/cd0a,ioemu:xvdc:cdrom,r' ]

I think, here is the problem. blktap is not available for NetBSD.
Use 'file:/xen/windows/winxp.img,ioemu:xvda,w'.

(It is still not available with upcoming Xen 3.3 where I factored
out Linux specific code into separate files and made the rest build
on NetBSD.)

#  Hostname and Networking
name = 'winxp'
vif = [ 'type=ioemu, bridge=bridge0, mac=00:00:00:ff:fe:01' ]

#  Behavior
boot = 'c'  #d is cdrom boot, c is disk boot.
nographic='0'
vnc = '1'
vncviewer = '1'
sdl='0'
stdvga='0'
serial='pty'
ne2000='0'

#  Behavior
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'



Home | Main Index | Thread Index | Old Index