]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/bad_memory.txt
docs-rst: add documents to development-process
[karo-tx-linux.git] / Documentation / bad_memory.txt
1 How to deal with bad memory e.g. reported by memtest86+ ?
2 =========================================================
3
4 March 2008
5 Jan-Simon Moeller, dl9pf@gmx.de
6
7
8
9 There are three possibilities I know of:
10
11 1) Reinsert/swap the memory modules
12
13 2) Buy new modules (best!) or try to exchange the memory
14    if you have spare-parts
15
16 3) Use BadRAM or memmap
17
18 This Howto is about number 3) .
19
20
21 BadRAM
22 ######
23
24 BadRAM is the actively developed and available as kernel-patch
25 here:  http://rick.vanrein.org/linux/badram/
26
27 For more details see the BadRAM documentation.
28
29 memmap
30 ######
31
32 memmap is already in the kernel and usable as kernel-parameter at
33 boot-time.  Its syntax is slightly strange and you may need to
34 calculate the values by yourself!
35
36 Syntax to exclude a memory area (see kernel-parameters.txt for details)::
37
38         memmap=<size>$<address>
39
40 Example: memtest86+ reported here errors at address 0x18691458, 0x18698424 and
41 some others. All had 0x1869xxxx in common, so I chose a pattern of
42 0x18690000,0xffff0000.
43
44 With the numbers of the example above::
45
46         memmap=64K$0x18690000
47
48 or::
49
50         memmap=0x10000$0x18690000
51