Operating System Error Messages and Solutions

 <  Day Day Up  >  

After Windows starts, problems with drivers, software, and resources ( Windows 9x/Me) can trigger various types of error messages. The following sections discuss these error messages in greater detail.

General Protection Fault and Illegal Operation Errors

An illegal operation can be defined as any software problem that requires Windows 9x/Me to shut down the program to recover from it, including general protection faults (GPFs ), page faults, and other problems. An illegal operation is hardly ever caused by the user of the program (you). Instead, illegal operations are caused by the interaction of programs with each other or with Windows itself. One of the most common types of illegal operation errors is the GPF.

GPF errors are caused by two Windows programs attempting to use the same area of memory at the same time; they are more likely to occur with Windows 9x/Me than with Windows NT 4.0/2000/XP because Windows 9x/Me don't protect the memory space used by each program.

To determine the cause of a GPF

  • Note which programs were in memory when the GPF happened ; generally , an interaction between the last program loaded into memory and programs already in memory is the cause. Take a quick look at the Taskbar and System Tray.

  • Consider getting updates to older programs on your system; mismatches between .dll files used by new and older programs is a frequent cause of GPFs and other software problems.

Paging Dr. Watson! Capturing System Information

Use the Dr. Watson utility supplied with Windows 98/Me to capture information about your system when a GPF or other illegal operations error takes place; you can also use it to generate a snapshot of your system whenever you want.

The Drwatson.exe program is found in the Windows folder in both Windows 98 and Windows Me. You can also click Start, Run, type Drwatson , and click OK. Dr. Watson automatically places itself in the system tray when you run it.

graphics/note_icon.gif

Windows NT 4.0/2000/XP use a different version of Dr. Watson ( Drwtsn32 ). It is used primarily to capture crashes during program development.


To see complete information about the system, as in Figure 20.2, double-click the Dr. Watson icon in the system tray and select the Advanced View. To run it automatically, add a shortcut to it to the Startup group (see Chapter 18 for details). Use the information captured to search the Microsoft Knowledge Base online.

Figure 20.2. Dr. Watson (left) traps system information when an illegal operation takes place or whenever you ask for a system snapshot. Resource Meter (right) warns you when free system resources (FSR) drops to critical levels.

graphics/20fig02.gif

Using the Windows 9x/Me Resource Meter

A major weakness in Windows 9x/Me is the issue of free system resources (FSR ). FSR measures the remaining space in a 64KB segment of memory that is used by the Windows GDI.EXE and USER.EXE programs, which manage the display and objects drawn onscreen. FSR is reduced with every program, window, and object onscreen, and is not affected by the amount of RAM installed in your system. Over time, especially with many programs and windows opened, FSR can decline to a level of 15% or less. At 15% or less FSR, the computer can slow down, not permit you to open additional programs or windows, and you might see an illegal operations error.

Use the Windows 9x/Me Resource Meter (refer to Figure 20.2) to determine if your computer has enough FSRs to run reliably or allow you to load another program into memory. Click Start, Programs, Accessories, System Tools, Resource Meter to load the Resource Meter. If it is not already installed on your system, install it with the Add/Remove Programs icon in Control Panel.

To run Resource Meter automatically when you start your system with Windows 9x/Me, you can add a shortcut for Resource Meter to the Startup folder as discussed in Chapter 18.

Bluescreen Error (BSOD)

Systems that cannot start the Windows NT 4.0/2000/XP GUI will normally display a Stop error when the user attempts to start the system. This is also referred to as the Blue Screen of Death ( BSOD ) because the background is normally blue (or sometimes black) with the error message in white text.

BSOD errors can be caused by any of the following:

  • Incompatible or defective hardware or software ” Start the system in Safe Mode and uninstall the last hardware or software installed. Acquire updates before you reinstall the hardware or software. Exchange or test memory.

  • Registry problems ” Select Last Known Good Configuration as described earlier in this chapter and see if the system will start.

  • Viruses ” Scan for viruses and remove any discovered .

  • Miscellaneous causes ” Check the Windows Event Viewer and check the System log. Research the BSOD with the Microsoft Knowledge Base.

tip

graphics/tip_icon.gif

If you discover that your FSR at startup is under 70%, you might be loading programs you don't need. Use MSConfig to disable startup programs to increase FSR. From the Start menu, select Run, type MSConfig , and press Enter or click OK. Click the Startup tab to see a list of programs currently running on your computer. You might be surprised to find how many unnecessary programs your computer is running. You'll also be hard pressed to separate the necessary applications running on your PC from the unnecessary, resource hogs (spyware, adware, viruses, Trojans, you name it) unless you have a list of those application file names . Fortunately, just such a list exists at http://www.pacs-portal.co.uk/startup_pages/startup_full.php . Download the full zipped document, open it with an unzipping utility, and look up each of the applications running on your PC. Unless you keep a daily vigil on the applications running at startup, you're almost certain to find anywhere from a handful to more than a dozen nonessential ”and possibly dangerous ”programs running right under your nose. This Web page also has links to spyware eliminators and to an excellent discussion of startup programs in general.


 <  Day Day Up  >  


Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 310

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net