[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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 ?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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