home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / oshttrp2.txt < prev    next >
Text File  |  1996-10-30  |  6KB  |  136 lines

  1. OSHTTRP2 - MEMORY PROBLEMS UNDER OS/2
  2. 02/07/96
  3.  
  4. =======================================================================
  5.              Memory Problems under OS/2--All OS/2 Releases
  6. =======================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. --------------------------------------------------------------
  10.  
  11. DESCRIPTION
  12.  
  13. Under OS/2, memory problems can cause a TRAP0002 or other TRAP error 
  14. messages. These traps and their associated register information can 
  15. vary, and usually occur intermittently.
  16.  
  17. A TRAP0002 message indicates that the operating system detected a 
  18. hardware memory-parity error on the system board or on an expansion 
  19. adapter.
  20.  
  21. Memory problems also can result in the following symptoms:
  22.  
  23. * Other intermittent lockups, traps, or IPEs
  24. * Intermittent application errors
  25. * "Snow" or similar on-screen noise corruption.
  26.  
  27. RESOLUTION
  28.  
  29. The common sources of these problems are:
  30.  
  31. * Mismatched memory, such as single in-line memory modules (SIMMs) of
  32.   differing speeds or from different manufacturers. This is the most
  33.   likely cause if you recently added RAM to the system, or if the
  34.   system is a "home-grown" or no-name clone assembled from various
  35.   parts. SIMMs of different classes (such as 1- by 3-bit and 1- by
  36.   9-bit SIMMs) should never be mixed. Also, 1- by 9-bit SIMMs are more
  37.   reliable than 1- by 3-bit SIMMs.
  38.  
  39. * Slow memories: Some 486 and higher systems require 60-ns or 70-ns RAM
  40.   chips.
  41.  
  42. * Cache problems and other memory parity errors.
  43.  
  44. Solutions include:
  45.  
  46. * Removing defective SIMMs
  47. * Replacing SIMMs
  48. * Reseating a PCMCIA DRAM card
  49. * Disabling shadow RAM
  50. * Disabling "hidden refresh" and "fast decode enable" if your system
  51.   has an AMI BIOS
  52. * Tuning wait states
  53. * Disabling cache during installation
  54. * Turning turbo switch off
  55.  
  56. OS/2 is a 32-bit operating system that handles data in 32-bit words,
  57. and some systems with timing problems might encounter problems with 
  58. OS/2. DOS and other operating systems do not stress a system's memory 
  59. the way OS/2 does. For example, DOS uses 1 MB of low memory, while OS/2
  60. is loaded into high memory that has never before been stressed by an 
  61. operating system. DOS is a single-task operating system, while OS/2 is 
  62. multitasking, which also stresses the memory in an OS/2 environment.
  63.  
  64. TRAP0002 errors almost always are memory-related, and other traps can 
  65. be too. Traps that occur intermittently or during heavy memory use, 
  66. such as the simultaneous use of multiple Windows applications, are 
  67. resolved by removing or replacing RAM.
  68.  
  69. On IBM hardware, possible causes of a TRAP0002 error include:
  70.  
  71. * 110 error: System-board memory-parity error
  72. * 111 error: Memory-expansion adapter parity error
  73. * 112 error: Watchdog timer error (could be hardware or software)
  74. * 113 error: DMA arbitration error (could be hardware or software)
  75.  
  76. The most common type of TRAP0002 error is caused by memory, but also 
  77. can be caused by a system board, a Micro Channel adapter failure, 
  78. timing problems, and other hardware errors, particularly those 
  79. associated with ISA bus-mastering adapters. A TRAP0002 error is rarely 
  80. caused by software errors, because software usually does not access 
  81. the processor's nonmaskable interrupt (NMI) line. The NMI line is set 
  82. when the system detects a memory parity error. A TRAP0002 error occurs 
  83. only when the NMI line is set.
  84.  
  85. When any trap occurs, especially a TRAP0002:
  86.  
  87. * Check the failing system for mismatched SIMMs from different
  88.   manufacturers or different classes.
  89.  
  90. * Make sure all RAM is of the same model and speed.
  91.  
  92. * Contact the suppliers of the RAM chips or the memory adapter to have
  93.   these components tested.
  94.  
  95. When a memory-expansion adapter is used, make sure the SIMMs on the 
  96. card are from the same manufacturer and are the same speed as those on 
  97. the motherboard. If a problem is traced to an expansion adapter, check 
  98. with the system's manufacturer to find out if the adapter is 
  99. recommended for your system. Because memory-parity errors are caused by
  100. timing-related problems, try placing the adapter in another slot to 
  101. reduce the distance between the adapter and the processor, and to
  102. reduce memory access time.
  103.  
  104. Make sure the memory wait states are matched to the speed of the
  105. processor bus. Some systems automatically tune these wait states;
  106. others let you change these settings, and still others require memory 
  107. of a certain rated speed or higher. A 486DX2/66 system has a 66-MHz 
  108. internal bus, but its external (processor) bus, which connects to the 
  109. memory and other system components, runs at 33 MHz. This system can 
  110. operate with zero wait states only if it is equipped with 60-ns, or 
  111. faster, RAM. If the system has 70-ns or 80-ns RAM, it must be set up 
  112. for one wait state. The processor speed relates to wait states as
  113. follows:
  114.  
  115.                                   Memory Speed Required
  116. Processor       Clock Period      for 0 Wait State     
  117. ---------       ------------      ---------------------
  118. 486DX/25          40 ns                 80 ns
  119. 486DX/33          30 ns                 60 ns
  120. 486DX/50          20 ns                 40 ns
  121.  
  122. Because the SIMM is precharged on one clock cycle and accessed on the 
  123. next, its speed rating is twice the period of the fastest clock rate 
  124. it can accommodate. If the clock period is less than half the SIMM's 
  125. rated speed, wait states must be introduced.
  126.  
  127. ______________________________________________________________________
  128. IBM disclaims all warranties, whether express or implied, including 
  129. without limitation, warranties of fitness and merchantability with 
  130. respect to the information in this document. By furnishing this 
  131. document, IBM grants no licenses to any related patents or copyrights.  
  132. Copyright (c) 1994, 1996 IBM Corporation. Any trademarks and product 
  133. or brand names referenced in this document are the property of their 
  134. respective owners. Consult your product manuals for complete trademark 
  135. information. 
  136.