lkml.org 
[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMasking out one page of RAM because of bit-errors.
Dear list-readers,

I have a bad SDRAM chip with exactly one bit error. Memtest86 shows
that the bit error always occurs at the address 0x4eff508. I tried
to calculate the page number and it should be 20223.

I then looked at arch/i386/mm/init.c and found the function
"page_is_ram". I added a test which was something like this:

static inline int page_is_ram (unsigned long pagenr)
{
int i;

if (pagenr == 20223)
return 0;

[rest of function snipped]

A also added a few printk's so I could verify that the page was
marked as reserved by the calling function.

But it does not work. I also tried 20222 and 20224 because I didn't
know if the first pagenr is 0 or 1.

Could someone tell me if there's another way to mark this single page
as unusable ?

Thanks,
Patrick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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