How to analyse a server which has crash after a blue screen of dead (BSOD). An example: error from rebooting DC’s after BSOD in the eventlog:
The computer has rebooted from a bugcheck. The bugcheck was: 0x0000001e (0xc0000005, 0x8046e3b2, 0x00000000, 0x00000000). Microsoft Windows 2000 [v15.2195]. A dump was saved in: C:\WINNT\MEMORY.DMP.
To troubleshoot the Memory.DMP, follow Microsoft knowledgebase article
1) First, download the Windows XP support tools at http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en
2) Run “dumpchk” against the memorydump file. (I copied the file 2gb to my laptop for fast processing). This will result in a dumpfile:
----- 32 bit Kernel Full Dump Analysis
DUMP_HEADER32:
MajorVersion 0000000f
MinorVersion 00000893
DirectoryTableBase 30f71000
PfnDataBase 89092000
PsLoadedModuleList 80485b80
PsActiveProcessHead 80487608
MachineImageType 0000014c
NumberProcessors 00000002
BugCheckCode 0000001e
BugCheckParameter1 c0000005
BugCheckParameter2 8046e3b2
BugCheckParameter3 00000000
BugCheckParameter4 00000000
PaeEnabled 00000000
KdDebuggerDataBlock 80471a70
Physical Memory Description:
Number of runs: 5
FileOffset Start Address Length
00001000 00001000 0001f000
00020000 00022000 0001e000
0003e000 00050000 0004f000
0008d000 00100000 00eff000
00f8c000 01000000 7eff3000
Last Page: 7ff7e000 7fff2000
KiProcessorBlock at 80484f20
2 KiProcessorBlock entries:
ffdff120 8905f120
Windows 2000 Kernel Version 2195 (Service Pack 4) MP (2 procs) Free x86 compatible
Kernel base = 0x80400000 PsLoadedModuleList = 0x80485b80
Debug session time: Thu Jul 16 06:45:30 2009
System Uptime: 0 days 0:20:27
start end module name
80400000 805a2940 nt Checksum: 001AB628 Timestamp: Mon Mar 05 16:51:43 2007 (45EC3C8F)
Unloaded modules:
f6580000 f6589000 redbook.sys Timestamp: Thu Jul 16 06:25:29 2009 (4A5EABB9)
f66d0000 f66d5000 Cdaudio.SYS Timestamp: Thu Jul 16 06:25:29 2009 (4A5EABB9)
bfdaf000 bfdb2000 Sfloppy.SYS Timestamp: Thu Jul 16 06:25:29 2009 (4A5EABB9)
Finished dump check
3) If this doesn’t give any hint about the reason for the crash you need to install the microsoft debugging tools. (Windbg). The debugging tool can be find at:
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
4) WinDBG uses symbol files to determine which component (or which reference) caused the problem. They come in two forms: a http link to the Microsoft directory and installable symbol files.
http://www.microsoft.com/whdc/DevTools/Debugging/symbolpkg.mspx
6) Extract the symbol files for the OS to c:\windows\symbols
Just click on the installer(s) to install the Symbol files. This will take a while and will take about 750 mb of memoryspace. Note: make sure that you’ll install them all in the same directory.
7) Then add the Microsoft symbol filepath:
File -> Symbol file Path ...
Add the following link:
c:\windows\symbols; http://msdl.microsoft.com/download/symbols
Open the memory.dmp file:
File -> Open Crash DUmp ...
Select the MEMORY.DMP
After loading the Windbg will load the symbol files and check the MEMORY.DMP
9) Click on the prompt and type the following text:
!analyze -v
The following (example) output shows:
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
KMODE_EXCEPTION_NOT_HANDLED (1e)
This is a very common bugcheck. Usually the exception address pinpoints
the driver/function that caused the problem. Always note this address
as well as the link date of the driver/image that contains this address.
Arguments:
Arg1: c0000005, The exception code that was not handled
Arg2: dd46e3b2, The address that the exception occurred at
Arg3: 00000000, Parameter 0 of the exception
Arg4: 00000000, Parameter 1 of the exception
Debugging Details:
------------------
*************************************************************************
*** ***
*** ***
*** Your debugger is not using the correct symbols ***
*** ***
*** In order for this command to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: kernel32!pNlsUserInfo ***
*** ***
*************************************************************************
*************************************************************************
*** ***
*** ***
*** Your debugger is not using the correct symbols ***
*** ***
*** In order for this command to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: kernel32!pNlsUserInfo ***
*** ***
*************************************************************************
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".
FAULTING_IP:
nt!ExFreePoolWithTag+162
dd46e3b2 f60701 test byte ptr [edi],1
EXCEPTION_PARAMETER1: 00000000
EXCEPTION_PARAMETER2: 00000000
READ_ADDRESS: 00000000
DEFAULT_BUCKET_ID: INTEL_CPU_MICROCODE_ZERO
BUGCHECK_STR: 0x1E
PROCESS_NAME: ntfrs.exe
LAST_CONTROL_TRANSFER: from 00000000 to dd4308e6
STACK_TEXT:
f55b3b28 00000000 00000000 00000000 00000000 nt!KiDispatchException+0x30e
STACK_COMMAND: .bugcheck ; kb
FOLLOWUP_IP:
nt!ExFreePoolWithTag+162
dd46e3b2 f60701 test byte ptr [edi],1
SYMBOL_NAME: nt!ExFreePoolWithTag+162
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: nt
IMAGE_NAME: ntkrnlmp.exe
DEBUG_FLR_IMAGE_TIMESTAMP: 45ec3c8f
FAILURE_BUCKET_ID: 0x1E_nt!ExFreePoolWithTag+162
BUCKET_ID: 0x1E_nt!ExFreePoolWithTag+162
Followup: MachineOwner
---------
It will (hopefully) show the right process (in this case ntfrs.exe that caused the problem) for further troubleshooting…
admin Uncategorized Windows