Re: Q: boot time memory region recognition and clearing.

From: Rogier Wolff (R.E.Wolff@BitWizard.nl)
Date: Sat Jul 13 2002 - 10:09:40 EST


Alan Cox wrote:
> On Sat, 2002-07-13 at 11:08, Ishikawa wrote:
> > I have found that the particular motherboard (and memory sticks)
> > that I use at home tends to generate bogus memory problem
> > warning messages when I use ecc module.
> > Motherboard is Gigabyte 7XIE4 that uses AMD751.
> > (Yes, AMD has now provides AMD76x series chipset for
> > newer CPUs.)
> >
> > I say "bogus" because I have tested the hardware
> > many times using memtest86 and found that it doesn't
> > detect any memory errors even
>
> memtest86 isnt (except on the very very latest versions) aware of ECC.
> It sees the memory after the ECC rescues minor errors so if the RAM has
> errors but ECC just about saves you it will show up clean

A friend of mine had "subtle memory problems". He tested the memory
using memtest86. No errors running for hours.

Then he did:
        bank1 = malloc (bignum);
        bank2 = malloc (bignum);
        srand (seed);
        bash (bank1);
        srand (seed);
        bash (bank2);

        if (memcmp (bank1, bank2) != 0)
                Memory error!

and quickly found a memory error on the first pass.

It turns out you can memtest all you want, but different access
patterns may cause different errors. In some cases memtest86 doesn't
detect problems, while other stuff does.....

                                Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots. 
* There are also old, bald pilots. 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:26 EST