lkml.org 
[lkml]   [2008]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86_64: early memtest to find bad ram
On Fri, Mar 21, 2008 at 12:58 PM, H. Peter Anvin <hpa@zytor.com> wrote:
>
> Yinghai Lu wrote:
> > On Fri, Mar 21, 2008 at 6:08 AM, H. Peter Anvin <hpa@zytor.com> 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?
> >
>
> Wonder how hard it would be to make it run 64 bits...

1. in 32 bit test less than 4g in 32 bit mode
2. switch to 64 bit, set page table under 4g to cover all ram...

YH


\
 
 \ /
  Last update: 2008-03-21 21:11    [W:0.043 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site