Version 5 (modified by erwan, 7 years ago)

Adding memtest

Memory information

CLI mode

In the CLI (in any mode), you can see the memory banks via the show memory command:

hdt> show memory                                                                
Memory Banks                                                                    
 bank 00      : 128 MB RAM@                                                     

To have more information, enter the MEMORY mode via the memory command:

hdt> memory                                                                     

To inspect memory banks, use the show bank <number> command:

memory> show bank 0                                                             
Memory Bank 0                                                                   
 Form Factor  : DIMM                                                            
 Type         : RAM                                                             
 Type Detail  : None                                                            
 Speed        :                                                                 
 Size         : 128 MB                                                          
 Device Set   : None                                                            
 Device Loc.  : DIMM 0                                                          
 Bank Locator : Not Specified                                                   
 Total Width  : 64 bits                                                         
 Data Width   : 64 bits                                                         
 Error        : 0x0000                                                          
 Vendor       :                                                                 
 Serial       :                                                                 
 Asset Tag    :                                                                 
 Part Number  :                                                                 

8800h memory size can be obtained via show 88:

memory> show 88                                                                 
8800h memory size: 65472 Kb (63 MiB)

e801 map:

memory> show e801                                                               
e801: 15360 Kb (15 MiB) - 114688 Kb (112 MiB)

and e820 map:

memory> show e820                                                               
BIOS-provided physical RAM e820 map:                                            
0000000000000000 - 000000000009f000 000000000009f000 (usable)                   
000000000009f000 - 0000000000001000 00000000000a0000 (reserved)                 
00000000000e8000 - 0000000000018000 0000000000100000 (reserved)                 
0000000000100000 - 0000000007ef0000 0000000007ff0000 (usable)                   
0000000007ff0000 - 0000000000010000 0000000008000000 (ACPI reclaim)             
00000000fffbc000 - 0000000000004000 00000000fffc0000 (reserved)                 
00000000fffc0000 - 0000000000040000 0000000100000000 (reserved)                 

e820 memory map

e820 memory map e820 memory map

e801 memory map

e801 memory map e801 memory map

8800h memory size

8800h memory size 8800h memory size

Starting Memtest

Under the memory menu, it is possible to start memtest. To make it successful, you have to :

  • Download memtest here -> [1]
  • gunzip it
  • Setup in your current syslinux configuration file an entry like

Label memtest

linux memtest86+-2.11.bin

Make sure to use the keyword "linux", not "kernel"!

Then, when you'll select the memory test from the memory submenu, memtest will be launched.

Overloading memtest

The label name could be changed using the "memtest=<label>" boot option. Default value is set to "memtest".