home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / HTTRP2.FAX < prev    next >
Text File  |  1995-01-16  |  5KB  |  119 lines

  1. OSHTTRP2 - MEMORY PROBLEMS
  2. 10/20/94
  3.  
  4. ================================================================
  5.            MEMORY PROBLEMS
  6. ================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. ----------------------------------------------------------------
  10.  
  11. Under OS/2, memory problems can cause a TRAP0002 or other TRAP error
  12. message.  These traps and their associated register information may
  13. vary, and usually occur intermittently.  A trap 2 message
  14. indicates that the operating system has detected a hardware memory
  15. parity error on the system board or on an expansion card.  Memory
  16. problems may also result in the following symptoms:
  17.  
  18. -  Other intermittent hangs, traps, or IPEs
  19. -  Intermittent application errors
  20. -  "Snow" or similar on-screen noise corruption.
  21.  
  22. The common sources of these problems include:
  23.  
  24. Mismatched memory, such as Single In-line Memory Modules (SIMMs)
  25. of differing speeds or from different manufacturers.  This is
  26. most likely if you recently added RAM to the system, or if the
  27. system is a "home-grown" or no-name clone assembled from various
  28. parts.  SIMMs of different classes (such as 1x3-bit SIMMs and
  29. 1x9-bit SIMMs) should never be mixed.  Also, 1x9-bit SIMMs are
  30. more reliable than 1x3-bit SIMMs.
  31.  
  32. Slow memories:  Some 486 and higher systems require 60ns or 70ns
  33. RAM chips.
  34.  
  35. Cache problems and other memory parity errors.
  36.  
  37. Solutions include:
  38.  
  39. -  Remove defective SIMMs
  40. -  Replace SIMMs
  41. -  Re-seat PCMCIA DRAM card
  42. -  Disable shadow RAM
  43. -  If the user has an AMI BIOS, disable "hidden refresh" and
  44.    "fast decode enable"
  45. -  Tune wait states
  46. -  Disable cache during installation
  47. -  Turning turbo switch off
  48.  
  49. OS/2 2.x is a 32-bit operating system that handles data in 32-bit
  50. words, and some systems with timing problems may encounter
  51. problems with OS/2.  DOS and other operating systems do not
  52. stress a system's memory the way that OS/2 does.  For example,
  53. the DOS operating system uses 1M of low memory, while OS/2 is
  54. loaded into high memory that has never before been stressed by
  55. an operating system.  DOS is a single-task operating system
  56. while OS/2 is multitasking which also stresses the memory in an
  57. OS/2 environment.
  58.  
  59. Trap 2 errors are almost always memory related.  Other traps may
  60. also be memory related.  Traps that occur intermittently or
  61. during heavy memory utilization, such as the simultaneous usage
  62. of multiple Windows applications, are resolved by RAM removal
  63. and/or replacement.
  64.  
  65. On IBM hardware,  possible causes of a Trap 2 error include:
  66.  
  67. 110 error: System board memory parity error
  68. 111 error: Memory expansion adapter parity error
  69. 112 error: Watchdog timer error (could be hardware or software)
  70. 113 error: DMA arbitration error (could be hardware or software)
  71.  
  72. The most common type of Trap 2 error is caused by memory, but may
  73. also be caused by a system board, a Micro Channel adapter
  74. failure, timing problems, and and other hardware errors,
  75. particularly those associated with ISA bus-mastering adapters.  A
  76. Trap 2 is rarely caused by software errors because software
  77. usually does access to the processor's NMI line.  The NMI line is
  78. set when the system detects a memory partiy error.  A Trap 2
  79. occurs only when the NMI line is set.
  80.  
  81. When any trap occurs, especially a Trap 2:
  82.  
  83.  - Check the failing system for mismatched memory SIMMs from
  84.    different manufacturers or different classes.
  85.  - Ensure all RAM is of the same model and speed.
  86.  - Contact the suppliers of the RAM chips or the memory adapter
  87.    to have these components tested.
  88.  
  89. When a memory expansion card is used, make sure the SIMMs on the
  90. card are from the same manufacturer and are the same speed as
  91. those on the motherboard.  If a problem is traced to an expansion
  92. card, check with the system's manufacturer to find out if the
  93. card is a recommended model for your system.  Since memory parity
  94. errors are caused by timing related problems, try placing the
  95. card in another slot to reduce the distance between the card and
  96. the processor and to reduce memory access time.
  97.  
  98. Make sure the memory wait states are matched to the speed of the
  99. processor bus.  Some systems automatically tune these wait
  100. states, others let you change these settings, and still others
  101. require memory of a certain rated speed or higher.  A 486DX2/66
  102. system has a 66MHz internal bus, but its external (processor)
  103. bus, that connects to the memory and other system components,
  104. runs at 33MHz.  This system can operate with zero wait states
  105. only if it is equipped with 60ns RAM or faster.  If the system is
  106. equipped with 70ns or 80ns RAM, then it must be set up for one
  107. wait state.  The processor speed relates to wait states as
  108. follows:
  109.  
  110. Processor       Clock Period      Memory Speed Required for 0 WS
  111. 486DX/25          40ns                       80ns
  112. 486DX/33          30ns                       60ns
  113. 486DX/50          20ns                       40ns
  114.  
  115. Because the SIMM is precharged on one clock cycle and accessed on
  116. the next, its speed rating is two times the period of the fastest
  117. clock rate it can accomodate.  If the clock period is less than half
  118. of the SIMMs rated speed, then wait states must be introduced.
  119.