From: Matthew Bloch <matthew@bytemark.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Re: Testing RAM from userspace / question about memmap= arguments
Date: Sat, 22 Dec 2007 20:48:20 +0000 [thread overview]
Message-ID: <fkjt6r$rgt$1@ger.gmane.org> (raw)
In-Reply-To: <476D35F6.90900@davidnewall.com>
David Newall wrote:
> Pavel Machek wrote:
>> On Sat 2007-12-22 13:42:47, Richard D wrote:
>>
>>> Cant you, modify bootmem allocator to test with memtest patterns and
>>> then
>>> use kexec (as Pavel suggested) to test the one where kernel was sitting
>>> earlier?
>>>
>>
>>
>> I do not think you need to modify anything in kernel. Just use
>> /dev/mem to test areas that kernel doesn't see, then kexec into place
>> you already tested, and test the rest.
>>
>
> That's still an insufficient test. One failure mode is writes at one
> location corrupting cells at another.
>
> The idea of wanting to do comprehensive and robust memory testing from
> within the operating system seems dubious at best, to me.
Well if we're trying to be thorough, either way is flawed - you can't
possibly test pathologically-misbehaving memory from code running from
inside of it, you'd want some kind of non-uniform memory arrangement to
do that properly. memtest86's value is that it at least *tries* to work
in this environment by dynamically relocating itself, but its memory
testing algorithms aren't the hard bit. Also I'm not necessarily
interested in *which* section of which DIMM is faulty, just a yes or no
is enough so I can send the faulty ones back to the shop.
I don't agree that adding a network stack to memtest86's bare kernel is
going to be easier than working out how to get Linux to do the same job,
with its luxurious programming environment. I can already automate
memtest via serial consoles, power cycling, network booting and so on
but it's ugly.
I will report back in the new year when I've had a chance to play with
our collection of dodgy hardware.
--
Matthew
next prev parent reply other threads:[~2007-12-22 20:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-18 17:06 Testing RAM from userspace / question about memmap= arguments Matthew Bloch
2007-12-20 12:33 ` Jon Masters
2007-12-20 14:17 ` Matthew Bloch
2007-12-21 12:58 ` Pavel Machek
2007-12-22 8:12 ` Richard D
2007-12-22 13:46 ` Pavel Machek
2007-12-22 15:30 ` Richard D
2007-12-22 18:43 ` Pavel Machek
2007-12-22 16:06 ` David Newall
2007-12-22 18:47 ` Pavel Machek
2007-12-22 20:36 ` David Newall
2007-12-22 20:54 ` Pavel Machek
2007-12-23 7:35 ` David Newall
2007-12-23 11:17 ` Pavel Machek
2007-12-22 20:48 ` Matthew Bloch [this message]
2007-12-22 20:09 ` Arjan van de Ven
2007-12-25 23:09 ` Pavel Machek
2007-12-26 10:17 ` Arjan van de Ven
2007-12-26 20:37 ` Maxim Levitsky
-- strict thread matches above, loose matches on Subject: below --
2007-12-20 17:01 Siva Prasad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='fkjt6r$rgt$1@ger.gmane.org' \
--to=matthew@bytemark.co.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.