Windows 2012 R2 Guest Hangs and/or change state to stuck
Posted: 4. Dec 2015, 15:10
I have a Windows Server 2012 R2 guest running on Debian 8.0 host. The guest system has been virtualised from physical. The host is a Dell Dimension T5400 2x Intel Xeon 5420 QC CPU, 16 GB RAM and a 2x1.0 TB hard drive configured as software RAID 1. I do understand, the storage configuration is not ideal, but I do not believe it is the cause of the problem. The Linux server does not have GUI, guest is running headless mode. On the host system, I have disabled power saving option of all kind and set the CPU governor to performance, therefore the CPU does not use Intel speedstep.
I have removed all of the hardware specific drivers before converting the physical machine to virtual. After conversion, I have installed Virtualbox Guest addition. The guest system has the bare minimum hardware added, using 4 CPU cores, 8GB RAM, PAE/NX enabled, nested paging disabled, SAS storage controller with 2 disk, SATA controller with optical drive (currently empty), USB 2.0 host controller (no attached device), 128MB Video RAM, VRDP enabled.
Problem is that the guest system freezes inside Virtualbox, however, when connecting to VRDP, I can see the last screen on it so the guest OS itself had not crashed. Not always, but some times, the phpVirtualbox dashboard says the VM is STUCK. Most of the time though, it sees the guest os running, although in the log file it clearly states that the guest seems to be unresponsive for no heartbeat signal has been received for 4 seconds. It happens after running anywhere between 10 to 36 hours. After resetting or powering of the guest and restarting, it runs like brand new for few hours.
I have attached a couple of copies of the log files as well as a screen shot of the guest configuration page.
I have tried to change virtualization and power saving settings in the BIOS, as well as on the host OS. I have disabled all power saving options on the guest. There are no related entries in the guest OS's event log at the time of the freeze. It seems it only 'just' stopped.
I have been using Virtualbox for years on different hosts with different guest systems, never really have come across problems that I could not fix by myself after a little bit of searching. I have been doing lots of searching related to this issue and tried the suggested solutions, but none of them has been successful.
I am really desperate to find a solution or some guide how to troubleshoot the issue, as the log files are not very meaningful (at least to me not).
Thank you guys for your effort of looking into this problem in advance. Any question raised, I will try to provide the ansewer ASAP.
I have removed all of the hardware specific drivers before converting the physical machine to virtual. After conversion, I have installed Virtualbox Guest addition. The guest system has the bare minimum hardware added, using 4 CPU cores, 8GB RAM, PAE/NX enabled, nested paging disabled, SAS storage controller with 2 disk, SATA controller with optical drive (currently empty), USB 2.0 host controller (no attached device), 128MB Video RAM, VRDP enabled.
Problem is that the guest system freezes inside Virtualbox, however, when connecting to VRDP, I can see the last screen on it so the guest OS itself had not crashed. Not always, but some times, the phpVirtualbox dashboard says the VM is STUCK. Most of the time though, it sees the guest os running, although in the log file it clearly states that the guest seems to be unresponsive for no heartbeat signal has been received for 4 seconds. It happens after running anywhere between 10 to 36 hours. After resetting or powering of the guest and restarting, it runs like brand new for few hours.
I have attached a couple of copies of the log files as well as a screen shot of the guest configuration page.
I have tried to change virtualization and power saving settings in the BIOS, as well as on the host OS. I have disabled all power saving options on the guest. There are no related entries in the guest OS's event log at the time of the freeze. It seems it only 'just' stopped.
I have been using Virtualbox for years on different hosts with different guest systems, never really have come across problems that I could not fix by myself after a little bit of searching. I have been doing lots of searching related to this issue and tried the suggested solutions, but none of them has been successful.
I am really desperate to find a solution or some guide how to troubleshoot the issue, as the log files are not very meaningful (at least to me not).
Thank you guys for your effort of looking into this problem in advance. Any question raised, I will try to provide the ansewer ASAP.