Professional Documents
Culture Documents
Understanding and Troubleshooting Blue Screen Errors: Classroom Deck - XPS
Understanding and Troubleshooting Blue Screen Errors: Classroom Deck - XPS
Dell Confidential
Class Outline
1. Understanding a Crash 2. Tools You Can Use 3. Sysinternals Suite of Tools
Expert Tools
are caused when a condition arises that requires the entire system to halt In order to troubleshoot, you need two critical pieces of information from this error
The first highlighted section is the type of error (0x8E) The second section is the driver/file that called the error (ati2dvag.dll)
At this point the system must be restarted as all processing has ended Notice the section at the bottom Beginning dump of physical memory What does that mean? Important Information about the creation of a dump file:
The process SMSS.exe must be running The physical dump (RAM) must not be larger than the size of the paging file
Dell Confidential - DRAFT
3
Expert Tools
Expert Tools
Open My computer properties Click Advanced tab Click Settings under Startup and Recovery Ensure the box Automatically Restart is NOT CHECKED
Expert Tools
This data can be very useful for you to determine what driver
or application most likely called for the crash
Expert Tools
If no Internet Connection is available or the primary system crashes before being able to access the Internetis there a second one available Internet Connectivity is very important for using the Online Crash Analysis Tool, downloading the Debug Tool, and updating drivers that may cause the crash (such as the ATI BSOD seen on the previous slide)
7
Expert Tools
Preferred: Connect to the customers system using DellConnect and witness it first hand If Internet or other issues are keeping DellConnect from working, ask the customer for as many details as possible
With this information in hand, we are able to perform three basic steps
to get started:
Run MSCONFIG to disable any unnecessary startup items and services Open the Event Viewer to check for a history of these issues (covered on the next slide)
Check the Device Manager for any drivers with a yellow (!) or red (x)
Expert Tools
Open the Control Panel (switch to Classic Mode) Select Administrative Tools and click Event Viewer
You will begin your search by looking under both the Application and
System section
Expert Tools
Procedure:
Ask the Customer what time and date the error last occurred on Click Applications first Look for any red and white X that says ERROR next to it, that occurred on or near the date/time the customer stated Double click that item and use DellConnect or the customer to get the information the gray box Repeat this process with the System section until you feel you have the information neceesary
10
Expert Tools
11
Expert Tools
12
Expert Tools
A customer may actually tell you what is causing the error message
Example:
Customer: It started right after I got my DSL installed, actually You: What model is your DSL modem, and does it use USB or Networking Customer: Oh I connected both Question for the class: Why was this discussion useful?
Expert Tools
Many problems will only occur on the Internet, with a particular browser
or only with select web pages. The important step is taking ownership and attempting to duplicating the issue.
EXAMPLE: I recently troubleshot an issue with Outlook Express. PROBLEM: A map attachment in an E-Mail was selected to print. The Photo Printing Wizard opened normally; you click next and are offered an option to select the picture you want to print. At this point the customer was offered several pornographic photos to print in the Picture Selection window. DISCUSSION: DellConnect was used to confirm the issue was as described by the customer. Multiple searches had been made of the hard drive without any success identifying the problem files. RESOLUTION: After confirming the steps I had previously recommended I configured a system in the lab using the same application & created a couple of emails with attached photos. When I printed a photo & discovered that the Wizard scanned the temporary internet files for photos. Deleting the temporary internet files & cookies from Internet Options removed the undesirable files from the Photo Printing Wizard & the customer was off to discuss web viewing habits with his son.
system we were able to validate what was actually happening, not what appeared to be happening.
14
Expert Tools
New printer USB keyboard, mouse, game pad, joystick, photo reader Cameras and their associated software Use the Driver Rollback feature in XP Uninstall the driver, software and hardware added Check Add/Remove programs for recent XP Updates Attempt to perform a system restore to a point before the last update Are there new items in add/remove programs? Are two versions of the same application installed in add/remove programs?
15
Expert Tools
Example: A customer receives a Blue Screen error when attempting to play one game, however they have already tried patching the game, updating video drivers and reinstalling the game. Next Step: Since it does not appear the be the game or video drivers, you can safely skip those steps and start troubleshooting using MSCONFIG, Event Viewer, updating the sound card drivers and running DXDiags.
16
Expert Tools
Dial-up connections limit your ability to download updated drivers, the Win Debug Tool and SysInternals tools (covered later)
17
Expert Tools
Fundamental Troubleshooting
There are three basic scenarios for OS Errors or crashes
During boot
Removal ALL peripherals except for keyboard, mouse and monitor Press F8 between the BIOS and XP Screens, select Last known good configuration Press F8 between the BIOS and XP Screens, select Safe mode with Networking
If it still crashes: Potentially a memory, hard drive or video card failure use Dell Diags If it boots: Open the Event Viewer in Safe Mode to determine what was causing the error, as well as running MSCONFIG and uninstalling all third party software/drivers
Recreate the issue and record the information in the Blue Screen Error Research DSN, Support.Microsoft.com and www.google.com Update the driver or application Run MSCONFIG to remove potential conflicting applications Visit the website of the manufacturer to check for
Known issues similar to yours Verify it is compatible with the customers OS and system configuration such as compatible sound cards
Randomly
Ask the customer for the approximate time/date it happened Open the Event Viewer, and check both Applications and System sections for Error that fits the description of the customer
Expert Tools
18
Therefore we will skip this tool and use the more advanced Windows
Debugger application if you were not able to resolve the issue with the OCA
19
Expert Tools
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
Ensure that you select the version appropriate for the system, as there
are 32-bit and 64-bit versions
Click either of the links in the middle of the page starting Install Debugging tools for windows On the next page, choose the latest version available NOTE: The file size is approximately 15MB, be prepared to wait
Run the installer application Click Start / All Programs / Debugging Tools for Windows / WinDBG Click File / Symbol File Path / type
20
08 = Month of August 03 = 3rd day 06 = 2006 -1 = First crash of this particular day File > Open Crash Dump Browse to C:\Windows\minidump Open the file closest to the date the customer claims the system crashed Wait for the application to run Note the file listed after Probably caused by:
In the debugger
21
Expert Tools
This field tells us what process/program asked for the Blue Screen
Conclusion:
We now know that the Norton ccEvtMgr application caused a Blue Screen error due to the bcmw15.sys
Expert Tools
Questions?
Up until now we have only discussed the preparation and questions
necessary to begin the debug process
The next few slides will outline labs that we will guide you through in
order to actually USE the debugger with sample crashes
23
Expert Tools
Key Points:
Memory dumps from previous crashes are stored in C:\Windows\minidump Event Viewer is useful but not always helpful A customer complains their system crashed on the 12th of November, 2006 but they cannot recall the error Open the Event Viewer, can you find the error? Does the Event Viewer tell us what caused the BSOD? Use the Debug Tool to open the appropriate dump file and determine the case of the BSOD
Lab Procedure
24
Expert Tools
Driver Verifier
25
Expert Tools
Driver Verifier What is it? WHAT: Driver Verifier is a tool created by Microsoft meant for hardware
creators to test their drivers, determining that piece of softwares ability to operate reliably
WHEN TO USE: Use this tool when Debug fails to help you for either of
these reasons:
The BSOD errors are different every time <OR> The Debugger tool lists a Windows file (such as NTOSKRNL.EXE) as the cause
HOW TO USE: Run the Verifier tool to force the system to crash, and
then run the WinDBG program on the latest dump file
IMPORTANT NOTE: It is very likely this tool will cause the system to crash, this is on purpose so the tool can determine which driver caused the crash
Dell Confidential - DRAFT
26
Expert Tools
27
Expert Tools
28
Expert Tools
Either using All Unsigned Drivers or selecting one manually from a list
Open the WinDBG Application Load the latest dump file Perform your analysis again
29
Expert Tools
SysInternals - AutoRuns
WHAT IS IT: AutoRuns is a tool developed by Sysinternals (now owned
by Microsoft), available at www.sysinternals.com, that allows you to enable/disable ANY startup items
Many items are not listed in MSCONFIG Use this when you absolutely cannot get rid of a startup application or service causing your Blue Screen errors
Click Options / Verify Digital Signatures, and then Options / Hide Microsoft entries Click the refresh button renew the list Uncheck any items you feel may be causing the errors
Expert Tools
30
Autoruns
31
Expert Tools
For what kind of errors can I use CAT ? The Crash Analysis Tool (CAT) helps determine why you are
receiving either a blue screen error or a system crash error
32
Expert Tools
33
Expert Tools