Basic STOP Error (Blue Screen) Troubleshooting Doug Allen Support Professional PSS Premier Setup Team Microsoft Corporation.

Slides:



Advertisements
Similar presentations
2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 4 Operating System Fundamentals.
Advertisements

DIT314 ~ Client Operating System & Administration CHAPTER 4 CONFIGURING HARDWARE DEVICES AND STARTUP PROCESS Prepared By : Suraya Alias.
计算机系 信息处理实验室 Lecture 5 Startup and Shutdown
Installing Windows XP Professional Using Attended Installation Slide 1 of 35Session 9 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Troubleshooting Windows. Failure to boot Is it hardware (OS not found)? Hard drive failure Is the system powered on? Is the power supply OK? Is the system.
2.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 2: Installing Windows Server.
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
11 INSTALLING WINDOWS XP Chapter 2. Chapter 2: Installing Windows XP2 INSTALLING WINDOWS XP  Prepare a computer for the installation of Microsoft Windows.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 2: Managing Hardware Devices.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
A+ Guide to Software, 4e Chapter 5 Troubleshooting Windows 2000/XP Startup.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 2: Managing Hardware Devices.
Chapter 16 Chapter 16: Troubleshooting. Chapter 16 Learning Objectives n Develop your own problem-solving strategy n Use the Event Viewer to locate and.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 9: Troubleshooting Power Management and I/O Devices.
A+ Guide to Managing and Maintaining Your PC, 7e
CCNA 2 v3.1 Module 2.
1 Chapter Overview Installing New Hardware Installing Updates Managing Client Access Licenses Troubleshooting Boot Problems.
PC Maintenance: Preparing for A+ Certification
A+ Guide to Managing and Maintaining Your PC, 7e
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Chapter 7 Installing and Using Windows XP Professional.
George Vordenbaum Systems Content Developer Global Support Automation Microsoft Corporation Exploring Windows XP Boot Options and Recovery Console George.
Ch 11 Managing System Reliability and Availability 1.
Windows Debugging Demystified
Windows 2000 Memory Management Computing Department, Lancaster University, UK.
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
Overview Introduction to Windows NT Workstation 4.0. Installing Windows NT Workstation 4.0. Customizing and managing NT Workstation 4.0. Managing Windows.
2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 6 Windows NT/2000 Operating Systems.
Operating Systems Review. 5 Purposes of an Operating System Provide User Interface Communicate with Hardware Create and Manage a File System Network Support.
Host and Application Security Lesson 4: The Win32 Boot Process.
Module 3: Resolving Boot Process Issues. Overview Understanding the Boot Process Using Advanced Boot Options Using the Boot.ini file to Change Startup.
Administering Windows 7 Lesson 11. Objectives Troubleshoot Windows 7 Use remote access technologies Troubleshoot installation and startup issues Understand.
Course ILT Monitoring and management Unit objectives Identify the stages of the Windows startup process Use Windows 2000 Professional and Windows XP utilities.
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
Hands-On Microsoft Windows Server 2008
IT Essentials 1 v4.0 Chapters 4 & 5 JEOPARDY RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
ITE 1 Chapter 5. Chapter 5 is a Large Chapter It has a great deal of useful information about operating systems. You will find this VERY helpful when.
Chapter Eight Troubleshooting Operational Problems.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 2: Managing Hardware Devices.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e Chapter 7 Fixing Windows Problems.
Chapter Fourteen Windows XP Professional Fault Tolerance.
Gene Perkins, Lassen High School Networking Academy
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 14 Managing and Troubleshooting Windows 2000.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 6 Managing and Troubleshooting Windows 2000.
Module 12: Managing Disaster Recovery. Overview Preparing for Disaster Recovery Backing Up Data Scheduling Backup Jobs Restoring Data Configuring Shadow.
W2K Server Installation It is very important that before you begin to install Windows 2000 Server, you must prepare for the installation by gathering specific.
Windows Vista Inside Out Chapter 22 - Monitoring System Activities with Event Viewer Last modified am.
MCTS Guide to Microsoft Windows Vista Chapter 4 Managing Disks.
Chapter Fifteen Troubleshooting Windows XP. Objectives Collect documentation about your systems to aid in troubleshooting and preventing problems Collect.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
Module 1: Installing Microsoft Windows XP Professional.
Implementing Hard Drives. Partitioning and Formatting Process.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Chapter 33 Troubleshooting Windows Errors. STOP Errors  When Microsoft Windows XP encounters a serious problem  And the operating system can't continue.
Module 15 Managing Windows Server® 2008 Backup and Restore.
Chapter Thirteen Booting Windows XP. Objectives Understand the Windows XP boot process Understand the Windows XP boot process Troubleshoot system restoration.
11 INSTALLING AND MANAGING HARDWARE Chapter 6. Chapter 6: Installing and Managing Hardware2 INSTALLING AND MANAGING HARDWARE  Install hardware in a Microsoft.
I T Essentials I Chapter 5 JEOPARDY Installing & UpgradingComputerBasicsErrorsServicePotpourri
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Booting Process Chapter 4: System Software Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
Windows Vista Configuration MCTS : Maintenance and Optimization.
Crash Dump Analysis - Santosh Kumar Singh.
Chapter 32 - Recovering After a Computer Crash
Files Used in the Boot Process
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Goals Identify pre-installation tasks
Presentation transcript:

