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-bugs

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

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1033] New: xm create command crashes
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 27 Jul 2007 13:03:32 -0700
Delivery-date: Fri, 27 Jul 2007 13:04:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 1033] New: xm create command crashes, bugzilla-daemon <=