Re: [PATCH] x86_64: early memtest to find bad ram

From: Yinghai Lu
Date: Fri Mar 21 2008 - 15:08:40 EST


On Fri, Mar 21, 2008 at 6:08 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> Ingo Molnar wrote:
> >
> > very nice patch! I always thought that this was the proper way to do
> > memtest - and we could in fact also do something like this after SMP
> > bringup, and hit the memory bus via multiple CPUs. [that will need a
> > different enumeration though than e820 maps]
> >
> > one structural observation: please make this unified functionality, so
> > that 32-bit kernels can make use of it too.
> >
>
> Indeed. Of course, it would also be nice if distros shipped
> bootloader-invoked prekernel test software, like memtest86+, by default.

the current memtest86 is running in 32 bit mode, and only support 64G ram.

I tried to expand that a bit, to support 1024g, but it only works on
some machine.
could be stack provide is not big enough?

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/