Basic STOP Error (Blue Screen) Troubleshooting Doug Allen Support Professional PSS Premier Setup Team Microsoft Corporation

2 OS Architecture – Background  Divided into two main sections Kernel mode – high-privilege, direct access to hardware, memory, HAL, MicroKernel, NT Executive Services Kernel mode – high-privilege, direct access to hardware, memory, HAL, MicroKernel, NT Executive Services User mode – low privilege, no direct access to hardware, uses APIs to request system resources, environment, and integrated subsystems User mode – low privilege, no direct access to hardware, uses APIs to request system resources, environment, and integrated subsystems

3 OS Architecture – Background (2)

4 Why Do STOP Screens Happen?  Services, applications, or device drivers are faulty or incompatible  Hardware problems  Disk or file system corruption  Firmware or BIOS outdated or incompatible  Viruses

5 When Do STOP Screens Happen?  Four categories Short startup period (phase four of the boot sequence) Short startup period (phase four of the boot sequence) Software condition detected by the CPU Software condition detected by the CPU Hardware malfunction detected by the CPU Hardware malfunction detected by the CPU All the rest of the STOP codes All the rest of the STOP codes

6 Windows NT 4.0 STOP Screen Breakdown  Five sections Section 1 – Debug port status info Section 1 – Debug port status info Section 2 – Bug check info Section 2 – Bug check info Section 3 – Driver information loaded in memory Section 3 – Driver information loaded in memory Section 4 – Kernel build number and stack dump Section 4 – Kernel build number and stack dump Section 5 – Debug port info Section 5 – Debug port info

7 Windows NT 4.0 STOP Screen Breakdown (2)  Debug port status info – much like Snd/Rcv indicators of a modem  Bug check info – contains numbers in hex with symbolic string error code, and four bug check parameters  Driver information loaded in memory First column – load base address First column – load base address Second column – time/date stamp in hex Second column – time/date stamp in hex Third column – names all drivers Third column – names all drivers

8 Windows NT 4.0 STOP Screen Breakdown (3)  Kernel build number and stack dump – version of Ntoskrnl.exe. Rest is the stack dump showing range of addresses that pertain to failed module Rest is the stack dump showing range of addresses that pertain to failed module  Debug port info – confirmation of COM parameters May also show if the Memory.dmp file is being created May also show if the Memory.dmp file is being created

9 Windows 2000 STOP Screen Breakdown  Three sections Section 1 – bug check info Section 1 – bug check info Section 2 – recommended user action Section 2 – recommended user action Section 3 – debug port info Section 3 – debug port info

10 Windows 2000 STOP Screen Breakdown (2)  Bug check info – contains numbers in hex with symbolic string error code, and four bugcheck parameters  Recommended user action – provides a list of suggestions for recovering from the error  Debug port info – much like Snd/Rcv indicators of a modem

11 The Memory.dmp File  Contains information about the computer at the time of the crash  Creates a Memory.dmp every time  Generates a STOP error if configured  Used with debugging process to determine root cause of crash  Verifies integrity using the Dumpchk.exe utility from the Windows NT® or Windows® 2000 retail CD-ROM

12 Changes with Windows 2000 Memory.dmp Options  Mini dump (64 KB)  Kernel only dump  Complete dump

