WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Error report from attempt to run an HVM instance

To: port-xen@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Error report from attempt to run an HVM instance
From: "Michael Litchard" <michael@xxxxxxxxxxx>
Date: Sat, 23 Aug 2008 11:22:51 -0700
Cc:
Delivery-date: Sat, 23 Aug 2008 11:23:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Tried to run an HVM instance, here's the error report I got.

# /usr/pkg/sbin/xm create -c /usr/pkg/share/examples/xen/hvm-netbsd
Using config file "/usr/pkg/share/examples/xen/hvm-netbsd".
Started domain hvm-netbsd
Unexpected error: exceptions.OSError

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/pkg/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/usr/pkg/lib/python2.4/site-packages/xen/xm/main.py", line 2497, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/pkg/lib/python2.4/site-packages/xen/xm/main.py", line
2521, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/pkg/lib/python2.4/site-packages/xen/xm/main.py", line
1299, in xm_importcommand
    cmd.main([command] + args)
  File "/usr/pkg/lib/python2.4/site-packages/xen/xm/create.py", line
1298, in main
    do_console(sxp.child_value(config, 'name', -1))
  File "/usr/pkg/lib/python2.4/site-packages/xen/xm/create.py", line
1323, in do_console
    (p, rv) = os.waitpid(cpid, os.WNOHANG)
OSError: [Errno 10] No child processes

kernel = "/usr/pkg/lib/xen/boot/hvmloader"

builder='hvm'

# Initial memory allocation (in megabytes) for the new domain.
memory = 256

# A name for your domain. All domains must have different names.
name = "hvm-netbsd"

#Network interface. By default emules a realtek 8139. For a NetBSD guest you
# have to disable re(4) and let rtk attach to use it.
# ne2k_pci emulates a pci ne2000 clone; this his cpu-hungry in dom0
# pcnet emulates a AMD PCnet-PCI controller; but it corrupts packets with
# pcn(4) under NetBSD.
#vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu, model=ne2k_pci' ]
#vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu, model=pcnet' ]
vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu' ]

#----------------------------------------------------------------------------
# device model to use: only qemu-dm available for now
device_model = '/usr/pkg/libexec/qemu-dm'

# 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.
# For hvm domains you can only use hda to hdd. You can set extra types
# (e.g. cdrom)

disk = [ 'file:/sys/domains/domU3/amd64cd.iso,ioemu:hdc:cdrom,r' ]

disk = ['phy:/dev/wd0i,ioemu:hdb,w']
# floppy images; this doesn't seem to work currently. Use a iso image instead.
#fda = '/home/domains/boot1.fs'

# boot device: a = floppy, c= hard drive, d= cdrom (with the disk entry
# before)# for the virtal framebuffer. You can have the virtal
framebuffer in vnc
# instead, and connect using a vnc client (using localhost:$vncdisplay)
# If vncunused is set to 1 (this is the default value), vncdisplay
# will be set to the first unused port; so it's recommended to
#vnc = 1
#vncdisplay = 0
#vncunused = 0

#Xen emulates a PS/2 mouse, but the pointer in the guest has difficulties
# tracking the absolute position. Xen can emulate a USB tablet in addition
# to the mouse which will report the absolute position of the pointer,
# and make the mouse much easier to use.
#
usb=1
usbdevice='tablet'
#usbdevice='mouse'


Here's my kernel info
NetBSD logos 4.99.72 NetBSD 4.99.72 (XEN3_DOM0) #0: Sat Aug  9
17:34:05 PDT 2008
builds@wb30:/home/builds/ab/HEAD/amd64/200808090002Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/XEN3_DOM0
amd64


Any feedback helping me troubleshoot this would be appreciate this. Thanks.

                                                Michael Litchard

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>