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

[Xen-users] Unexpected error: <type 'exceptions.OSError'>

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Unexpected error: <type 'exceptions.OSError'>
From: Максим Барабанов <rootmax@xxxxxxxxx>
Date: Wed, 2 Dec 2009 15:44:10 +0300
Delivery-date: Wed, 02 Dec 2009 04:44:52 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=75u4KyvVnrErf81SMB22UxfZtDA8nKnxbvZg0JtTbeI=; b=kSxZqABdrbf3E3fOtOFfOoD8Pj+UXjt/dKDUtwb9xlL4csX/58Iv4nItW6+XVTDaYx pLdcBUHzmohE5pCOut1IcI8HQmEEnfX7UBYf3pisA4xnlOtSgNkhZpARRHMrqep1r2DY 9A5jNCOtv3qEy+DLbxbBf9ptRMRDIlYe27QRc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=sefCKUrcDorfO6OmlWBIVLl9Dbqu++eLLp5aYLXZ6jQArxNR+fkzttiSko8hP63eh7 yejRI2ENt6fQHNmeLxSIdbsqlNO/EpNEpyMwWmK3A1L9DenxkdRhCSDAS/oE5G/pnTOu hE4MqwmjC2K8RMv3NZLcZz5XXJUTU9drPoCMY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi
I`m trying to start win2k3R2 in XEN with this config

# grep -v ^# /etc/xen/win2k3.hwm | grep -xv ''
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen-3.2-1/boot/hvmloader"
builder='hvm'
memory = 1024
name = "Windows2003"
vcpus=2
vif = [ 'type=ioemu, bridge=br0' ]
disk = [ 'file:/xen/win/images/windisk.img,ioemu:hda,w',
        'file:/xen/win/images/oradata.img,ioemu:hdc,w' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
device_model = '/usr/' + arch_libdir + '/xen-3.2-1/bin/qemu-dm'
boot='c'
vnc=1
vncviewer=1
audio=0


and got this output

Using config file "/etc/xen/win2k3.hwm".
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


Without 'file:/xen/win/images/oradata.img,ioemu:hdc,w' all works fine

How can I attach the second hdd image?

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Unexpected error: <type 'exceptions.OSError'>, Максим Барабанов <=