7 messages in com.xensource.lists.xen-bugs[Xen-bugs] [Bug 1033] New: xm create ...
FromSent OnAttachments
bugz...@lists.xensource.com27 Jul 2007 13:03 
bugz...@lists.xensource.com10 Aug 2007 00:57 
bugz...@lists.xensource.com25 Oct 2007 09:14 
bugz...@lists.xensource.com25 Oct 2007 09:25 
bugz...@lists.xensource.com15 May 2008 00:22 
bugz...@lists.xensource.com15 May 2008 05:49 
bugz...@lists.xensource.com15 May 2008 06:57 
Subject:[Xen-bugs] [Bug 1033] New: xm create command crashes
From:bugz...@lists.xensource.com (bugz@lists.xensource.com)
Date:07/27/2007 01:03:09 PM
List:com.xensource.lists.xen-bugs

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1033

Summary: xm create command crashes Product: Xen Version: 3.0.3 Platform: x86-64 OS/Version: Linux-2.6 Status: NEW Severity: critical Priority: P1 Component: Unspecified AssignedTo: xen-@lists.xensource.com ReportedBy: javi@zasylogic.com

1 - Install required packages for xen:

apt-get install xen-linux-system-2.6.18-4-xen-686

2 - Reboot (new XEN Kernel boots)

3 - Uncomment (network-script network-bridge) on /etc/xen/xend-config.sxp to enable it.

4 - Install IO emulation tools: apt-get install xen-ioemu-3.0.3-1

5 - Create image:

mkdir /home/xen/vm/anymachine sudo dd if=/dev/zero of= /home/xen/vm/anymachine/disk.img bs=1M count=4096

6 - Create config file at /etc/xen (anymachine.cfg):

################################################

kernel = '/usr/lib/xen-default/boot/hvmloader' builder = 'hvm' memory = '1024' device_model='/usr/lib/xen-default/bin/qemu-dm'

# Disks disk = [ 'file:/home/xen/vm/anymachine/disk.img,ioemu:hda,w', 'file:/home/xen/backups/windows.server.2003.sp2.iso,ioemu:hdc:cdrom,r' ]

# Hostname name = 'anymachine'

# Networking vif = ['type=ioemu, bridge=xenbr0']

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

7 - Run the xm create command:

xm create anymachine.cfg

8 - xm create crashes:

#############################################

Using config file "anymachine.cfg". VNC= 1 Unexpected error: exceptions.OSError

Please report to xen-@lists.xensource.com Traceback (most recent call last): File "/usr/lib/xen-3.0.3-1/bin/xm", line 7, in ? main.main(sys.argv) File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/main.py", line 1446, in main rc = cmd(args) File "<string>", line 1, in <lambda> File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/main.py", line 751, in xm_importcommand cmd.main([command] + args) File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/create.py", line 1191, in main dom = make_domain(opts, config) File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/create.py", line 982, in make_domain os.kill(vncpid, signal.SIGKILL) OSError: [Errno 3] No such process

######################################################################