edu gargiulo
2008-Aug-21 03:58 UTC
[Xen-users] OSError trying hvm (was: svm flags not present)
Finally I install debian-amd64 stable from scratch. The following packages from official repositories $ dpkg -l | grep xen dpkg -l | grep xen linux-image-2.6.18-6-xen-amd64 linux-modules-2.6.18-6-xen-amd64 xen-docs-3.0 xen-hypervisor-3.0.3-1-amd64 xen-ioemu-3.0.3-1 xen-linux-system-2.6.18-6-xen-amd64 xen-tools xen-utils-3.0.3-1 xen-utils-common then I have created winxp.cfg $ cat /etc/xen/winxp.cfg kernel = ''/usr/lib/xen-3.0.3-1/boot/hvmloader'' builder = ''hvm'' memory = 512 device_model = ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' disk = [''file:/opt/xen/domU/winxp.img,ioemu:hda,w'', ''file:/opt/xen/winxp-install.iso,ioemu:hdc:cdrom,r''] name = ''winxp'' vif = [''type=ioemu,bridge=xenbr0''] boot = ''dc'' vnc = 1 vncviewer = 1 sdl = 0 But when I run xm create, I got the following error # xm create winxp.cfg xm create winxp.cfg Using config file "/etc/xen/winxp.cfg". VNC= 1 Unexpected error: exceptions.OSError Please report to xen-devel@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 How can I fix this? -- edu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2008-Aug-21 22:43 UTC
Re: [Xen-users] OSError trying hvm (was: svm flags not present)
Hi there, Did you reboot successfully into Xen / XenLinux before trying to start your guest? Does xm list give you sensible output? Is there anything interesting in /var/log/xen/xend.log? Cheers, Mark On Thursday 21 August 2008, edu gargiulo wrote:> Finally I install debian-amd64 stable from scratch. The following > packages from official repositories > > $ dpkg -l | grep xen > dpkg -l | grep xen > linux-image-2.6.18-6-xen-amd64 > linux-modules-2.6.18-6-xen-amd64 > xen-docs-3.0 > xen-hypervisor-3.0.3-1-amd64 > xen-ioemu-3.0.3-1 > xen-linux-system-2.6.18-6-xen-amd64 > xen-tools > xen-utils-3.0.3-1 > xen-utils-common > > then I have created winxp.cfg > > $ cat /etc/xen/winxp.cfg > kernel = ''/usr/lib/xen-3.0.3-1/boot/hvmloader'' > builder = ''hvm'' > memory = 512 > device_model = ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' > > disk = [''file:/opt/xen/domU/winxp.img,ioemu:hda,w'', > ''file:/opt/xen/winxp-install.iso,ioemu:hdc:cdrom,r''] > > name = ''winxp'' > > vif = [''type=ioemu,bridge=xenbr0''] > > boot = ''dc'' > vnc = 1 > vncviewer = 1 > sdl = 0 > > But when I run xm create, I got the following error > > # xm create winxp.cfg > xm create winxp.cfg > Using config file "/etc/xen/winxp.cfg". > VNC= 1 > Unexpected error: exceptions.OSError > > Please report to xen-devel@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 > > How can I fix this? > > -- > edu > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users