May 3, 201412 yr I have two HVM's setup (Windows 7 and pfSense). If I browse to the unRAID Xen Domains and click shutdown the HVM's do not turn off. Also, If I am connected via VNC to the Windows 7 VM and tell it to shutdown through the start orb and then shutdown, the VM does not shutdown. The only way I have found to shutdown the VM is to ssh into unRAID and "xl destroy windows7". I have a ubuntu PV VM and shutdown works just fine with that one. Is the only way to shutdown HVM's to ssh and type xl destroy? Here is my Windows 7 cfg: name="windows7" kernel = 'hvmloader' builder="hvm" vcpus = '2' memory=2048 disk = ['file:/mnt/cache/apps/VM/windows7/windows7.img,hda,w'] vif = [ 'mac=00:16:3e:01:01:02,bridge=xenbr0' ] boot="dc" acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' usb = '1' usbdevice = 'tablet' on_poweroff="destroy" on_reboot="restart" on_crash="destroy" pci = ['00:02.0']
May 5, 201412 yr I am having the exact same issue with 8.1 - all .NET frameworks have been installed as has gplpv_Vista2008x64_0.11.0.372.msi from http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers. Furthermore if I do NOT manually destroy the 8.1 and I try to reboot unraid - it gets stuck in an infinite loop, rebooting just after the SASLP spinup. The only thing that solves this is a hard powerdown - wait a few seconds and power back up. I am using the same MOBO as ironicbadger.
May 5, 201412 yr From Clean Open: If I shutdown from within windows the Unraid GUI shows a a state of '------' xl list shows windows If I then try tying via putty: xl shutdown windows putty shows:'shutting down domain 2. PV control interface not available: external graceful shutdown not possible. Use "-F to fallback to ACPI power event. shutdown failed (rc=-10) xl list shows windows If it then try typing xl destroy windows putty shows: libxl: error: libxl_dm.c:1311:libxl_destroy_device_model: device model already exited xl list shows only unraid unraid gui shows windows shutdown. *** From Clean Open: Pressing the shutdown button in the unraid gui has NO reaction. Windows stays alive. *** From Clean Open: typing xl shudown windows displaying 'shutting down domain #, but has NO other reactions. Windows stays alive *** From Clean Open: typing xl destroy windows closes the VM.
May 5, 201412 yr # Disable Passthrough for Driver updates and any Windows update requiring a restart. # Use TightVNC Java Viewer with RAW encoding to Update (5901). IP in unraid terminal: ifconfig. name = 'windows' builder = 'hvm' vcpus = '2' #can set this to 1-4 safely depending on your CPU/# of VMs. memory = '8192' #For Disc Installation #disk = ['phy:/mnt/cache/VM/windows/windows.img,hda,w','file:/mnt/cache/VM/windows/Windows81_DVD.iso,hdc:cdrom,r'] #After Installation disk = ['phy:/mnt/cache/VM/windows/windows.img,hda,w'] vif = ['mac=00:16:3E:51:20:4C,bridge=br0,model=e1000'] viridian = '1' boot = 'dc' xen_platform_pci='1' #ONLY NEEDED IF YOU INSTALL THE XEN PARAVIRTUALIZATION DRIVERS #VNC SETTINGS vnc = '1' vnclisten = '0.0.0.0' #vncpasswd = '' vncdisplay = 1 #NO USB PASSTHROUGH CONFIG FOR VNC ACCESSIBILITY usb=1 usbdevice='tablet' #WITH USB PASSTHROUGH, COMMENT OUT THE ABOVE TWO ITEMS AND UNCOMMENT THESE #usb=0 #usbdevice=['host:LOOK UP VIA lsusb COMMAND IN CONSOLE']','host:####:####'] #pci = [ '01:00.0','01:00.1' ] #CHANGE FOR YOUR CARD LOOKUP WITH lspci COMMAND #Enable Xen VGA Passthrough gfx_passthru=1 VGA Passthrough Palit NVIDIA #Geforce 8400 GS PCI Express x16 VGA card. pci = [ '01:00.0','00:1b.0' ] #PCI Passthrough Intel HD Audio Controller. #pci = [ '00:1b.0' ] #PCI Passthrough all the USB Controllers. # pci = ['00:1a.0','00:1a.1','00:1a.2','00:1a.7','00:1d.0','00:1d.1','00:1d.2','00:1d.7' ] #pci = ['01:00.0','01:00.1','00:1d.0'] on_poweroff="destroy" on_reboot="restart" on_crash="destroy" #This causes Windows boot to stall at the "Starting Windows" boot screen. #shadow_memory = 8 #device_model_version="qemu-xen-traditional" #acpi = '1' #apic = '1' #sdl = '0' #stdvga = '0'
May 5, 201412 yr This may be related to your problem with Win8 which utilizes a fast boot, basically an enhanced sleep mode and doesn't actually shut down when you tell it to shut down. I forget off-hand how to disable that so it actually does shut down.
May 5, 201412 yr This may be related to your problem with Win8 which utilizes a fast boot, basically an enhanced sleep mode and doesn't actually shut down when you tell it to shut down. I forget off-hand how to disable that so it actually does shut down. YES! Thank you! http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html
May 5, 201412 yr archedraft - have you installed the various .NET frameworks - I installed 3.5 SP1, 4.0, and 4.5.1 THEN ran numerous windows updates. http://msdn.microsoft.com/en-us/vstudio/aa496123 What about the GPLPV drivers? http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers.
May 5, 201412 yr Author I had not in my original post but I installed those packages now. Windows 7 seems to shutdown just fine now from either Windows -> start orb -> shutdown or unRAID -> Xen Domains -> shutdown. Thanks for helping out.
May 12, 201412 yr I'm still experiencing some issues with shutting down. It's a Windows 8.1 VM. If I shutdown within the VM, it proceeds as expected and is removed from the list of running domains. Shutting down from the GUI or unraid console I get the "shutting down domain #" message but the domain does not react. I have all .net frameworks installed and the GPLPV drivers. The fast boot settings are disabled. Can anyone with a Windows 8.1 VM confirm that shutdown works correctly outside the VM?
May 12, 201412 yr I'm still experiencing some issues with shutting down. It's a Windows 8.1 VM. If I shutdown within the VM, it proceeds as expected and is removed from the list of running domains. Shutting down from the GUI or unraid console I get the "shutting down domain #" message but the domain does not react. I have all .net frameworks installed and the GPLPV drivers. The fast boot settings are disabled. Can anyone with a Windows 8.1 VM confirm that shutdown works correctly outside the VM? Appears to work OK for me
May 13, 201412 yr Thanks for the info. This remains the one pain in my side. I've got usb and pci passthrough working flawlessly (with the help of Ironic's reset scripts). I installed every version of the .net frameworks I could find (most gave me a message about being installed already or superseded). GPLPV drivers appear to install correctly. As a quick test, I just used landS's config file to boot my VM by changing the file locations. Booted fine. However, I still had no response when attempting a shutdown from the unRAID console or web GUI. I can always shutdown from inside the VM as normal, though. I also just created a Windows 7 VM to test. Installed all the .net framework's, a few hundred updates, then the GPLPV drivers last. I had the same response as the 8.1 VM. So, I'm either making the same mistake, or I've got an issue outside the VM's. This isn't a deal-breaker, but if anyone still has similar issues or suggestions, I'd appreciate it.
May 13, 201412 yr This may be related to your problem with Win8 which utilizes a fast boot, basically an enhanced sleep mode and doesn't actually shut down when you tell it to shut down. I forget off-hand how to disable that so it actually does shut down. YES! Thank you! http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html Did you catch this jakea333?
May 13, 201412 yr Did you catch this jakea333? Yep. I have disabled the fast boot as well. It stopped any symptoms that caused the VM to hang even though I saw it shutdown in VNC. It always shuts down cleanly from within now.
May 13, 201412 yr You guys are aware of the gplpv service to monitor and shutdown windows correctly right? I an running windows 8.1 and I can shutdown via xl shutdown with no issues http://lime-technology.com/forum/index.php?topic=31735.msg297637.msg#297637
May 13, 201412 yr You guys are aware of the gplpv service to monitor and shutdown windows correctly right? I an running windows 8.1 and I can shutdown via xl shutdown with no issues http://lime-technology.com/forum/index.php?topic=31735.msg297637.msg#297637 I knew it would be something simple that I overlooked. That took care of it. Much appreciated!
May 13, 201412 yr Jakea333 glad it fixed it for you, just for the record I neither installed .net framework or messed with fast boot to get my VM to shutdown correctly, just the service installed from gplpv.
May 13, 201412 yr Did you catch this jakea333? Yep. I have disabled the fast boot as well. It stopped any symptoms that caused the VM to hang even though I saw it shutdown in VNC. It always shuts down cleanly from within now. With GPU passthrough updates I can only get a clean shutdown via Windows now... See post 18 for current configs http://lime-technology.com/forum/index.php?topic=33354.15
May 13, 201412 yr With GPU passthrough updates I can only get a clean shutdown via Windows now... See post 18 for current configs http://lime-technology.com/forum/index.php?topic=33354.15 Might try to reinstall the shutdownmon.exe service?
May 14, 201412 yr I'm still experiencing some issues with shutting down. It's a Windows 8.1 VM. If I shutdown within the VM, it proceeds as expected and is removed from the list of running domains. Shutting down from the GUI or unraid console I get the "shutting down domain #" message but the domain does not react. I have all .net frameworks installed and the GPLPV drivers. The fast boot settings are disabled. Are any processes, running on your VM, accessing files on the unRAID array, over smb/nfs? I have a problem with an ArchLinux VM which is accessing unRAID files over nfs. What I believe is happening is that, when an attempt is made to stop the array, the smb and nfs servers are stopped before the VM is shutdown. The processes running on the VM cannot, then, stop because their files have 'gone missing', which causes the VM shutdown to stall. It is then necessary to use 'XL destroy' to get the VM to close.
May 14, 201412 yr Are any processes, running on your VM, accessing files on the unRAID array, over smb/nfs? I have a problem with an ArchLinux VM which is accessing unRAID files over nfs. What I believe is happening is that, when an attempt is made to stop the array, the smb and nfs servers are stopped before the VM is shutdown. The processes running on the VM cannot, then, stop because their files have 'gone missing', which causes the VM shutdown to stall. It is then necessary to use 'XL destroy' to get the VM to close. That's interesting. I haven't seen that problem on my VM's, but I'll keep an eye out. My issue was the GPLPV shutdown monitor service I had missed.
May 14, 201412 yr You guys are aware of the gplpv service to monitor and shutdown windows correctly right? I an running windows 8.1 and I can shutdown via xl shutdown with no issues http://lime-technology.com/forum/index.php?topic=31735.msg297637.msg#297637 I ran this after installing the gplpv drivers and it worked until I did GPU passthrough. Now when I type in the Command Prompt cd C:\Program Files (x86)\XEN PV Drivers\bin [enter] shutdownmon.exe -i [enter] I receive the message: OpenSCManager failed <5> Still shuts down fine within windows.
May 14, 201412 yr You guys are aware of the gplpv service to monitor and shutdown windows correctly right? I an running windows 8.1 and I can shutdown via xl shutdown with no issues http://lime-technology.com/forum/index.php?topic=31735.msg297637.msg#297637 I ran this after installing the gplpv drivers and it worked until I did GPU passthrough. Now when I type in the Command Prompt cd C:\Program Files (x86)\XEN PV Drivers\bin [enter] shutdownmon.exe -i [enter] I receive the message: OpenSCManager failed <5> Still shuts down fine within windows. I got caught on this, you need to run command prompt as administrator :-)
May 14, 201412 yr I got caught on this, you need to run command prompt as administrator :-) lovely - it installed - brain freeze on my part. too much banging the head against a wall recently. Good news is that I can nearly see through the wall though!
Archived
This topic is now archived and is closed to further replies.