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 on xm create

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Error on xm create
From: Gabriel Norton <gabe@xxxxxxxx>
Date: Fri, 12 Feb 2010 00:23:53 -0800
Delivery-date: Fri, 12 Feb 2010 00:24:23 -0800
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
User-agent: Mutt/1.5.20 (2009-06-14)
When first creating a hvm I received:

me@dom0:~$ sudo xm create vm2.cfg
Using config file "/etc/xen/vm2.cfg".
VNC= 1
Unexpected error: <type 'exceptions.OSError'>

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/bin/xm", line 7, in <module>
    main.main(sys.argv)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2528, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2552, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1306, in 
xm_importcommand
    cmd.main([command] + args)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/create.py", line 1200, in main
    dom = make_domain(opts, config)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/create.py", line 1063, in 
make_domain
    os.kill(vncpid, signal.SIGKILL)
OSError: [Errno 3] No such process


The setup is:
  Dom0:
    Debian Lenny on new dell server
    Xen 3.2.xx
  vm2:
    going to be a win2003 box

me@dom0:~$ cat /etc/xen/vm2.cfg 
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '2048'
device_model='/usr/lib/xen/bin/qemu-dm'

# Disks
disk = [ 'phy:/dev/vg0/vm2-hda,ioemu:hda,w',
         'phy:/dev/vg0/vm2-hdb,ioemu:hdb,w',
         'file:/home/me/winserver2003r2/x64/disk1.iso,ioemu:hdc:cdrom,r' ]

# Hostname
name = 'vm2'

# Networking
vif = ['type=ioemu, bridge=eth0',
       'type=ioemu, bridge=eth1']

# Behaviour
boot='d'
vnc=1
vncviewer=1
sdl=0


If there is anything else I will be happy to help.

---
Gabriel A. Norton
IT Specialist
Construction Craft Training Center


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Error on xm create, Gabriel Norton <=