Sunday, March 15, 2015

How to generate NMI crash dump

Collapse imageINTRODUCTION

Sometimes, when you use the CTRL+SCROLL LOCK+SCROLL LOCK keyboard shortcut to generate a crash dump file, the operation does not function correctly. This shortcut may be useful in debugging a problem that causes a server to stop responding or crash. You would typically use this shortcut only when standard live debugging is not an option.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
303021 How to generate a memory dump file when a server stops responding (hangs)
This method does not work for all systems. For example, Hewlett-Packard (HP) BladeSystem servers from the Hewlett-Packard Development Company are managed through a browser-based graphical user interface (GUI). A keyboard is not attached to the HP BladeSystem server. Therefore, you cannot use this keyboard shortcut to generate a crash dump file. In these cases, you must generate a complete crash dump file or a kernel crash dump file by using the Non-Maskable Interrupt (NMI) switch that causes an NMI on the system processor. This article describes how to generate a complete crash dump file or a kernel crash dump file by using an NMI switch.

Note Use this method to generate complete memory dump files with caution. Ideally, you should only do this only when you are explicitly requested to by the Microsoft Customer Support Services Engineer. Any kernel or complete memory dump file debugging should be the last resort when all the standard troubleshooting methods have been completely exhausted.

Collapse imageMORE INFORMATION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
Before you continue, look in the hardware BIOS reference manual or contact your hardware vendor to determine whether the server is equipped with an NMI switch. To enable complete memory dump files on your server, follow these steps:
  1. Set up the page file to generate a complete memory dump file. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    108393 The /maxmem switch in the Windows Boot.ini file
  2. Right-click My Computer, and then click Properties.
  3. Click the Advanced tab.
  4. Under Startup and Recovery, click Settings.
  5. Make sure that Kernel memory dump or Complete memory dump is selected under Writing Debugging Information.
  6. You can change the location of the memory dump file to a different local partition if you do not have sufficient room on the partition where the operating system is installed. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    886429 What to consider when you configure a new location for memory dump files in Windows Server 2003
    For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    885117 "Kernel Memory Dump" is displayed in Startup and Recovery, but a complete memory dump is performed in Windows 2000 or in Windows Server 2003
  7. In Registry Editor, locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl
  8. Right-click CrashControl, point to New, and then click DWORD Value.
  9. Type NMICrashDump, and then press ENTER.
  10. Right-click NMICrashDump, and then click Modify.
  11. In the Value data box, type 1, and then click OK.
  12. Restart the computer.
  13. Hardware vendors, such as HP, IBM, and Dell, may provide an Automatic System Recovery (ASR) feature. You should disable this feature during troubleshooting. For example, if HP and Compaq's ASR feature is enabled in the BIOS, disable this feature while you are troubleshooting to generate a complete memory.dmp file. For the exact steps, contact your hardware vendor.
  14. Enable the NMI switch in the BIOS or by using the Integrated Lights Out (iLO) Web interface.

    Note For the exact steps, see the BIOS reference manual or contact your hardware vendor.
  15. Test this method on the server by using the NMI switch to generate a dump file. You will see a STOP 0x00000080 hardware malfunction.
  16. Wait for the problem to recur.
For information about how to contact your hardware vendor, visit the following Microsoft Web site: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Collapse imageProperties

Article ID: 927069 - Last Review: June 8, 2011 - Revision: 3.5
APPLIES TO
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Server
  • Windows Vista Ultimate
  • Windows Vista Starter
  • Windows Vista Service Pack 2
  • Windows Vista Service Pack 1
  • Windows Vista Home Premium
  • Windows Vista Home Basic
  • Windows Vista Home Basic N 64-bit Edition
  • Windows Vista Home Basic N
  • Windows Vista Enterprise
  • Windows Vista Business N 64-bit Edition
  • Windows Vista Business N
  • Windows Vista Business 64-bit Edition
  • Windows Vista Business
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Microsoft Windows Server 2003 R2 Enterprise Edition KN
  • Microsoft Windows Server 2003 R2 Standard Edition KN
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Home Edition for Prepaid Computers
  • Microsoft Windows XP Home Edition for Subscription Computers
  • Microsoft Windows XP Home Edition N
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional N
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows XP Service Pack 2
  • Microsoft Windows XP Service Pack 3
  • Microsoft Windows XP Service Pack 1
  • Microsoft Windows XP Starter Edition
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows XP Tablet PC Edition 2005
  • Microsoft Windows XP Service Pack 1a
  • Microsoft Windows XP Home Edition K
  • Microsoft Windows XP Home Edition KN
  • Microsoft Windows XP Professional K
  • Microsoft Windows XP Professional KN
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Datacenter x64 Edition
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Enterprise x64 Edition
  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003 R2 Standard x64 Edition
  • Microsoft Windows Server 2003 Scalable Networking Pack
  • Microsoft Windows Server 2003 Service Pack 1
  • Microsoft Windows Server 2003 Service Pack 2
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
Keywords: 
kbexpertiseinter kbstepbystep kbhowto KB927069

No comments:

Post a Comment