I''m having some trouble getting Windows Server 2008 R2 Std/Ent to consistently shutdown or restart gracefully. I have acpi enabled (it''s required in later versions of Windows) and I''m even executing the shutdown from the guest OS itself. Inconsistently, but often enough to be consistent, the next time Windows boots it will say "Windows did not shut down properly, boot safe mode, normally, etc." This is a real problem during installation as I''m installing Windows via sysprep''d images, and if a hard shutdown or restart occurs during the final configuration if Windows, it''ll abort and say to start the installation over from scratch. This happens an unscientifically measured 40-50% of the time. Is it possible there''s a race condition somewhere, or is there a "pause before destroy" setting I can enable somewhere? I''m running Xen 4.1 on Ubuntu 11.04, and the sysprep''d images don''t have the GPLPV drivers installed at the time of install. Thanks, Nathan
Is this (old) wiki still accurate for Xen 4.1? http://wiki.xen.org/xenwiki/XenWindowsACPI.html Specifically: "One of the big problems of Windows XP under Xen is that Windows Setup chokes on Xen''s ACPI, and thus you have to disable ACPI for Windows Setup to work." Anyone know if that''s still a problem? -Nathan On Dec 22, 2011, at 7:13 AM, Nathan Goulding wrote:> I''m having some trouble getting Windows Server 2008 R2 Std/Ent to consistently shutdown or restart gracefully. I have acpi enabled (it''s required in later versions of Windows) and I''m even executing the shutdown from the guest OS itself. Inconsistently, but often enough to be consistent, the next time Windows boots it will say "Windows did not shut down properly, boot safe mode, normally, etc." > > This is a real problem during installation as I''m installing Windows via sysprep''d images, and if a hard shutdown or restart occurs during the final configuration if Windows, it''ll abort and say to start the installation over from scratch. This happens an unscientifically measured 40-50% of the time. > > Is it possible there''s a race condition somewhere, or is there a "pause before destroy" setting I can enable somewhere? > > I''m running Xen 4.1 on Ubuntu 11.04, and the sysprep''d images don''t have the GPLPV drivers installed at the time of install. > > Thanks, > > Nathan > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users
Am 22.12.2011 19:00, schrieb Nathan Goulding:> Specifically: "One of the big problems of Windows XP under Xen is that Windows Setup chokes on Xen''s ACPI, and thus you have to disable ACPI for Windows Setup to work." > Anyone know if that''s still a problem?I''ve not found this to be a problem when running Windows Server 2008R2 (as it comes with SBS 2011 Standard, German); that setup runs properly, and I haven''t seen reboot problems like you mentioned. Most probably, SBS 2011 already comes with some form of patched Windows, so I''d take this report with a grain of salt. -- --- Heiko.
> Am 22.12.2011 19:00, schrieb Nathan Goulding: >> Specifically: "One of the big problems of Windows XP under Xen is that Windows Setup chokes on Xen''s ACPI, and thus you have to disable ACPI for Windows Setup to work." >> Anyone know if that''s still a problem? > > I''ve not found this to be a problem when running Windows Server 2008R2 (as it comes with SBS 2011 Standard, German); that setup runs properly, and I haven''t seen reboot problems like you mentioned. Most probably, SBS 2011 already comes with some form of patched Windows, so I''d take this report with a grain of salt. >At this point the success rate of installs is ~5% and declining as I attempt more things for reliability. Interestingly enough, once Windows 2008 R2 is installed it seems to work fine with the settings I have in my vm config file. xm reboot, xm shutdown -wR, and rebooting from within the guest OS all work. Just the install that causes a problem. FWIW, the storage backing is iSCSI with a block-iscsi script and some modifications to XendDomainInfo.py and qemu-dm to account for that. Also, there seem to be myriad power control options and actions (xen_extended_power_mgmt, xen_platform_pci, pci_power_mgmt, viridian, acpi) but I can''t seem to hit the sweet. Can someone with knowledge of Xen explain how it handles power control and its interaction with Windows? -Nathan
On Dec 22, 2011, at 4:59 PM, Nathan Goulding wrote:>> Am 22.12.2011 19:00, schrieb Nathan Goulding: >>> Specifically: "One of the big problems of Windows XP under Xen is that Windows Setup chokes on Xen''s ACPI, and thus you have to disable ACPI for Windows Setup to work." >>> Anyone know if that''s still a problem? >> >> I''ve not found this to be a problem when running Windows Server 2008R2 (as it comes with SBS 2011 Standard, German); that setup runs properly, and I haven''t seen reboot problems like you mentioned. Most probably, SBS 2011 already comes with some form of patched Windows, so I''d take this report with a grain of salt. >> > > At this point the success rate of installs is ~5% and declining as I attempt more things for reliability. Interestingly enough, once Windows 2008 R2 is installed it seems to work fine with the settings I have in my vm config file. xm reboot, xm shutdown -wR, and rebooting from within the guest OS all work. Just the install that causes a problem. > > FWIW, the storage backing is iSCSI with a block-iscsi script and some modifications to XendDomainInfo.py and qemu-dm to account for that. > > Also, there seem to be myriad power control options and actions (xen_extended_power_mgmt, xen_platform_pci, pci_power_mgmt, viridian, acpi) but I can''t seem to hit the sweet. Can someone with knowledge of Xen explain how it handles power control and its interaction with Windows?As an update to anyone out there with a similar problem: It''s necessary that the GPLPV drivers be pre-installed for Windows Setup to complete with sysprep''d images. Windows Setup will consistently fail on Xen''s ACPI if they''re not. So it would appear that the old wiki''s statement that "[o]ne of the big problems of Windows XP under Xen is that Windows Setup chokes on Xen''s ACPI, and thus you have to disable ACPI for Windows Setup to work." is still accurate for Xen 4.1. Since with Server 2008 it''s not possible to disable ACPI you have to install 2008 manually (i.e. from CD/iso), then install the GPLPV drivers, then sysprep, then you''re good. -Nathan