Hi, i want to install a WinXP as vm, but it won''t work. "xm list" tells me that the winxp-vm is running, but I am not able to connect via vnc. nmap tells me that there is no vnc-port listening and ps -A tells me that qemu-dm does not work. Maybe someone could help me because i have no idea what''s wrong.. System: Debian Lenny XEN: from lenny-repository ps -A says: qemu-dm <defunct> xen:/domains/xp# xm dmesg | grep HVM (XEN) HVM: VMX enabled cat /etc/xen/xp.cfg kernel = ''/usr/lib/xen-default/boot/hvmloader'' builder = ''hvm'' memory = ''512'' # # Disk device(s). # disk = [ ''file:/domains/xp/xp.img,ioemu:hdc,w'', ''file:/var/daten/winxp.iso,ioemu:hda:cdrom,r'', ] device_model = ''/usr/lib/xen-default/bin/qemu-dm'' ne2000=0 # # Hostname # name = ''xp'' # # Networking # #dhcp = ''dhcp'' vif = [ ''type=ioemu, bridge=xenbr0''] # # Behaviour # on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' #vfb = [ ''type=vnc'' ] boot=''d'' vnc=1 vncviewer=1 sdl=0 Greets Wolfgang _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ken Cobler schrieb:>> > You copied the Windows XP disc on to your computer? It might not have > copied the boot sectors. > > I used the actual cdrom device to boot from when I was loading Windows > XP (and Windows 2003). I choose to use a raw partition for the data. > I could have used a file under as Linux, like you listed. > > Here is my disk entry: > > disk=[ ''phy:/dev/cciss/c0d0p3,hda,w'', ''phy:/dev/cdrom,hdc:cdrom,r'', ] > > Ken CoblerNow i have this configuration for my disks: disk = [ ''file:/domains/xp/xp.img,hda,w'', ''phy:/dev/cdrom,hdc:cdrom,r'', ] But it still does not work. Are there any tools for debugging? The logfiles don''t help me much. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ken Cobler schrieb:> Have you checked in /var/log/xen for the qemu logfile ? It will give > more details about what it is trying to do. If you can send, that > might help me see what is going on. > > KenNow it works. The bridge xenbr0 does not exist. I changed this and now it works. Thank you very much! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Goirand
2008-Dec-16 17:28 UTC
Re: [Xen-users] Differences when using Xen with Debian Lenny and other distro [was: xen,debian lenny and hvm(winxp)]
listener wrote:> Now i have this configuration for my disks: > disk = [ ''file:/domains/xp/xp.img,hda,w'', > ''phy:/dev/cdrom,hdc:cdrom,r'', ] > > But it still does not work. Are there any tools for debugging? The > logfiles don''t help me much.I thought this was important to be said in order to not loose time if you are comming from another distro that Debian. If you are using Lenny, then you should do: cd /usr/lib ln -s /etc/alternatives/xen-default xen otherwise hvm VMs wont work. I have submit a bug report in the debian BTS about it, it set to RC (release critical, just to make sure that this is fixed for Lenny), but the maintainer said it was not so critical and have set the bug as only "important"... Some other same abnormalities in Debian: the python files in /usr/lib/python/xen are NOT accessible in the python path unless you do: cd /usr/lib/python-support ln -s /usr/lib/xen/lib/python xen otherwise, any import of the xen python lib will work in python. Now, the maintainer replied to my bug report that I was being stupid to consider importing anything, and the bug has been set to "wont fix"... I will still try to build a patch for the debian packages and push for their inclusion (as well as adding a /etc/xen/auto folder that is not created by default in Debian). Another particularity: the xen bridge used is named eth0. I don''t understand this choice as using a xenbrX seems to be quite a reasonable "standard" in Xen. Making it with a different name means that any userland script for the general audience of Xen users concerning the Xen bridge will need adaptation... Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
listener
2008-Dec-16 17:41 UTC
Re: [Xen-users] Differences when using Xen with Debian Lenny and other distro [was: xen,debian lenny and hvm(winxp)]
Thomas Goirand schrieb:> I thought this was important to be said in order to not loose time if > you are comming from another distro that Debian. > > If you are using Lenny, then you should do: > > cd /usr/lib > ln -s /etc/alternatives/xen-default xen >done ;)> > Some other same abnormalities in Debian: the python files in > /usr/lib/python/xen are NOT accessible in the python path unless you do: > > cd /usr/lib/python-support > ln -s /usr/lib/xen/lib/python xen >there is no /usr/lib/xen/lib/python! thank you thomas for your very helpful hints! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson
2008-Dec-16 18:46 UTC
Re: [Xen-users] Differences when using Xen with Debian Lenny and other distro
Thomas Goirand wrote:>Another particularity: the xen bridge used is named eth0. I don''t >understand this choice as using a xenbrX seems to be quite a reasonable >"standard" in Xen. Making it with a different name means that any >userland script for the general audience of Xen users concerning the Xen >bridge will need adaptation...That threw me somewhat when I built a server with Lenny, having previously used Etch. Took me ages to get the networking working :-( -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Grant McWilliams
2008-Dec-16 19:20 UTC
Re: [Xen-users] Differences when using Xen with Debian Lenny and other distro
On Tue, Dec 16, 2008 at 10:46 AM, Simon Hobson <linux@thehobsons.co.uk>wrote:> Thomas Goirand wrote: > > Another particularity: the xen bridge used is named eth0. I don''t >> understand this choice as using a xenbrX seems to be quite a reasonable >> "standard" in Xen. Making it with a different name means that any >> userland script for the general audience of Xen users concerning the Xen >> bridge will need adaptation... >> > > That threw me somewhat when I built a server with Lenny, having previously > used Etch. Took me ages to get the networking working :-( > > -- > Simon Hobson >Didn''t this come in with newer versions of Xen though? CentOS does the same. I''ve found poorly written applications that work better with the bridge being called eth0 though. I''ve had to change VirtualBox to mimic Xens strategy for that reason. Grant McWilliams Some people, when confronted with a problem, think "I know, I''ll use Windows." Now they have two problems. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Goirand
2008-Dec-16 19:46 UTC
Re: [Xen-users] Differences when using Xen with Debian Lenny and other distro [was: xen,debian lenny and hvm(winxp)]
listener wrote:> Thomas Goirand schrieb: >> I thought this was important to be said in order to not loose time if >> you are comming from another distro that Debian. >> >> If you are using Lenny, then you should do: >> >> cd /usr/lib >> ln -s /etc/alternatives/xen-default xen >> > done ;) >> Some other same abnormalities in Debian: the python files in >> /usr/lib/python/xen are NOT accessible in the python path unless you do: >> >> cd /usr/lib/python-support >> ln -s /usr/lib/xen/lib/python xen >> > there is no /usr/lib/xen/lib/python!Of course there is, otherwise the "xm" tools wouldn''t be working. It''s just that you don''t have a /usr/lib/xen as it should (as I said, you should create one linking to /etc/alternatives/xen-default that will itself link to /usr/lib/xen-3.2.1). By the way, I should have write: cd /usr/lib/python-support ln -s /usr/lib/xen/lib/python/xen xen Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- Lenny DomU Crash!
- Bug#606590: Upgrading from Lenny leaves xen-hypervisor-3.2-1-amd64 in and doesn't install 4.0
- AW: debian Lenny -> Squeeze domU mdX software raidmigration - failed to assemble arrays
- Starting basic HVM -- where am I going wrong?
- Kernel 2.6.32.41 raid bug on squeeze