mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Madore <david.madore@ens.fr>
To: linux-kernel@vger.kernel.org
Subject: Re: broken memory chip -> software fix?
Date: Sat, 18 Aug 2001 01:08:10 +0200	[thread overview]
Message-ID: <20010818010810.A6422@clipper.ens.fr> (raw)
In-Reply-To: <20010817161505.A25194@clipper.ens.fr> <E15XkYl-0007OT-00@the-village.bc.nu>
In-Reply-To: <E15XkYl-0007OT-00@the-village.bc.nu>; from alan@lxorguk.ukuu.org.uk on Fri, Aug 17, 2001 at 03:25:15PM +0100

On Fri, Aug 17, 2001 at 03:25:15PM +0100, Alan Cox wrote:
> > Now that I know the address, is there a way I can prevent Linux from
> > using that region of memory in any way?  The simplest and cleanest
> 
> Yep. The mem= option can exclude stuff. Alternatively you can
> patch arch/i386/kernel/mm/init.c:mem_init() to skip that page. 

Thanks.  The mem= option works perfectly:

	mem=78184k@1024k mem=313988k@79212k

will avoid the incriminated page.

Thanks also to those who pointed out the mmap() procedure: that will
let toy with the page in question - after all, a defective memory chip
is a fun thing to play with.

-- 
     David A. Madore
    (david.madore@ens.fr,
     http://www.eleves.ens.fr:8080/home/madore/ )

  reply	other threads:[~2001-08-17 23:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-17 14:15 David Madore
2001-08-17 14:21 ` John Levon
2001-08-17 14:25 ` Alan Cox
2001-08-17 23:08   ` David Madore [this message]
2001-08-17 14:26 ` Richard B. Johnson
2001-08-17 14:46   ` Dr. Michael Weller

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=20010818010810.A6422@clipper.ens.fr \
    --to=david.madore@ens.fr \
    --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 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®