Gregory Orange
2008-Jul-21 07:08 UTC
[Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown
Hi, I''ve recently started using the GPL PV Drivers (0.9.10) for a pair of test machines, one XP and one 2003. XP works beautifully: Thank you for the development efforts. 2003 works almost as well, with one exception. When I either xm reboot or xm shutdown and subsequently restart the virtual machine, at first login I get this dialogue: The system has restarted after an unplanned shutdown. A log of this event has been created. *Please tell Microsoft about this problem.* (blah blah blah) Send Error Report | Don''t Send I haven''t found anything describing how I might instruct the shutdown command to make it a ''planned'' one, given that MS server OS'' since 2003 now care about the reason for and the status of the shutdown. Can anyone assist? Does anyone object to me updating the ''Known Issues'' section of the wiki page? On a related note, if I don''t log in for a long time after xm reboot, I get more of a summary version of the above error report. There is a "never send reports" checkbox which I could tick to get around this, but it would be cleaner to sort it out properly. Cheers, Greg. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
netz-haut - stephan seitz
2008-Jul-21 08:23 UTC
Re: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown
Am Montag, den 21.07.2008, 15:08 +0800 schrieb Gregory Orange:> Hi, > > When I either xm reboot or xm shutdown and subsequently restart the > virtual machine, at first login I get this dialogue: > The system has restarted after an unplanned shutdown. > A log of this event has been created. > *Please tell Microsoft about this problem.* > (blah blah blah) > Send Error Report | Don''t SendHi, same here, but I assume this is some sort of Windows 2003 magic... I''ve seen similar "errors" after an UPS triggered powerdown on a physical machine. I''m pretty sure, there''s some workaround available at MSDN, but I didn''t mind as I see this as a feature ;) cheers, Stephan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andy Burns
2008-Jul-21 08:26 UTC
Re: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown
On 21/07/2008 08:08, Gregory Orange wrote:> When I either xm reboot or xm shutdown and subsequently restart the > virtual machine, at first login I get this dialogue: > The system has restarted after an unplanned shutdown.It''s the shutdown tracker http://technet2.microsoft.com/windowsserver/en/library/f411d38f-f139-49fa-9d6f-18befa5cb1651033.mspx You can disable it http://support.microsoft.com/kb/293814 I suppose it might be nice if eventually the GPLPV shutdown monitor server could mark them as "planned",or even added a custom "xen reboot" reason as shown in the KB article. Sounds like it might be a nice easy little patch ... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2008-Jul-21 10:07 UTC
RE: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown
> > I suppose it might be nice if eventually the GPLPV shutdown monitor > server could mark them as "planned",or even added a custom "xenreboot"> reason as shown in the KB article. > > Sounds like it might be a nice easy little patch ... >Probably is. I want to get the shutdown monitor written in something other than C# though. Requiring the .NET framework is a bit of a pain, but I elected to go with C# because I''ve written stacks of services in that before and could make it work very quickly. If someone wanted to send me a patch I''d be happy to include it. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
netz-haut - stephan seitz
2008-Jul-21 10:15 UTC
Re: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown
Hi, even if I''m happy with the current behaviour, I did a look into a recently cloned ShutdownMon/Program.cs To mark a shutdown "planned", it should be sufficient to declare ShutdownReason dwReason = SHTDN_REASON_FLAG_PLANNED; I''m not really deep into MS C#, but Shutdownreason is already enumerated. Just wondering if there are no pre-declared constants available... reference: http://msdn.microsoft.com/en-us/library/aa376885(VS.85).aspx cheers, Stephan Am Montag, den 21.07.2008, 09:26 +0100 schrieb Andy Burns:> On 21/07/2008 08:08, Gregory Orange wrote: > > > When I either xm reboot or xm shutdown and subsequently restart the > > virtual machine, at first login I get this dialogue: > > The system has restarted after an unplanned shutdown. > > It''s the shutdown tracker > http://technet2.microsoft.com/windowsserver/en/library/f411d38f-f139-49fa-9d6f-18befa5cb1651033.mspx > > > You can disable it > http://support.microsoft.com/kb/293814 > > I suppose it might be nice if eventually the GPLPV shutdown monitor > server could mark them as "planned",or even added a custom "xen reboot" > reason as shown in the KB article. > > Sounds like it might be a nice easy little patch ... > > > _______________________________________________ > 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
netz-haut - stephan seitz
2008-Jul-21 10:22 UTC
Re: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown
> I''m not really deep into MS C#, but Shutdownreason is already > enumerated. Just wondering if there are no pre-declared constants > available...Answering to myself, according to msdn, the definitions are available in Reason.h _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gregory Orange
2008-Jul-22 02:42 UTC
Re: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown
Andy Burns wrote:> On 21/07/2008 08:08, Gregory Orange wrote: >> When I either xm reboot or xm shutdown and subsequently restart the >> virtual machine, at first login I get this dialogue: >> The system has restarted after an unplanned shutdown. > > It''s the shutdown tracker > http://technet2.microsoft.com/windowsserver/en/library/f411d38f-f139-49fa-9d6f-18befa5cb1651033.mspx > You can disable it > http://support.microsoft.com/kb/293814Thanks, I''ll read those links and consider what we want to do with the info.> I suppose it might be nice if eventually the GPLPV shutdown monitor > server could mark them as "planned",or even added a custom "xen reboot" > reason as shown in the KB article.That would be excellent.> Sounds like it might be a nice easy little patch ...Not my arena I''m afraid. Thank you all for your responses to this thread. I appreciate the work put in, and feel confident that using the package will work out for us. I''ll keep an eye on updates. Cheers, Greg. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users