13 Memory.dmp Creation Conditions  Valid Pagefile at least same size as amount of physical RAM plus 12 MB, located on %SYSTEMROOT% partition  Enough free space to write the Memory.dmp file

14 Memory.dmp Creation Conditions (2)

15 Memory.dmp Creation Conditions (3)  Must be configured to write the dump file Configuration options are in the Startup Shutdown tab in the GUI, or in the registry at: Configuration options are in the Startup Shutdown tab in the GUI, or in the registry at: HKEY_LOCAL_MACHINE\SYSTEM \CurrentControlSet\Control\Session Manager HKEY_LOCAL_MACHINE\SYSTEM \CurrentControlSet\Control\Session Manager HKEY_LOCAL_MACHINE\SYSTEM \CurrentControlSet\Control\CrashControl HKEY_LOCAL_MACHINE\SYSTEM \CurrentControlSet\Control\CrashControl  If the system stops responding, you can force a Memory.dmp to be created

16 Forcing the Creation of a Memory Dump  Requires two configurations to be made Must be set to create a Memory.dmp in the Startup Recovery options Must be set to create a Memory.dmp in the Startup Recovery options HKEY_LOCAL_MACHINE\System\CurrentControl Set\Services\i8042prt\Parameters/, set a key named CrashOnCtrlScroll equal to REG_DWORD 0x1 HKEY_LOCAL_MACHINE\System\CurrentControl Set\Services\i8042prt\Parameters/, set a key named CrashOnCtrlScroll equal to REG_DWORD 0x1  To force the dump, hold down the right CTRL key while pressing the SCROLL LOCK key twice.

17 Most Common STOP Codes  STOP 0x A IRQL_NOT_LESS_EQUAL Caused by a kernel-mode process that tried to access portion of memory at an IRQL that was too high Caused by a kernel-mode process that tried to access portion of memory at an IRQL that was too high Fourth parameter most important Fourth parameter most important Usually caused by buggy device drivers, or services from backup utilities or virus scanners Usually caused by buggy device drivers, or services from backup utilities or virus scanners

18 Most Common STOP Codes (2)  STOP 0x E KMODE_EXCEPTION_NOT_HANDLED Caused when a kernel-mode process tries to execute an illegal or unknown processor instruction Caused when a kernel-mode process tries to execute an illegal or unknown processor instruction Second parameter is most important; it is the address where the exception occurred Second parameter is most important; it is the address where the exception occurred If Win32k.sys is the referenced driver, check third- party remote control applications If Win32k.sys is the referenced driver, check third- party remote control applications

19 Most Common STOP Codes (3)  STOP 0x NTFS_FILE_SYSTEM Caused by a problem that occurred in Ntfs.sys Caused by a problem that occurred in Ntfs.sys First parameter most important First parameter most important Usually caused by disk corruption, disk defragmenters, or (in rare cases) creating a partition larger than 7 GB on a Services for Macintosh volume with a large number of files Usually caused by disk corruption, disk defragmenters, or (in rare cases) creating a partition larger than 7 GB on a Services for Macintosh volume with a large number of files

20 Most Common STOP Codes (4)  STOP 0x E DATA_BUS_ERROR Caused by a parity error in the system memory Caused by a parity error in the system memory Almost always caused by hardware problems being a configuration issue, defective hardware, incompatible hardware Almost always caused by hardware problems being a configuration issue, defective hardware, incompatible hardware If physical RAM was recently added to the system, remove it and see if the error still occurs If physical RAM was recently added to the system, remove it and see if the error still occurs If the error persists, try disabling memory caching in the BIOS If the error persists, try disabling memory caching in the BIOS

21 Most Common STOP Codes (5)  STOP 0x PAGE_FAULT_IN_NONPAGED_AREA Caused when requested data is not found in memory; the system checks the page file, but the missing data is identified as unable to be written to the page file Caused when requested data is not found in memory; the system checks the page file, but the missing data is identified as unable to be written to the page file First parameter indicates virtual address that caused the fault First parameter indicates virtual address that caused the fault If this occurs on a Terminal Server, check for third-party printer drivers If this occurs on a Terminal Server, check for third-party printer drivers

