home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Utilitare / memt86 / README.txt < prev   
Text File  |  2004-03-03  |  35KB  |  850 lines

  1.             ===================
  2.             = MemTest-86 v3.1 =
  3.             =   Mar 3, 2004   =
  4.             =   Chris Brady   =
  5.             ===================
  6.  
  7. Table of Contents
  8. =================
  9.   1) Introduction
  10.   2) Licensing
  11.   3) Installation
  12.   4) Serial Port Console
  13.   5) Online Commands
  14.   6) Memory Sizing
  15.   7) Error Display
  16.   8) Trouble-shooting Memory Errors
  17.   9) Execution Time
  18.  10) Memory Testing Philosophy
  19.  11) Memtest86 Test Algorithms
  20.  12) Individual Test Descriptions
  21.  13) Problem Reporting - Contact Information
  22.  14) Known Problems
  23.  15) Planned Features List
  24.  16) Change Log
  25.  17) Donations
  26.  18) Acknowledgments
  27.  
  28.  
  29. 1) Introduction
  30. ===============
  31. Memtest86 is thorough, stand alone memory test for Intel i386 architecture
  32. systems.  BIOS based memory tests are only a quick check and often miss
  33. failures that are detected by Memtest86.
  34.  
  35. For updates go to the Memtest86 web page:
  36.  
  37.     http://www.memtest86.com
  38.  
  39.  
  40. 2) Licensing
  41. ============
  42. Memtest86 is released under the terms of the Gnu Public License (GPL). Other
  43. than the provisions of the GPL there are no restrictions for use, private or
  44. commercial.  See: http://www.gnu.org/licenses/gpl.html for details.
  45. Explicit permission for inclusion of Memtest86 in software compilations and
  46. publications is hereby granted.
  47.  
  48.  
  49. 3) Installation (Linux Only)
  50. ============================
  51. Memtest86 is a stand alone program and can be loaded from either a disk
  52. partition or from a floppy disk.
  53.  
  54. Warning: Memtest86 must be compiled with gcc 2.96 or earlier. Exectuatbles
  55. compiled with gcc 3.0 or newer will not work. Use the precompiled version.
  56. Sorry! 
  57.  
  58. To build Memtest86:
  59.    1) Review the Makefile and adjust options as needed.
  60.    2) Type "make"
  61.  
  62. This creates a file named "memtest.bin" which is a bootable image.  This
  63. image file may be copied to a floppy disk or lilo may be used to boot this
  64. image from a hard disk partition.
  65.  
  66. To create a Memtest86 bootdisk
  67.    1) Insert a blank write enabled floppy disk.
  68.    2) As root, Type "make install"
  69.  
  70. To boot from a disk partition via lilo
  71.    1) Copy the image file to a permanent location (ie. /memtest).
  72.    2) Add an entry in the lilo config file (usually /etc/lilo.conf) to boot
  73.       memtest86.  Only the image and label fields need to be specified. 
  74.       The following is a sample lilo entry for booting memtest86:
  75.  
  76.     image = /memtest
  77.     label = memtest
  78.  
  79.    3) As root,  type "lilo"
  80.  
  81.       At the lilo prompt enter memtest to boot memtest86.
  82.  
  83. If you encounter build problems a binary image has been included (precomp.bin).
  84. To create a boot-disk with this pre-built image do the following:
  85.    1) Insert a blank write enabled floppy disk.
  86.    2) Type "make install-bin"
  87.  
  88.  
  89. 4) Serial Console
  90. =================
  91. Memtest86 can be used on PC's equipped with a serial port for the console.
  92. By default serial port console support is not enabled since it slows
  93. down testing.  To enable change the SERIAL_CONSOLE_DEFAULT define in
  94. config.h from a zero to a one.  The serial console baud rate may also
  95. be set in config.h with the SERIAL_BAUD_RATE define.  The other serial
  96. port settings are no parity, 8 data bits, 1 stop bit.  All of the features
  97. used by memtest86 are accessible via the serial console.  However, the
  98. screen sometimes is garbled when the online commands are used.
  99.  
  100.  
  101. 5) Online Commands
  102. ==================
  103. Memtest86 has a limited number of online commands.  Online commands
  104. provide control over caching, test selection, address range and error
  105. scrolling.  A help bar is displayed at the bottom of the screen listing
  106. the available on-line commands. 
  107.  
  108.   Command  Description
  109.  
  110.   ESC   Exits the test and does a warm restart via the BIOS.
  111.  
  112.   c     Enters test configuration menu
  113.         Menu options are:
  114.                1) Cache mode
  115.                2) Test selection
  116.            3) Address Range
  117.            4) Memory Sizing
  118.            5) Error Summary
  119.            6) Error Report Mode 
  120.            7) ECC Mode
  121.            8) Restart Test
  122.            9) Reprint Screen
  123.  
  124.   SP    Set scroll lock (Stops scrolling of error messages)
  125.     Note: Testing is stalled when the scroll lock is
  126.     set and the scroll region is full.
  127.  
  128.   CR    Clear scroll lock (Enables error message scrolling)
  129.  
  130.  
  131. 6) Memory Sizing
  132. ================
  133. The BIOS in modern PC's will often reserve several sections of memory for
  134. it's use and also to communicate information to the operating system (ie.
  135. ACPI tables).  It is just as important to test these reserved memory blocks
  136. as it is for the remainder of memory.  For proper operation all of memory
  137. needs to function properly regardless of what the eventual use is.  For
  138. this reason Memtest86 has been designed to test as much memory as is
  139. possible.
  140.  
  141. However, safely and reliably detecting all of the available memory has been
  142. problematic.  Versions of Memtest86 prior to v2.9 would probe to find where
  143. memory is. This works for the vast majority of motherboards but is not 100%
  144. reliable. Sometimes the memory size is incorrect and worse probing the wrong
  145. places can in some cases cause the test to hang or crash.  
  146.  
  147. Starting in version 2.9 alternative methods are available for determining the
  148. memory size. By default the test attempts to get the memory size from the
  149. BIOS using the "e820" method.  With "e820" the BIOS provides a table of memory
  150. segments and identifies what they will be used for.  By default Memtest86
  151. will test all of the ram marked as available and also the area reserved for
  152. the ACPI tables.  This is safe since the test does not use the ACPI tables
  153. and the "e820" specifications state that this memory may be reused after the
  154. tables have been copied.  Although this is a safe default some memory will
  155. not be tested.
  156.  
  157. Two additional options are available through online configuration options.
  158. The first option (BIOS-All) also uses the "e820" method to obtain a memory
  159. map.  However, when this option is selected all of the reserved memory
  160. segments are tested, regardless of what their intended use is.  The only
  161. exception is memory segments that begin above 3gb.  Testing has shown that
  162. these segments are typically not safe to test.  The BIOS-All option is more
  163. thorough but could be unstable with some motherboards.
  164.  
  165. The second option for memory sizing is the traditional "Probe" method.
  166. This is a very thorough but not entirely safe method.  In the majority of
  167. cases the BIOS-All and Probe methods will return the same memory map.
  168.  
  169. For older BIOS's that do not support the "e820" method there are two
  170. additional methods (e801 and e88) for getting the memory size from the
  171. BIOS.  These methods only provide the amount of extended memory that is
  172. available, not a memory table.  When the e801 and e88 methods are used
  173. the BIOS-All option will not be available.
  174.  
  175. The MemMap field on the display shows what memory size method is in use.
  176. Also the RsvdMem field shows how much memory is reserved and is not being
  177. tested.
  178.  
  179.  
  180. 7) Error Information
  181. ======================
  182. Memtest has two options for reporting errors.  The default is to report
  183. individual errors.  In BadRAM Patterns mode patterns are created for
  184. use with the Linux BadRAM feature.  This slick feature allows Linux to
  185. avoid bad memory pages.  Details about the BadRAM feature can be found at:
  186.  
  187.     http://home.zonnet.nl/vanrein/badram
  188.  
  189. For individual errors the following information is displayed when a memory
  190. error is detected.  An error message is only displayed for errors with a
  191. different address or failing bit pattern.  All displayed values are in
  192. hexadecimal.
  193.  
  194.   Tst:            Test number
  195.   Failing Address :    Failing memory address 
  196.   Good:            Expected data pattern 
  197.   Bad:            Failing data pattern 
  198.   Err-Bits:        Exclusive or of good and bad data (this shows the
  199.             position of the failing bit(s))
  200.   Count:        Number of consecutive errors with the same address
  201.             and failing bits
  202.  
  203. In BadRAM Patterns mode, Lines are printed in a form badram=F1,M1,F2,M2.
  204. In each F/M pair, the F represents a fault address, and the corresponding M
  205. is a bitmask for that address. These patterns state that faults have
  206. occurred in addresses that equal F on all "1" bits in M. Such a pattern may
  207. capture more errors that actually exist, but at least all the errors are
  208. captured. These patterns have been designed to capture regular patterns of
  209. errors caused by the hardware structure in a terse syntax.
  210.  
  211. The BadRAM patterns are `grown' increment-ally rather than `designed' from an
  212. overview of all errors. The number of pairs is constrained to five for a
  213. number of practical reasons. As a result, handcrafting patterns from the
  214. output in address printing mode may, in exceptional cases, yield better
  215. results.
  216.  
  217.  
  218. 8) Trouble-shooting Memory Errors
  219. ================================
  220. Please be aware that not all errors reported by Memtest86 are due to
  221. bad memory. The test implicitly tests the CPU, L1 and L2 caches as well as
  222. the motherboard.  It is impossible for the test to determine what causes
  223. the failure to occur.  Most failures will be due to a problem with memory.
  224. When it is not, the only option is to replace parts until the failure is
  225. corrected.  
  226.  
  227. Once a memory error has been detected, determining the failing
  228. module is not a clear cut procedure.  With the large number of motherboard
  229. vendors and possible combinations of simm slots it would be difficult if
  230. not impossible to assemble complete information about how a particular
  231. error would map to a failing memory module.  However, there are steps
  232. that may be taken to determine the failing module.  Here are three
  233. techniques that you may wish to use:
  234.  
  235. 1) Removing modules
  236. This is simplest method for isolating a failing modules, but may only be
  237. employed when one or more modules can be removed from the system.  By
  238. selectively removing modules from the system and then running the test
  239. you will be able to find the bad module(s).  Be sure to note exactly which
  240. modules are in the system when the test passes and when the test fails.
  241.  
  242. 2) Rotating modules
  243. When none of the modules can be removed then you may wish to rotate modules
  244. to find the failing one.  This technique can only be used if there are
  245. three or more modules in the system.  Change the location of two modules
  246. at a time.  For example put the module from slot 1 into slot 2 and put
  247. the module from slot 2 in slot 1.  Run the test and if either the failing
  248. bit or address changes then you know that the failing module is one of the
  249. ones just moved. By using several combinations of module movement you
  250. should be able to determine which module is failing.
  251.  
  252. 3) Replacing modules
  253. If you are unable to use either of the previous techniques then you are
  254. left to selective replacement of modules to find the failure.  
  255.  
  256. 4) Avoiding allocation
  257. The printing mode for BadRAM patterns is intended to construct boot time
  258. parameters for a Linux kernel that is compiled with BadRAM support. This
  259. work-around makes it possible for Linux to reliably run on defective
  260. RAM.  For more information on BadRAM support
  261. for Linux, sail to
  262.  
  263.        http://home.zonnet.nl/vanrein/badram
  264.  
  265. Sometimes memory errors show up due to component incompatibility.  A memory
  266. module may work fine in one system and not in another.  This is not
  267. uncommon and is a source of confusion.  The components are not necessarily
  268. bad but certain combinations may need to be avoided.
  269.  
  270. I am often asked about the reliability of errors reported by Mestest86.
  271. In the vast majority of cases errors reported by the test are valid.
  272. There are some systems that cause Memtest86 to be confused about the size of
  273. memory and it will try to test non-existent memory.  This will cause a large
  274. number of consecutive addresses to be reported as bad and generally there
  275. will be many bits in error.  If you have a relatively small number of
  276. failing addresses and only one or two bits in error you can be certain
  277. that the errors are valid.  Also intermittent errors are always valid.
  278.  
  279. All valid memory errors should be corrected.  It is possible that a
  280. particular error will never show up in normal operation. However, operating
  281. with marginal memory is risky and can result in data loss and even
  282. disk corruption.  You can be sure that Murphy will get you if you know
  283. about a memory error and ignore it.
  284.  
  285. Memtest86 can not diagnose many types of PC failures.  For example a
  286. faulty CPU that causes Windows to crash will most likely just cause
  287. Memtest86 to crash in the same way.
  288.  
  289.  
  290. 9) Execution Time
  291. ==================
  292. The time required for a complete pass of Memtest86 will vary greatly
  293. depending on CPU speed, memory speed and memory size.  Here are the
  294. execution times from a Cleron-366 with 64MB of SDRAM:
  295.  
  296.   Test 0:     0:05
  297.   Test 1:     0:18
  298.   Test 2:     1:02
  299.   Test 3:     1:38
  300.   Test 4:     8:05
  301.   Test 5:     1:40
  302.   Test 6:     4:24
  303.   Test 7:     6:04
  304.  
  305.   Total Time for Default tests:  23:16
  306.  
  307.   Test 8:     12:30
  308.   Test 9:     49:30
  309.   Test 10:    30:34
  310.   Test 11:  3:29:40
  311.  
  312.   Total Time for All tests:  5:25:30
  313.  
  314.  
  315. 10) Memory Testing Philosophy
  316. =============================
  317. There are many good approaches for testing memory.  However, many tests
  318. simply throw some patterns at memory without much thought or knowledge
  319. of the memory architecture or how errors can best be detected. This
  320. works fine for hard memory failures but does little to find intermittent
  321. errors. BIOS based memory tests are useless for finding intermittent
  322. memory errors.
  323.  
  324. Memory chips consist of a large array of tightly packed memory cells,
  325. one for each bit of data.  The vast majority of the intermittent failures
  326. are a result of interaction between these memory cells.  Often writing a
  327. memory cell can cause one of the adjacent cells to be written with the
  328. same data. An effective memory test attempts to test for this
  329. condition. Therefore, an ideal strategy for testing memory would be
  330. the following:
  331.  
  332.   1) write a cell with a zero
  333.   2) write all of the adjacent cells with a one, one or more times
  334.   3) check that the first cell still has a zero
  335.  
  336. It should be obvious that this strategy requires an exact knowledge
  337. of how the memory cells are laid out on the chip.  In addition there is a
  338. never ending number of possible chip layouts for different chip types
  339. and manufacturers making this strategy impractical.  However, there
  340. are testing algorithms that can approximate this ideal strategy. 
  341.  
  342.  
  343. 11) Memtest86 Test Algorithms
  344. =============================
  345. Memtest86 uses two algorithms that provide a reasonable approximation
  346. of the ideal test strategy above.  The first of these strategies is called
  347. moving inversions.  The moving inversion test works as follows:
  348.  
  349.   1) Fill memory with a pattern
  350.   2) Starting at the lowest address
  351.     2a check that the pattern has not changed
  352.     2b write the patterns complement
  353.     2c increment the address
  354.     repeat 2a - 2c
  355.   3) Starting at the highest address
  356.     3a check that the pattern has not changed
  357.     3b write the patterns complement
  358.     3c decrement the address
  359.     repeat 3a - 3c
  360.  
  361. This this algorithm is a good approximation of an ideal memory test but
  362. there are some limitations.  Most high density chips today store data
  363. 4 to 16 bits wide.  With chips that are more than one bit wide it
  364. is impossible to selectively read or write just one bit.  This means
  365. that we cannot guarantee that all adjacent cells have been tested
  366. for interaction.  In this case the best we can do is to use some
  367. patterns to insure that all adjacent cells have at least been written
  368. with all possible one and zero combinations.
  369.  
  370. It can also be seen that caching, buffering and out of order execution
  371. will interfere with the moving inversions algorithm and make less effective.
  372. It is possible to turn off cache but the memory buffering in new high
  373. performance chips can not be disabled.  To address this limitation a new
  374. algorithm I call Modulo-X was created.  This algorithm is not affected by
  375. cache or buffering.  The algorithm works as follows:
  376.   1) For starting offsets of 0 - 20 do
  377.     1a write every 20th location with a pattern
  378.     1b write all other locations with the patterns complement
  379.        repeat 1b one or more times
  380.     1c check every 20th location for the pattern
  381.  
  382. This algorithm accomplishes nearly the same level of adjacency testing
  383. as moving inversions but is not affected by caching or buffering.  Since
  384. separate write passes (1a, 1b) and the read pass (1c) are done for all of
  385. memory we can be assured that all of the buffers and cache have been
  386. flushed between passes.  The selection of 20 as the stride size was somewhat
  387. arbitrary.  Larger strides may be more effective but would take longer to
  388. execute.  The choice of 20 seemed to be a reasonable compromise between
  389. speed and thoroughness.
  390.  
  391.  
  392. 12) Individual Test Descriptions
  393. ================================
  394. Memtest86 executes a series of numbered test sections to check for
  395. errors.  These test sections consist of a combination of test
  396. algorithm, data pattern and caching. The execution order for these tests
  397. were arranged so that errors will be detected as rapidly as possible.
  398. Tests 8, 9, 10, 11 and 12 are very long running extended tests and are only
  399. executed when extended testing is selected.  The extended tests have a
  400. low probability of finding errors that were missed by the default tests.
  401. A description of each of the test sections follows:
  402.  
  403. Test 0 [Address test, walking ones, no cache]
  404.   Tests all address bits in all memory banks by using a walking ones
  405.   address pattern.  Errors from this test are not used to calculate
  406.   BadRAM patterns.
  407.  
  408. Test 1 [Moving Inv, ones&zeros, cached]
  409.   This test uses the moving inversions algorithm with patterns of only
  410.   ones and zeros.  Cache is enabled even though it interferes to some
  411.   degree with the test algorithm.  With cache enabled this test does not
  412.   take long and should quickly find all "hard" errors and some more
  413.   subtle errors.  This section is only a quick check.
  414.  
  415. Test 2 [Address test, own address, no cache]
  416.   Each address is written with its own address and then is checked
  417.   for consistency.  In theory previous tests should have caught any
  418.   memory addressing problems.  This test should catch any addressing
  419.   errors that somehow were not previously detected.
  420.  
  421. Test 3 [Moving inv, 8 bit pat, cached]
  422.   This is the same as test 1 but uses a 8 bit wide pattern of
  423.   "walking" ones and zeros.  This test will better detect subtle errors
  424.   in "wide" memory chips.  A total of 20 data patterns are used.
  425.   
  426. Test 4 [Moving inv, 32 bit pat, cached]
  427.   This is a variation of the moving inversions algorithm that
  428.   shifts the data pattern left one bit for each successive address.
  429.   The starting bit position is shifted left for each pass.  To use
  430.   all possible data patterns 32 passes are required.  This test is
  431.   very effective at detecting data sensitive errors in "wide" memory
  432.   chips.
  433.  
  434. Test 5 [Block move, 64 moves, cached]
  435.   This test stresses memory by using block move (movsl) instructions
  436.   and is based on Robert Redelmeier's burnBX test.  Memory is initialized
  437.   with shifting patterns that are inverted every 8 bytes.  Then 4MB blocks
  438.   of memory are moved around using the movsl instruction.  After the moves
  439.   are completed the data patterns are checked.  Because the data is checked
  440.   only after the memory moves are completed it is not possible to know
  441.   where the error occurred.  The addresses reported are only for where the
  442.   bad pattern was found.  Since the moves are constrained to a 8MB segment
  443.   of memory the failing address will always be lest than 8MB away from the
  444.   reported address.  Errors from this test are not used to calculate
  445.   BadRAM patterns.
  446.  
  447. Test 6 [Modulo 20, ones&zeros, cached]
  448.   Using the Modulo-X algorithm should uncover errors that are not
  449.   detected by moving inversions due to cache and buffering interference
  450.   with the the algorithm.  As with test one only ones and zeros are
  451.   used for data patterns.
  452.  
  453. Test 7 [Moving inv, ones&zeros, no cache]
  454.   This is the same as test one but without cache.  With cache off
  455.   there will be much less interference with the test algorithm.
  456.   However, the execution time is much, much longer.  This test may
  457.   find very subtle errors missed by tests one and two.
  458.  
  459. Test 8 [Block move, 512 moves, cached]
  460.   This is the same as test #5 except that we do a lot more memory moves
  461.   before checking memory. Errors from this test are not used to calculate
  462.   BadRAM patterns.
  463.  
  464. Test 9 [Moving inv, 8 bit pat, no cache]
  465.   This is the first extended test.  By using an 8 bit pattern with
  466.   cache off this test should be effective in detecting all types of
  467.   errors.  However, it takes a very long time to execute and there is
  468.   a low probability that it will detect errors not found by the previous
  469.   tests.
  470.  
  471. Test 10 [Modulo 20, 8 bit, cached]
  472.   This is the first test to use the modulo 20 algorithm with a data
  473.   pattern other than ones and zeros.  This combination of algorithm and
  474.   data pattern should be quite effective.  However, it's very long
  475.   execution time relegates it to the extended test section.
  476.  
  477. Test 11 [Moving inv, 32 bit pat, no cache]
  478.   This test should be the most effective in finding errors that are
  479.   data pattern sensitive.  However, without cache it's execution time
  480.   is excessively long.
  481.  
  482. Test 12 [Bit fade test, 2 hour, 2 patterns]
  483.   The bit fade test initializes all of memory with a pattern and then
  484.   sleeps for a long time (default is 1 hour). Then memory is examined to
  485.   see if any memory bits have changed. All ones and all zero patterns are
  486.   used. Since this test takes 4+ hours to complete plan to let this one run
  487.   overnight.
  488.  
  489.  
  490. 13) Problem Reporting - Contact Information
  491. ===========================================
  492. Due to the growing popularity of Memtest86 (more than 100,000 downloads per
  493. month) I have been inundated by, questions, feedback, problem reports and
  494. requests for enhancements. I simply do not have time to repond to ANY Memtest86
  495. emails. Bug reports and suggestions are welcome but will typically not be
  496. responded to.
  497.  
  498. Problems/Bugs:
  499. Before submitting a problem report please check the Known Problems section
  500. to see if this problem has already been reported.  Be sure to include the
  501. version number and also any details that may be relevant.
  502.  
  503. Chris Brady, Email: bugs@cray.com
  504.  
  505. With some PC's Memtest86 will just die with no hints as to what went wrong.
  506. Without any details it is impossible to fix these failures.  Fixing these
  507. problems will require debugging on your part. There is no point in reporting
  508. these failures unless you have a Linux system and would be willing to debug
  509. the failure.
  510.  
  511. Enhancements:
  512. If you would like to request an enhancement please see if is already on
  513. the Planned Features List before sending your request.  All requests will
  514. be considered, but not all can be implemented.  If you are be interested in
  515. contributing code please contact me so that the integration can be
  516. co-ordinated.
  517.  
  518. Chris Brady, Email: enhance@cray.com
  519.  
  520. Questions:
  521. Unfortunately, I do not have time to respond to any questions or provide
  522. assistance with troubleshooting problems. Please read the Troubleshooting
  523. and Known Problems sections for assistance with problems. These sections have
  524. the answers for the questions that I have answers to. If there is not an
  525. answer for your problem in these sections it is probably not something I can
  526. help you with.
  527.  
  528.  
  529.  
  530. 14) Known Problems
  531. ==================
  532. Sometimes when booting from a floppy disk the following messages scroll up
  533. on the screen:
  534.         X:8000
  535.         AX:0212
  536.         BX:8600
  537.         CX:0201
  538.         DX:0000
  539. This the BIOS reporting floppy disk read errors.  Either re-write or toss
  540. the floppy disk.
  541.  
  542. Memtest86 has no support for multiple CPUs.  Memtest86 should run
  543. without problems, but it will only use one CPU.
  544.  
  545. Memtest86 can not diagnose many types of PC failures.  For example a
  546. faulty CPU that causes Windows to crash will most likely just cause
  547. Memtest86 to crash in the same way.
  548.  
  549. There have been numerous reports of errors in only tests 5 and 8 on Athlon
  550. systems.  Often the memory works in a different system or the vendor insists
  551. that it is good.  In these cases the memory is not necessarily bad but is
  552. not able to operate reliably at Athlon speeds.  Sometimes more conservative
  553. memory timings on the motherboard will correct these errors.  In other
  554. cases the only option is to replace the memory with better quality, higher
  555. speed memory.  Don't buy cheap memory and expect it to work with an Athlon!
  556.  
  557. Memtest86 supports all types of memory.  If fact the test has absolutely
  558. no knowledge of the memory type nor does it need to.  This not a problem
  559. or bug but is listed here due to the many questions I get about this issue.
  560.  
  561. Changes in the compiler and loader have caused problems with
  562. Memtest86 resulting in both build failures and errors in execution.  A
  563. binary image (precomp.bin) of the test is included and may be used if
  564. problems are encountered.
  565.  
  566. 15) Planned Features List
  567. =========================
  568. This is a list of enhancements planned for future releases of Memtest86.
  569. There is no timetable for when these will be implemented, if ever.
  570.  
  571.   - Option to allow printing of error information on an attached printer.
  572.   - Option to write error information to a floppy disk.
  573.   - Supply Memtest in RPM format.
  574.   - Read and display RAM SPD information.
  575.  
  576.  
  577. 16) Change Log
  578. ==============
  579. Enhancements in v3.1 (03/Mar/2004)
  580.  
  581.    Added processor detection for newer AMD processors.
  582.  
  583.    Added new "Bit Fade" extended test.
  584.  
  585.    Fixed a complile time bug with gcc version 3.x.
  586.  
  587. Enhancements in v3.0 (22/May/2002) Provided by Eric Biederman
  588.  
  589.    Testing of more than 2gb of memory is at last fixed (tested with 6Gb)
  590.  
  591.    The infrastructure is to poll ecc error reporting chipset regisets,
  592.    and the support has been done for some chipsets.
  593.  
  594.    Uses dynamic relocation information records to make itself PIC
  595.    instead of requiring 2 copies of memtest86 in the binary.
  596.  
  597.    The serial console code does not do redundant writes to the serial port
  598.    Very little slow down at 9600 baud.
  599.  
  600.    You can press ^l or just l to get a screen refresh, when you are
  601.    connecting and unconnecting a serial cable.
  602.  
  603.    Netbooting is working again
  604.  
  605.    LinuxBIOS support (To get the memory size)
  606.  
  607.    Many bugfixes and code cleanup.
  608.  
  609. Enhancements in v2.9 (29/Feb/2002)
  610.  
  611.    The memory sizing code has been completely rewritten.  By default
  612.    Memtest86 gets a memory map from the BIOS that is now used to find 
  613.    available memory. A new online configuration option provides three
  614.    choices for how memory will be sized, including the old "probe" method.
  615.    The default mode generally will not test all of memory, but should be more
  616.    stable. See the "Memory Sizing" section for details.
  617.  
  618.    Testing of more than 2gb of memory should now work.  A number of bugs
  619.    were found and corrected that prevented testing above 2gb.  Testing
  620.    with more than 2gb has been limited and there could be problems with a
  621.    full 4gb of memory.
  622.  
  623.    Memory is divided into segments for testing.  This allow for frequent
  624.    progress updates and responsiveness to interactive commands.  The
  625.    memory segment size has been increased from 8 to 32mb.  This should
  626.    improve testing effectivness but progress reports will be less frequent.
  627.  
  628.    Minor bug fixes.
  629.  
  630. Enhancements in v2.8 (18/Oct/2001)
  631.    Eric Biederman reworked the build process making it far simpler and also
  632.    to produce a network bootable ELF image.
  633.  
  634.    Re-wrote the memory and cache speed detection code.  Previously the
  635.    reported numbers were inaccurate for intel CPU's and completely wrong
  636.    for Athlon/Duron CPU's.
  637.  
  638.    By default the serial console is disabled since this was slowing
  639.    down testing.
  640.  
  641.    Added CPU detection for Pentium 4.
  642.  
  643.    
  644. Enhancements in v2.7 (12/Jul/2001)
  645.    Expanded workaround for errors caused by BIOS USB keyboard support to
  646.    include test #5.
  647.  
  648.    Re-worked L1 / L2 cache detection code to provide clearer reporting.
  649.  
  650.    Fixed an obvious bug in the computation of cache and memory speeds.
  651.  
  652.    Changed on-line menu to stay in the menu between option selections.
  653.  
  654.    Fixed bugs in the test restart and redraw code.
  655.  
  656.    Adjusted code size to fix compilation problems with RedHat 7.1.
  657.  
  658.    Misc updates to the documentation.
  659.  
  660. Enhancements in v2.6 (25/May/2001)
  661.    Added workaround for errors caused by BIOS USB keyboard support.
  662.  
  663.    Fixed problems with reporting of 1 GHZ + processor speeds.
  664.  
  665.    Fixed Duron cache detection.
  666.  
  667.    Added screen buffer so that menus will work correctly from a serial
  668.    console.
  669.  
  670.    The Memtest86 image is now built in ELF format.
  671.  
  672. Enhancements in v2.5 (14/Dec/00)
  673.    Enhanced CPU and cache detection to correctly identify Duron CPU
  674.    and K6-III 1MB cache.
  675.  
  676.    Added code to report cache-able memory size.
  677.  
  678.    Added limited support for parity memory.
  679.  
  680.    Support was added to allow use of on-line commands from a serial
  681.    port.
  682.  
  683.    Dropped option for changing refresh rates.  This was not useful
  684.    and did not work on newer motherboards.
  685.  
  686.    Improved fatal exception reporting to include a register and stack
  687.    dump.
  688.  
  689.    The pass number is now displayed in the error report.
  690.  
  691.    Fixed a bug that crashed the test when selecting one of the extended
  692.    tests.
  693.  
  694. Enhancements in v2.4
  695.    The error report format was reworked for better clarity and now
  696.    includes a decimal address in megabytes.
  697.  
  698.    A new memory move test was added (from Robert Redelmeier's CPU-Burn)
  699.  
  700.    The test sequence and iterations were modified.
  701.  
  702.    Fixed scrolling problems with the BadRAM patterns.
  703.  
  704.  
  705. Enhancements in v2.3
  706.    A progress meter was added to replace the spinner and dots.
  707.  
  708.    Measurement and reporting of memory and cache performance  
  709.    was added.
  710.  
  711.    Support for creating BadRAM patterns was added.
  712.  
  713.    All of the test routines were rewritten in assembler to
  714.    improve both test performance and speed.
  715.  
  716.    The screen layout was reworked to hopefully be more readable.
  717.  
  718.    An error summary option was added to the online commands.
  719.  
  720.  
  721. Enhancements in v2.2
  722.    Added two new address tests
  723.  
  724.    Added an on-line command for setting test address range
  725.  
  726.    Optimized test code for faster execution (-O3, -funroll-loops and
  727.     -fomit-frame-pointer)
  728.  
  729.    Added and elapsed time counter.
  730.  
  731.    Adjusted menu options for better consistency
  732.  
  733.  
  734. Enhancements in v2.1
  735.    Fixed a bug in the CPU detection that caused the test to
  736.    hang or crash with some 486 and Cryrix CPU's
  737.  
  738.    Added CPU detection for Cyrix CPU's
  739.  
  740.    Extended and improved CPU detection for Intel and AMD CPU's
  741.  
  742.    Added a compile time option (BIOS_MEMSZ) for obtaining the last
  743.    memory address from the BIOS.  This should fix problems with memory
  744.    sizing on certain motherboards.  This option is not enabled by default.
  745.    It may be enabled be default in a future release.
  746.  
  747. Enhancements in v2.0
  748.    Added new Modulo-20 test algorithm.
  749.  
  750.    Added a 32 bit shifting pattern to the moving inversions algorithm.
  751.  
  752.    Created test sections to specify algorithm, pattern and caching.
  753.  
  754.    Improved test progress indicators.
  755.  
  756.    Created  popup menus for configuration.
  757.  
  758.    Added menu for test selection.
  759.  
  760.    Added CPU and cache identification.
  761.  
  762.    Added a "bail out" feature to quit the current test when it does not
  763.    fit the test selection parameters.
  764.  
  765.    Re-arranged the screen layout and colors.
  766.  
  767.    Created local include files for I/O and serial interface definitions
  768.    rather than using the sometimes incompatible system include files. 
  769.  
  770.    Broke up the "C" source code into four separate source modules.
  771.  
  772. Enhancements in v1.5
  773.    Some additional changes were made to fix obscure memory sizing
  774.    problems.
  775.  
  776.    The 4 bit wide data pattern was increased to 8 bits since 8 bit
  777.    wide memory chips are becoming more common.
  778.  
  779.    A new test algorithm was added to improve detection of data
  780.    pattern sensitive errors. 
  781.  
  782.  
  783. Enhancements in v1.4
  784.    Changes to the memory sizing code to avoid problems with some
  785.    motherboards where memtest would find more memory than actually
  786.    exists.
  787.  
  788.    Added support for a console serial port. (thanks to Doug Sisk)
  789.  
  790.    On-line commands are now available for configuring Memtest86 on
  791.    the fly (see On-line Commands).
  792.     
  793.  
  794. Enhancements in v1.3
  795.    Scrolling of memory errors is now provided.  Previously, only one screen
  796.    of error information was displayed.
  797.  
  798.    Memtest86 can now be booted from any disk via lilo.
  799.  
  800.    Testing of up to 4gb of memory has been fixed is now enabled by default.
  801.    This capability was clearly broken in v1.2a and should work correctly
  802.    now but has not been fully tested (4gb PC's are a bit rare).
  803.  
  804.    The maximum memory size supported by the motherboard is now being
  805.    calculated correctly.  In previous versions there were cases where not
  806.    all of memory would be tested and the maximum memory size supported
  807.    was incorrect.
  808.  
  809.    For some types of failures the good and bad values were reported to be
  810.    same with an Xor value of 0.  This has been fixed by retaining the data
  811.    read from memory and not re-reading the bad data in the error reporting
  812.    routine.
  813.  
  814.    APM (advanced power management) is now disabled by Memtest86.  This
  815.    keeps the screen from blanking while the test is running.
  816.  
  817.    Problems with enabling & disabling cache on some motherboards have been
  818.    corrected.
  819.  
  820.  
  821. 17) Donations
  822. =============
  823. With considerable reluctance I am resorting to a low key solicitation for
  824. donations.  It never has been my intent to profit from this program and I am
  825. pleased that Memtest86 has been helpful.  However, the time required to
  826. support this program has grown significantly.  I also have the modest
  827. cost of hosting this web-site that I would like to recover.  So if you find
  828. Memtest86 useful and you feel inclined to make a small PayPal donation please
  829. do so.  Use "chris@memtest86.com" for the recipient.
  830.  
  831.  
  832. 18) Acknowledgments
  833. ===================
  834. Memtest86 was developed by Chris Brady with the resources and assistance
  835. listed below:
  836.  
  837. - The initial versions of the source files bootsect.S, setup.S, head.S and
  838.   build.c are from the Linux 1.2.1 kernel and have been heavily modified.
  839.  
  840. - Doug Sisk provided code to support a console connected via a serial port.
  841.  
  842. - Code to create BadRAM patterns was provided by Rick van Rein.
  843.  
  844. - Tests 5 and 8 are based on Robert Redelmeier's burnBX test.
  845.  
  846. - Screen buffer code was provided by Jani Averbach.
  847.  
  848. - Eric Biederman provided all of the feature content for version 3.0
  849.   plus many bugfixes and significant code cleanup.
  850.