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

[Xen-bugs] [Bug 1033] New: xm create command crashes



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-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: javier.santiago@xxxxxxxxxxxxx


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-devel@xxxxxxxxxxxxxxxxxxx
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

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


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.