Jean-Baptiste Rouquier
2006-Jun-07 10:59 UTC
[Xen-users] Kubuntu host running, guest win XP doesn''t start
Hi all, I''m new to Xen and I''ve just spent two days trying to install it. My goal is to run Kubuntu on a laptop, with the ability to fire up Windows when I need some non-ported proprietary application, and occasionally boot windows natively to have ACPI or for some high performance windows application. It seems that in order to launch Windows within Xen, I have to create a virtual disk, or disk image file. Is it right ? If yes, does it mean that I won''t be able to run Windows natively ? Or I''ll have to have two copies of Windows, one in the disk image, one in it''s own partition. Not very handy (disk space, double configuration), besides possible license issues. If no (that is, if I should be able to launch Windows within Xen from it current physical partition) could you please help me find what''s wrong ? I have a D820 with Intel Core duo T2300 (and not T2300E which doesn''t have VT-x), I''ve enabled VT in the setup. I checked that root can connect to X server (typed xterm as root). I untarred xen-3.0.2-src.tgz and ran make world; make install (I first tried binary install, same problem), edited /boot/grub/menu.lst; mv /lib/tls /lib/tls.disabled; echo "" > /var/log/xend.log; reboot; mkdir /var/run/xenstored xend start # xm create windows Using config file "/etc/xen/windows". Started domain windows # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1024 2 r----- 40.4 windows 1 512 1 -b---- 0.0 # I attach the relevant files, please tell me if I should provide more information. If trying to use a disk image file could help find the problem (and then hopefully boot from physical partition), tell me and I''ll try that. Thanks for any help, Jean-Baptiste Rouquier PS : I''m not on the list, please add a copy to me when replying. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jean-Baptiste Rouquier
2006-Jun-07 11:38 UTC
[Xen-users] Kubuntu host running, guest win XP doesn''t start
Hi all, I''m new to Xen and I''ve just spent two days trying to install it. My goal is to run Kubuntu on a laptop, with the ability to fire up Windows when I need some non-ported proprietary application, and occasionally boot windows natively to have ACPI or for some high performance windows application. It seems that in order to launch Windows within Xen, I have to create a virtual disk, or disk image file. Is it right ? If yes, does it mean that I won''t be able to run Windows natively ? Or I''ll have to have two copies of Windows, one in the disk image, one in it''s own partition. Not very handy (disk space, double configuration), besides possible license issues. If no (that is, if I should be able to launch Windows within Xen from it current physical partition) could you please help me find what''s wrong ? I have a D820 with Intel Core duo T2300 (and not T2300E which doesn''t have VT-x), I''ve enabled VT in the setup. I checked that root can connect to X server (typed xterm as root). I untarred xen-3.0.2-src.tgz and ran make world; make install (I first tried binary install, same problem), edited /boot/grub/menu.lst; mv /lib/tls /lib/tls.disabled; echo "" > /var/log/xend.log; reboot; mkdir /var/run/xenstored xend start # xm create windows Using config file "/etc/xen/windows". Started domain windows # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1024 2 r----- 40.4 windows 1 512 1 -b---- 0.0 # I put the relevant files here (looks like this kind of attachment is refused by symantec): http://jb.rouquier.free.fr/transfert/xen/xen-files.tar.gz please tell me if I should provide more information. If trying to use a disk image file could help find the problem (and then hopefully boot from physical partition), tell me and I''ll try that. Thanks for any help, Jean-Baptiste Rouquier PS : I''m not on the list, please add a copy to me when replying. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
buw20031220@bayern-mail.de
2006-Jun-08 08:43 UTC
Re: [Xen-users] Kubuntu host running, guest win XP doesn''t start
Zitat von Jean-Baptiste Rouquier <>:> Hi all, > I''m new to Xen and I''ve just spent two days trying to install it.Hello Jean-Baptiste, you should choose a way as close as possible to http://en.opensuse.org/Xen_Full_Virtualization_Example I have played around a bit, almost everything that I changed from this Setup did not work. (vnc/sdl works) Best Regards Winfried _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jean-Baptiste Rouquier
2006-Jun-08 18:42 UTC
Re: [Xen-users] Kubuntu host running, guest win XP doesn''t start
Just to check : does Windows have to be installed on a FAT partition to run inside Xen ? Or can it be on an ntfs partition ? Also, I have two lines in /var/log/xend.log : [2006-06-08 20:28:14 xend] DEBUG (blkif:24) exception looking up device number for hda: [Errno 2] No such file or directory: ''/dev/hda'' [2006-06-08 20:28:14 xend] DEBUG (DevController:103) DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/vbd/1/768''} to /local/domain/1/device/vbd/768. But when I change disk = [ ''file:/var/lib/xen/images/windisk.img,ioemu:hda,w'' ] to disk = [ ''file:/var/lib/xen/images/windisk.img,ioemu:sda,w'' ] I get # xm create myxm.hvm Using config file "myxm.hvm". VNC= 1 Error: hvm: for qemu vbd type=file&dev=hda~hdd And the domain doesn''t start. Thanks, Jean-Baptiste Rouquier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jean-Baptiste Rouquier
2006-Jun-08 18:44 UTC
Re: [Xen-users] Kubuntu host running, guest win XP doesn''t start
> you should choose a way as close as possible to > http://en.opensuse.org/Xen_Full_Virtualization_Example > > I have played around a bit, almost everything that I changed from this Setup did > not work. (vnc/sdl works)Thanks for your mail. I already knew this tutorial, but it gives info to boot windows in a disk image. But OK, I tried it and got : Error: Device 768 (vbd) could not be connected http://lists.xensource.com/archives/html/xen-users/2006-04/msg00706.html suggests losetup -d /dev/loopX which doesn''t work with X=0 or X=1, but running "losetup -f" before xm create makes the error message disapear. (and I tried to launch windows again while I forgot to destroy it first, I got Error: Device 768 (vbd) could not be connected. File /var/lib/xen/images/windisk.img is loopback-mounted through /dev/loop0, which is mounted in a guest domain, and so cannot be mounted now. so I guess there is no more loop problem) Then I went to http://mccune.ece.cmu.edu/wordpress/?page_id=145 and following his advice I tried to use an image for the cdrom: dd if=/dev/hdc of=winxp_installer.iso and put in the config file cdrom=''/var/lib/xen/images/winxp_installer.iso'' This page suggests modprobe loop which also makes the error message disapear. But I still get # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1024 2 r----- 68.3 winxp 1 512 1 -b---- 0.0 I have a few lines (probably one per attempt at xm create) in /var/log/xen-hotplug.log xenstore-read: couldn''t read path backend/vbd/42/768/node whrere 42 is acutally betxeen 1 and 6. I''d like to be able to run windows from a hard disk partition, so that I can sometimes boot windows natively and use the whole ram. I''ve spent much time, if there is no more idea, I''m now considering giving up. Thanks, Jean-Baptiste Rouquier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jonathan Ervine
2006-Jun-09 09:54 UTC
Re: [Xen-users] Kubuntu host running, guest win XP doesn''t start
On Thursday 08 June 2006 19:42, Jean-Baptiste Rouquier wrote:> Just to check : does Windows have to be installed on a FAT partition to > run inside Xen ? Or can it be on an ntfs partition ?I have it running on NTFS with no problems.> Also, I have two lines in /var/log/xend.log : > > [2006-06-08 20:28:14 xend] DEBUG (blkif:24) exception looking up device > number for hda: [Errno 2] No such file or directory: ''/dev/hda'' [2006-06-08 > 20:28:14 xend] DEBUG (DevController:103) DevController: writing {''state'': > ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/vbd/1/768''} to > /local/domain/1/device/vbd/768. > > But when I change > disk = [ ''file:/var/lib/xen/images/windisk.img,ioemu:hda,w'' ] > > to > > disk = [ ''file:/var/lib/xen/images/windisk.img,ioemu:sda,w'' ] > > I get > > # xm create myxm.hvm > Using config file "myxm.hvm". > VNC= 1 > Error: hvm: for qemu vbd type=file&dev=hda~hddWhat does the device model section of your config file look like - and are you using an Intel VT-x or AMD Pacifica? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jean-Baptiste Rouquier
2006-Jun-10 11:04 UTC
Re: [Xen-users] Kubuntu host running, guest win XP doesn''t start
/>> Just to check : does Windows have to be installed on a FAT partition to/>>/ run inside Xen ? Or can it be on an ntfs partition ?/ >I have it running on NTFS with no problems.Thanks, it gives me hope ;-)>What does the device model section of your config file look likedevice_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' and I checked that /usr/lib/xen/bin/qemu-dm exists.>are you using an Intel VT-x or AMD Pacifica?Intel VT-x, precisely the Intel duo core T2300 (in a Dell D820 laptop). Jean-Baptiste _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users