Flavio
2011-Oct-18 07:21 UTC
[Xen-users] HVM domain without PV drivers: graceful shutdown not possible
Hello, I have a windows 7 domU installed and I have the following problem whem trying to shutdown the virtual machine using the command "xl shutdown <domain_id>": libxl: error: libxl.c:553:libxl_domain_shutdown HVM domain without PV drivers: graceful shutdown not possible, use destroy shutdown failed (rc=-3) I have seen the log files but I cannot get anything significant in my opinion. I also have googled a lot and I''ve found that I have to install the PV drivers on Windows. This is strange, becouse I''ve never had this necessity when I was using the old xm tool stack. I read this page: http://wiki.xen.org/xenwiki/XenWindowsGplPv So I''ve followed the instructions and tried to install the gplpv_Vista2008x64_0.11.0.308_debug.msi file in the domU, but I get this message: "testsigning must be on for x64 when installing on vista or newer". Well, googling again I''ve found that testsigning must be turned on and I''ve done it performing the following command in the domU: bcdedit.exe -set TESTSIGNING ON Then I tried again to setup the gplpv msi and all went OK.... up to the next reboot! The domU was completely unusable, and I was lucky that the windows recovery worked, making my domU working again. At this point, I don''t know what to do. Can somebody tell me where I was wrong please? -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2011-Oct-18 09:14 UTC
RE: [Xen-users] HVM domain without PV drivers: graceful shutdown notpossible
> > I read this page: http://wiki.xen.org/xenwiki/XenWindowsGplPv > So I''ve followed the instructions and tried to install the > gplpv_Vista2008x64_0.11.0.308_debug.msi > file in the domU, but I get this message: "testsigning must be on for > x64 when installing on vista or newer". > > Well, googling again I''ve found that testsigning must be turned on andI''ve> done it performing the following command in the domU: > > bcdedit.exe -set TESTSIGNING ON > > Then I tried again to setup the gplpv msi and all went OK.... up tothe next> reboot! > The domU was completely unusable, and I was lucky that the windows > recovery worked, making my domU working again. > > At this point, I don''t know what to do. > > Can somebody tell me where I was wrong please? >Can you tell me more about the ''completely unusable''? Did you install the debug version of the drivers? Was there anything in /var/log/xen/ for your domu? James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2011-Oct-18 12:20 UTC
Re: [Xen-users] HVM domain without PV drivers: graceful shutdown notpossible
Thanks James for replying, On 18 October 2011 11:14, James Harper <james.harper@bendigoit.com.au> wrote:> > Can you tell me more about the ''completely unusable''?You are right! Excuse me, I have to be more precise. What happens is that, after installing gplpv_Vista2008x64_0.11.0.308.msi the system needs a reboot and during the reboot, I can see the blue screen of death. Unfortunately, I am not able to read what is written on it, because it is very fast. Then, the system reboots and the windows recovery starts, bringing the system at its previous state.> > Did you install the debug version of the drivers?No, I''m sorry, I made a mistake copying and pasting the file name. The file I installed is called gplpv_Vista2008x64_0.11.0.308.msi. So no debug version has been installed.> Was there anything in > /var/log/xen/ for your domu?After entering xl shutdown <domain_id> this is the content of the logs: ==> /var/log/xen/qemu-dm-windows-7.log <=I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Log-dirty: no command yet. vcpu-set: watch node error. xs_read(/local/domain/1/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/1/log-throttling'' medium change watch on `/local/domain/1/log-throttling'' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. ==> /var/log/xen/xl-windows-7.log <=Waiting for domain windows-7 (domid 1) to die [pid 6568] Thanks a lot, -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xenusers
2011-Oct-18 13:38 UTC
Re: [Xen-users] HVM domain without PV drivers: graceful shutdown notpossible
Hi Flavio, On Tue, Oct 18, 2011 at 7:20 AM, Flavio <fbcyborg@gmail.com> wrote:> Thanks James for replying, > > On 18 October 2011 11:14, James Harper <james.harper@bendigoit.com.au> > wrote: > > > > Can you tell me more about the ''completely unusable''? > You are right! Excuse me, I have to be more precise. > What happens is that, after installing gplpv_Vista2008x64_0.11.0.308.msi > the system needs a reboot and during the reboot, I can see the blue > screen of death. >By any chance, does your domU have a cdrom drive assigned, and is that drive empty? That bluescreens Windows 7 domUs reliably for me when running the latest version of GPLPV at meadowcourt.org.> Unfortunately, I am not able to read what is written on it, because it > is very fast. > Then, the system reboots and the windows recovery starts, bringing the > system at its previous state. > > > > > Did you install the debug version of the drivers? > No, I''m sorry, I made a mistake copying and pasting the file name. > The file I installed is called gplpv_Vista2008x64_0.11.0.308.msi. > So no debug version has been installed. > > > Was there anything in > > /var/log/xen/ for your domu? > After entering xl shutdown <domain_id> this is the content of the logs: > > ==> /var/log/xen/qemu-dm-windows-7.log <=> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 > Log-dirty: no command yet. > vcpu-set: watch node error. > xs_read(/local/domain/1/log-throttling): read error > qemu: ignoring not-understood drive `/local/domain/1/log-throttling'' > medium change watch on `/local/domain/1/log-throttling'' - unknown > device, ignored > cirrus vga map change while on lfb mode > mapping vram to f0000000 - f0400000 > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw > state. > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro > state. > > > ==> /var/log/xen/xl-windows-7.log <=> Waiting for domain windows-7 (domid 1) to die [pid 6568] > > Thanks a lot, > > -- > Flavio > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2011-Oct-18 13:43 UTC
Re: [Xen-users] HVM domain without PV drivers: graceful shutdown notpossible
On 18 October 2011 15:38, xenusers <m+xenusers@nerdish.us> wrote:> Hi Flavio, > By any chance, does your domU have a cdrom drive assigned, and is that drive > empty?Hi! Yes, it has a cdrom drive assigned and it is empty.> That bluescreens Windows 7 domUs reliably for me when running the > latest version of GPLPV at meadowcourt.org.Excuse me, I didn''t understand that. Has this problem occurred you too? Thanks! -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xenusers
2011-Oct-18 13:43 UTC
Re: [Xen-users] HVM domain without PV drivers: graceful shutdown notpossible
Hi again, (sorry, didn''t mean to hit "send" on that last email yet)... On Tue, Oct 18, 2011 at 8:38 AM, xenusers <m+xenusers@nerdish.us> wrote:> Hi Flavio, > > On Tue, Oct 18, 2011 at 7:20 AM, Flavio <fbcyborg@gmail.com> wrote: > >> Thanks James for replying, >> >> On 18 October 2011 11:14, James Harper <james.harper@bendigoit.com.au> >> wrote: >> > >> > Can you tell me more about the ''completely unusable''? >> You are right! Excuse me, I have to be more precise. >> What happens is that, after installing gplpv_Vista2008x64_0.11.0.308.msi >> the system needs a reboot and during the reboot, I can see the blue >> screen of death. >> > > By any chance, does your domU have a cdrom drive assigned, and is that > drive empty? That bluescreens Windows 7 domUs reliably for me when running > the latest version of GPLPV at meadowcourt.org. >Anyhow, as I was saying before the erroneous send, check your domU config and see if you have an empty cdrom drive assigned. If so, remove it and see if your issues with the GPLPV drivers disappear (if that''s indeed your problem, James replied to my previous thread with links to some updated versions that didn''t have the issue). Regards, Mark> > > >> Unfortunately, I am not able to read what is written on it, because it >> is very fast. >> Then, the system reboots and the windows recovery starts, bringing the >> system at its previous state. >> >> > >> > Did you install the debug version of the drivers? >> No, I''m sorry, I made a mistake copying and pasting the file name. >> The file I installed is called gplpv_Vista2008x64_0.11.0.308.msi. >> So no debug version has been installed. >> >> > Was there anything in >> > /var/log/xen/ for your domu? >> After entering xl shutdown <domain_id> this is the content of the logs: >> >> ==> /var/log/xen/qemu-dm-windows-7.log <=>> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 >> Log-dirty: no command yet. >> vcpu-set: watch node error. >> xs_read(/local/domain/1/log-throttling): read error >> qemu: ignoring not-understood drive `/local/domain/1/log-throttling'' >> medium change watch on `/local/domain/1/log-throttling'' - unknown >> device, ignored >> cirrus vga map change while on lfb mode >> mapping vram to f0000000 - f0400000 >> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw >> state. >> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro >> state. >> >> >> ==> /var/log/xen/xl-windows-7.log <=>> Waiting for domain windows-7 (domid 1) to die [pid 6568] >> >> Thanks a lot, >> >> -- >> Flavio >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2011-Oct-18 16:28 UTC
Re: [Xen-users] HVM domain without PV drivers: graceful shutdown notpossible
On 18 October 2011 15:43, xenusers <m+xenusers@nerdish.us> wrote:> Anyhow, as I was saying before the erroneous send, check your domU config > and see if you have an empty cdrom drive assigned. If so, remove it and see > if your issues with the GPLPV drivers disappear (if that''s indeed your > problem, James replied to my previous thread with links to some updated > versions that didn''t have the issue).Ok, I left the configuration file without the cd-rom and I successfully installed the gpl pv driver. Then after the reboot, it worked like a charm. disk entry: disk = [ ''file:/mnt/dati/xen/vmstore/windows-7/xenwin7.img,hda,w'' ] Now, windows is still in Test Mode (I guess it should be reported with TESTSIGNING OFF, isn''t it?). Do you think that replacing the disk entry again with the following, will make crash the system again? disk = [ ''file:/mnt/dati/xen/vmstore/windows-7/xenwin7.img,hda,w'', ''phy:/dev/cdrom,hdc:cdrom,r'' ] By the way, I didn''t understand how to use the command "xl cd-insert <domain_id>" I don''t understand if it is possible to bind an iso image as a cd rom for the guest OS or not, and how can I virtually insert a cd-rom in the domU using xm cd-insert. I read the application help: Usage: xl [-v] cd-insert <Domain> <VirtualDevice> <type:path> but I don''t understand what I should put in place of VirtualDevice and type:path. Best Regards, -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2011-Oct-18 16:30 UTC
Re: [Xen-users] HVM domain without PV drivers: graceful shutdown notpossible
On 18 October 2011 18:28, Flavio <fbcyborg@gmail.com> wrote:> I read the application help: > Usage: xl [-v] cd-insert <Domain> <VirtualDevice> <type:path> > but I don''t understand what I should put in place of VirtualDevice and > type:path.So, I continue to receive this message after installing the pv drivers and performing the xl shutdown <domain_id> command: libxl: error: libxl.c:553:libxl_domain_shutdown HVM domain without PV drivers: graceful shutdown not possible, use destroy shutdown failed (rc=-3) :-( -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2011-Oct-18 19:40 UTC
Re: [Xen-users] HVM domain without PV drivers: graceful shutdown notpossible
I''ve done another test. I reinstalled the pv drivers selecting the "Full installation", but the domU is so slow now. Actually I see the mouse pointer has a great delay. Anyway, this time I''ve seen this popup message: XEN PV DISK SCSI Device installed. This is what I can see in the logs: ==> /var/log/xen/qemu-dm-windows-7.log <=platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. Unknown PV product 2 loaded in guest PV driver build 1 region type 1 at [c100,c200). region type 0 at [f3001000,f3001100). squash iomem [f3001000, f3001100). xen be: qdisk-768: xen be: qdisk-768: error: unknown operation (255) error: unknown operation (255) xen be: qdisk-768: xen be: qdisk-768: error: unknown operation (255) error: unknown operation (255) ==> /var/log/xen/xl-windows-7.log <=Done. Rebooting now xc: info: VIRTUAL MEMORY ARRANGEMENT: Loader: 0000000000100000->0000000000179650 TOTAL: 0000000000000000->000000003f800000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000010e00 2MB PAGES: 0x0000000000000175 1GB PAGES: 0x0000000000000000 Waiting for domain windows-7 (domid 4) to die [pid 8849] Then I noticed that the system was so slow at the end. I rebooted and I see the system is not so reactive ad before even less slow than before. On 18 October 2011 18:30, Flavio <fbcyborg@gmail.com> wrote:> libxl: error: libxl.c:553:libxl_domain_shutdown HVM domain without PV > drivers: graceful shutdown not possible, use destroy > shutdown failed (rc=-3)Now the command xl shutdown <domain_id> doesn''t give me any error. But the domain seems to be unresponsive and doesn''t shutdown. I don''t know if those drivers are buggy or not, but now the domU is not working as before; definitely. It is responsive only after the domU has started than slows down. -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users