Server 2008 R2 Hyper-V / Intel I7 – Blue Screen of Death

I was building out a new demonstration laptop. The laptop would be running VMs on Server 2008 R2 Hyper-V. Since the VMs we needed to run were rather large, we picked up a rather powerful laptop to support them.

  • Server 2008 R2 Enterprise
  • Intel i7-720 QM
  • 8GB RAM
  • 640 GB HD

The build went fine. It was simple, enabling Virtualization in the BIOS, installing the OS, adding Hyper-V role, importing a few VMs. Everything went smoothly.

I started a Virtual Machine to make a few tweaks before going home for the weekend. When I came in on Monday morning. I found a wonderful screen telling me there was an unexpected shutdown. Awesome. Thanks Monday…

I checked the Event Viewer and found out that it had been restarting every few hours all weekend.

The Error in Event Viewer is listed as:

Critical 4/6/2010 5:13:21 PM Kernel-Power 41 (63)

Log Name: System
Source: Microsoft-Windows-Kernel-Power
Date: 4/6/2010 5:13:21 PM
Event ID: 41
Task Category: (63)
Level: Critical
Keywords: (2)
User: SYSTEM
Computer: Demo-Laptop
Description:
The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.

Not a whole lot to go on and Google didn’t find much.

So I waited a few hours to see what was happening and sure enough I got a blue screen of death (BSOD). The message said:

“A clock interrupt was not received on a secondary processor within an allocated time”
Error 0x101

0x00000101 (parameter1, 0000000000000000, parameter3, 000000000000000c)

CLOCK_WATCHDOG_TIMEOUT

Sweet…

After some searching, I noticed people were suggesting the problem could be ram or overclocking related. But these couldn’t be the case, because everything was new and factory default… other than enabling virtualization in the BIOS. So I looked a little more and found another suggestion saying that Intel Speedstep was causing the issue because the CPU frequency was decreasing when the CPU was idle, and Hyper-V didn’t like that so much. I dug around in the BIOS some more and found a setting called “dynamic cpu frequency mode” the only problem was my two options were “dynamic switch” or “always low”. There was no off… Thanks Toshiba.

Not having time to deal with it, and deciding that was the problem, we swapped the laptop out for an HP with the same/similar specs. The first thing I checked was the BIOS settings, and this BIOS had even less options. There was no options for CPU idle frequency at all. With my fingers crossed, I continued the build. Started a VM. Two hours laters Blue Screen of Death. Cool…

After a good amount of searching, I found this:

A link to a Hotfix MS released March 2, 2010, http://support.microsoft.com/kb/975530 – Stop error message on an Intel Xeon 5500 series processor-based computer that is running Windows Server 2008 R2 and that has the Hyper-V role installed: “0x00000101 – CLOCK_WATCHDOG_TIMEOUT”

It states there can be issues when:

  • A computer is running Windows Server 2008 R2 and has the Hyper-V role installed.
  • This computer has one or more Intel CPUs code-named Nehalem installed. For example, the Nehalem CPU for a server is from Intel Xeon processor 5500 series and for a client is from Intel Core-i processor series.
The article also mentions:
You can disable the Advance Configuration and Power Interface (ACPI) C-states by using a BIOS firmware option on the computer. If the firmware does not include this option, a software workaround is available.
That sounds very similar to the problems I have been having and the conclusions I have been drawing about the BSOD relating to CPU idle frequency. Instead of loading the recommended registry workaround, I decided to load the hotfix they provided.
So far I’ve had a VM running for the good part of a day and have had 0 Blue Screens of Death. It looks like the hotfix might have done the trick. Hopefully, MS will send out an official patch soon to fix the Server 2008 R2 Hyper-V and Intel i7 Processor issues.
UPDATE:
It looks like there might be an official update out now: http://support.microsoft.com/kb/2264080

4 thoughts on “Server 2008 R2 Hyper-V / Intel I7 – Blue Screen of Death

  1. Hello.

    Have you experienced BSoD since?

    I installed v3 of this hotfix and it did not work in my case. Have not tried with the latest v4.

    1. It has been just under a week with 0 BSoDs. I patched the laptop and sent it to a conference, so I’m not sure what version it’s running until I get it back. But it should be the latest version on MS’s site.

  2. You’re a Lifesaver! I was going totally insane trying to fix it. First I tried disabling Hyperthreading. Which is impossible on an i7. then I played with the intel step setting. no avail. I reinstalled all my drivers. no help. installed drivers selectively. no luck. kept on getting bsod. then i reinstalled WS2008R2 and thought I had it going well, until it bsod on me twenty minutes later. my virtual images all have been shut down violently in the process, so gonna have lots of torn pages there.
    But thanks to your article and the application of the hotfix, my system has been stable for over an hour now!

Comments are closed.