lkml.org 
[lkml]   [2001]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: broken memory chip -> software fix?
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/ )
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.414 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site