I have a windows 2003 server that I converted from a vmware image to a domU. It works, but I have one PCI Device that is not being found. Since it is full virtualization do I need the drivers for the specific hardware? Also, I tried instaling a win2k3 machine using virt manager and creating a disk0 img file. The install starts fine, formats the disk, but then bombs saying something about an invalid boot sector or something. How do you install Windows 2003 like this? I want it installed using an img file for portability. When it goes production I''ll probably dd it to a lv. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 2008-04-22 at 20:27 -0400, James Pifer wrote:> I have a windows 2003 server that I converted from a vmware image to a > domU. It works, but I have one PCI Device that is not being found. > > Since it is full virtualization do I need the drivers for the specific > hardware? > > Also, I tried instaling a win2k3 machine using virt manager and creating > a disk0 img file. The install starts fine, formats the disk, but then > bombs saying something about an invalid boot sector or something. > > How do you install Windows 2003 like this? I want it installed using an > img file for portability. When it goes production I''ll probably dd it to > a lv. >Sorry for the lack of details. dom0 is running on SLES 10 SP1. Hardware is an HP DL360 G5. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Pifer schrieb:> On Tue, 2008-04-22 at 20:27 -0400, James Pifer wrote: >> I have a windows 2003 server that I converted from a vmware image to a >> domU. It works, but I have one PCI Device that is not being found.Search the xen-users and xen-devel ML for "GPL PV Drivers". These drivers are developed by James Harper and AFAIK currently in version 0.8.8. There _are_ issues using these drivers, but after a lot of testing I''m using at least the network drivers without any problems.>> >> Since it is full virtualization do I need the drivers for the specific >> hardware? >> >> Also, I tried instaling a win2k3 machine using virt manager and creating >> a disk0 img file. The install starts fine, formats the disk, but then >> bombs saying something about an invalid boot sector or something.In general, LV''s and flat files are not really different from the guests point of view. I assume you''re exporting only a partition (sda1, xvda1, hda1 ...) instead of a whole disk (sda, xvda, hda ...) to the guest.>> >> How do you install Windows 2003 like this? I want it installed using an >> img file for portability. When it goes production I''ll probably dd it to >> a lv. >> > > Sorry for the lack of details. dom0 is running on SLES 10 SP1. Hardware > is an HP DL360 G5. > > Thanks, > James > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2008-04-23 at 13:24 +0200, Stephan Seitz wrote:> James Pifer schrieb: > > On Tue, 2008-04-22 at 20:27 -0400, James Pifer wrote: > >> I have a windows 2003 server that I converted from a vmware image to a > >> domU. It works, but I have one PCI Device that is not being found. > > Search the xen-users and xen-devel ML for "GPL PV Drivers". These drivers > are developed by James Harper and AFAIK currently in version 0.8.8. > There _are_ issues using these drivers, but after a lot of testing I''m > using at least the network drivers without any problems.I''ve seen these drivers mentioned before. So I have an unknown device, it just says PCI Device under "Other devices" in Device Manager. These drivers will help determine that device? I will search for them. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>I''ve seen these drivers mentioned before. So I have an unknown device, >it just says PCI Device under "Other devices" in Device Manager. These >drivers will help determine that device? I will search for them. > >Thanks, >JamesJames, They wont get rid of the unknown device, at least they didnt for me. They actually introduced another. Stephan, What did you do to get just the net driver installed? Any boot file mods? Do you just disable the original Realtek nic after? Thanks, jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> James, > They wont get rid of the unknown device, at least they didnt for me. > They actually introduced another. > > Stephan, > What did you do to get just the net driver installed? Any boot file > mods? Do you just disable the original Realtek nic after? >Well, it got rid of it for me, but like you said, created several others. Only way to get rid of them all was to load all the drivers. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joseph L. Casale schrieb:>> I''ve seen these drivers mentioned before. So I have an unknown device, >> it just says PCI Device under "Other devices" in Device Manager. These >> drivers will help determine that device? I will search for them. >> >> Thanks, >> James > > James, > They wont get rid of the unknown device, at least they didnt for me. They actually introduced another.Indeed, there are a few other devices introduced after loading the initial driver. As long as you''re not going to boot with /GPLPV the block devices are unused for the disks and cdrom drives present at boot time.> Stephan, > What did you do to get just the net driver installed? Any boot file mods? Do you just disable the original Realtek nic after?I found it impossible to completely remove a nic from windows, so I''m using a workaround: a) configure for vif for ioemu like vif = [ ''mac=12:34:56:78:ab:cd,type=ioemu,bridge=eth0'' ] b) install windows c) install the windows pv drivers -> reboot and subsequent shutdown d) reconfigure the vif like this vif = [ ''mac=12:34:56:78:ab:ef,type=netfront,bridge=eth0'' ] e) power up the guest as well as there''s a completely different nic available to windows, the former mac address (of the virtually removed realtek card) stays in windows (I assume something like udev ...) and remains unusable for other cards. so i''m changing the type AND the mac. There might be better solutions, but for me this works ;) Cheers Stephan> Thanks, > jlc > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Pifer <jep@obrien-pifer.com> writes:> I have a windows 2003 server that I converted from a vmware image to a > domU. It works, but I have one PCI Device that is not being found.How did you do it? I''ve tried following this URL: http://ian.blenke.com/vmware/vmdk/xen/hvm/qemu/vmware_to_xen_hvm.html but so far no go, nothing on the console and VM reboots after 10 seconds. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks, it worked. I was actually misled with the URL below and thought I need to turn acp/apic off and replace the HAL, but I actually did not. virt-manager created the VM with acpi/apic/pae=1 and it just worked ;) Thanks again. James Pifer wrote:> On Thu, 2008-04-24 at 14:58 +0200, Aleksandar Ivanisevic wrote: >> James Pifer <jep@obrien-pifer.com> writes: >> >>> I have a windows 2003 server that I converted from a vmware image to a >>> domU. It works, but I have one PCI Device that is not being found. >> How did you do it? I''ve tried following this URL: >> >> http://ian.blenke.com/vmware/vmdk/xen/hvm/qemu/vmware_to_xen_hvm.html >> >> but so far no go, nothing on the console and VM reboots after 10 >> seconds. >> > > My basics steps are: > 1) Import registy entries as in this doc: http://support.microsoft.com/kb/314082/ > > 2) vmware-vdiskmanager -r windows2003.vmdk -t 0 windows2003-flattened.vmdk > > 3) qemu-img convert windows-2003-flattened.vmdk windows2003.img > > 4) 2 and 3 I used a windows machine so then I ftp the img file to my xen server. > > 5) mount the img file and copy in hal.dll. Once in a while I can''t modify the img file so I have to redo 3 and 4 > > 6) then I use virt-manager to create a new domU and specify the img file for the hard disk. > > I''ve done three that have worked fine. Another one refuses to boot. It > tries, but the processor utilization for that domU goes to 100% and it > never loads. Really don''t know why and I''m stuck on that one. > > Once I''m happy with it, I dd it to an lv. > > HTH, > James_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users