mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Calvin Walton <calvin.walton@gmail.com>
To: santosh <santosh.iitg@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [Question] How to test (DRAM) memory location.
Date: Tue, 31 Aug 2010 20:59:33 -0400	[thread overview]
Message-ID: <1283302773.3754.5.camel@nayuki> (raw)
In-Reply-To: <AANLkTim03ofVGh-5ifAfook=nv35tY0RDKMjHsEW8U1N@mail.gmail.com>

On Tue, 2010-08-31 at 18:07 +0530, santosh wrote:
> hi Calvin,
> 
> > There's some work done on an in-kernel memory tester, but testing memory
> > while Linux is running is somewhat limited as there are sections of
> > memory that you can't overwrite during testing. Take a look at
> > CONFIG_MEMTEST and arch/x86/mm/memtest.c (which is currently only
> > capable of testing memory in early boot).
> >
> 
> I was just looking at "linux-source-2.6.27.48" but could not find
> "memtest.c" at the location you mentioned above:
> 
> [root@localhost linux-2.6.27.48]# cd arch/x86/mm/

This code was moved fairly recently, although I don't remember exactly
when. In the kernel version you have, it should be present in
arch/x86/mm/init_64.c
(and is only available on the 64-bit x86 architecture).

Please check a newer kernel if you can, there's been some improvements
since.

-- 
Calvin Walton <calvin.walton@gmail.com>


      parent reply	other threads:[~2010-09-01  0:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28 11:27 santosh
2010-08-31  0:57 ` Calvin Walton
     [not found]   ` <AANLkTinqOiSu2kW=P4GTQowDYVHrF+zcY9N4YY+c-xeJ@mail.gmail.com>
2010-08-31 10:36     ` Fwd: " santosh
     [not found]   ` <AANLkTim03ofVGh-5ifAfook=nv35tY0RDKMjHsEW8U1N@mail.gmail.com>
2010-09-01  0:59     ` Calvin Walton [this message]

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=1283302773.3754.5.camel@nayuki \
    --to=calvin.walton@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=santosh.iitg@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®