22 Most Common STOP Codes (6)  STOP 0x B INACCESSIBLE_BOOT_DEVICE Caused when Windows lost access to the system partition during the Startup process Caused when Windows lost access to the system partition during the Startup process Cannot be debugged because it usually occurs before the debugger is loaded Cannot be debugged because it usually occurs before the debugger is loaded This can be caused by: an incorrect driver for a SCSI, RAID, or UDMA IDE controller; incorrect ARC path in the Boot.ini; or a failed boot device This can be caused by: an incorrect driver for a SCSI, RAID, or UDMA IDE controller; incorrect ARC path in the Boot.ini; or a failed boot device During install, press F6 at prompt to install third- party Mass Storage drivers During install, press F6 at prompt to install third- party Mass Storage drivers

23 Most Common STOP Codes (7)  STOP 0x F UNEXPECTED_KERNEL_MODE_TRAP Caused when the CPU generates an error that the kernel does not catch Caused when the CPU generates an error that the kernel does not catch First parameter most important (see Knowledge Base article Q for details) First parameter most important (see Knowledge Base article Q for details) Usually hardware, especially RAM Usually hardware, especially RAM Disable sync negotiation in SCSI BIOS; check SCSI termination Disable sync negotiation in SCSI BIOS; check SCSI termination Can also be caused by CPU over-clocking Can also be caused by CPU over-clocking

24 Most Common STOP Codes (8)  STOP 0x F DRIVER_POWER_STATE_FAILURE Caused when drivers do not handle power state transition requests properly Caused when drivers do not handle power state transition requests properly Most frequently when shutting down or resuming from standby or hibernation mode Most frequently when shutting down or resuming from standby or hibernation mode Check CD writing software, applications that attempt to catch crashes, or other similar applications Check CD writing software, applications that attempt to catch crashes, or other similar applications Check power management compatibility and settings Check power management compatibility and settings

25 Most Common STOP Codes (9)  STOP 0x000000D1 DRIVER_IRQL_NOT_LESS_OR_EQUAL Occurs when the system attempts to access pageable memory at a process IRQL that is too high Occurs when the system attempts to access pageable memory at a process IRQL that is too high Fourth parameter is most important, which is the address that referenced the memory Fourth parameter is most important, which is the address that referenced the memory Very similar to STOP 0xA Very similar to STOP 0xA Same troubleshooting as a STOP 0xA Same troubleshooting as a STOP 0xA

26 Most Common STOP Codes (10)  STOP 0xC000021A STATUS_SYSTEM_PROCESS_TERMINATED Caused when the user-mode subsystem (Winlogon or CSRSS) is fatally compromised and security cannot be guaranteed Caused when the user-mode subsystem (Winlogon or CSRSS) is fatally compromised and security cannot be guaranteed One of few user-mode errors that can bring down a machine One of few user-mode errors that can bring down a machine Most common causes are third-party applications or mismatched system files Most common causes are third-party applications or mismatched system files Sfc/Scannow Sfc/Scannow

27 Troubleshooting STOP Screens  Emergency Repair Disk (ERD)  Windows NT boot disk (see Q301680)  Parallel installation of the OS  Windows NT 4.0 and Windows 2000 VGA mode VGA mode Last known good Last known good  Windows 2000 Only Safe mode Safe mode Recovery console Recovery console

28 Troubleshooting STOP Screens (2)  System and Application Event logs  Verify the latest service pack is installed by running the Winver command  Virus check the system with the latest virus definitions  Chkdsk/f/r  Run the MPSReports utility, provided by a Microsoft Support Professional

29 Using the Recovery Console  Allows command-line access to the boot partition or simple volume  Cannot be pre-staged with Sysprep  Is very useful to disable or enable services and devices, replace files, display modify disk/partition info, and replace the master boot record or the boot sector  Q lists all valid commands

30 Preventative Maintenance for STOP Screens  Always test your drivers before installing in production  Check the HCL before installing new hardware to verify compatibility  For Windows 2000, install digitally signed drivers whenever possible  Always make a new ERD after any major system change

31 Kernel and User Mode Debugging  Used to determine root cause  Should be reserved for more advanced users  Symbols and debugging tools can be downloaded from: Symbols are also on the retail CD-ROM of the OS or service pack  See Knowledge Base article Q for more information about debugging

32 Additional Resources  Windows NT 4.0 and Windows 2000 Resource Kits   /techinfo/reskit/WebResources/default.asp /techinfo/reskit/WebResources/default.asp /techinfo/reskit/WebResources/default.asp  Hardware Compatibility List  Microsoft TechNet, MSDN®  Microsoft Knowledge Base