Unable to install windowsxp in xen
Hi,
I follow the following steps.
# yum update # yum install xen kernel-xen # sudo dd if=/dev/zero of=/home/xen/domains/win01/disk.img bs=1M count=4096 # dd if=/dev/zero of=/roo/winxp.disk0 bs=1M count=4096 # mount /dev/cdrom /mnt # vi /etc/xen/win01.cfg
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '512'device_model = '/usr/lib/xen/bin/qemu-dm'
disk = ['file:/home/xen/domains/win01/disk.img,ioemu:hda,w','file:/dev/cdrom,hdb:cdrom,r'] name = 'win01'
vif = [ 'type = ioemu, bridge = xenbr0' ]
vcpus=1
vncviewer=1
vncconsole=1
usb=1
usbdevice='tablet'
# xm create win01.cfg Using config file "./win01.cfg". VNC= 1 Unexpected error: <type 'exceptions.OSError'>
Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in <module>
main.main(sys.argv)
File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2500, in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2524, in_run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 1302, inxm_importcommand
cmd.main([command] + args)
File "/usr/lib/python2.5/site-packages/xen/xm/create.py", line 1310, in
main
dom = make_domain(opts, config)
File "/usr/lib/python2.5/site-packages/xen/xm/create.py", line 1055, inmake_domain
os.kill(vncpid, signal.SIGKILL)
OSError: [Errno 3] No such process
Please help me to install winxp in xen successfully. Thanks
Amitava Ghosh
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 34 lines · amitava ghosh
Hi,
I follow the following steps.# yum update # yum install xen kernel-xen # sudo dd if=/dev/zero of=/home/xen/domains/win01/disk.img bs=1M count=4096 # dd if=/dev/zero of=/roo/winxp.disk0 bs=1M count=4096 # mount /dev/cdrom /mnt # vi /etc/xen/win01.cfgkernel = '
/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '512'device_model= '/usr/lib/xen/bin/qemu-dm'
disk = ['file:/home/xen/domains/win01/disk.img,ioemu:hda,w','file:/dev/cdrom,hdb:cdrom,r'] name = 'win01'
vif = [ 'type = ioemu, bridge = xenbr0' ]
vcpus=1
vncviewer=1
vncconsole=1
usb=1
usbdevice='tablet'# xm create win01.cfg Using config file "./win01.cfg". VNC= 1 Unexpected error: <type 'exceptions.OSError'>Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in <module>
main.main(sys.argv)
File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2500, in main_, rc = _run_cmd(cmd, cmd_name, args)
Quoted 14 lines
File "
/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2524, in_run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 1302, inxm_importcommand
cmd.main([command] + args)
File "/usr/lib/python2.5/site-packages/xen/xm/create.py", line 1310, in
main
dom =make_domain(opts, config)
File "/usr/lib/python2.5/site-packages/xen/xm/create.py", line 1055, inmake_domain
os.kill(vncpid, signal.SIGKILL)
OSError: [Errno 3] No such process
Hi,
that looks a lot like the bug that was solved in xen-unstable with changesets:
19725: "xm: Don't die when trying to conect the console to short-lived domains" 19728: "xm: Remove redundant os.waitpid() call from do_console()"