Re: [RFC PATCH 2/3] support for broken memory modules (BadRAM)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 27, 2011 at 06:16:46PM +0200, Stefan Assmann wrote:
> BadRAM is a mechanism to exclude memory addresses (pages) from being used by
> the system. The addresses are given to the kernel via kernel command line.
> This is useful for systems with defective RAM modules, especially if the RAM
> modules cannot be replaced.
> 
> command line parameter: badram=<addr>,<mask>[,...]
> 
> Patterns for the command line parameter can be obtained by running Memtest86.
> In Memtest86 press "c" for configuration, select "Error Report Mode" and
> finally "BadRAM Patterns"
> 
> This has already been done by Rick van Rein a long time ago but it never found
> it's way into the kernel.

Looks good to me, except for the too verbose printks. Logging
every page this way will be very noisy for larger areas.

The mask will also only work for very simple memory interleaving
setups, so I suspect it won't work for a lot of modern systems
unless you go more fancy.

Longer term there should be also likely a better way to specify
these pages than the kernel command line, e.g. the new persistent
store on some systems.

-Andi

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]