[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Masking out one page of RAM because of bit-errors.
In article <> you write:
>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.
>Could someone tell me if there's another way to mark this single page
>as unusable ?

This ought to work. Put the code somewhere at the end of mem_init() in

long addr = 0x4eff508;
set_bit(PG_reserved, &mem_map[MAP_NR(addr)].flags);

This is for linux-2.2.16 , I don't know if it works with 2.4.


"Just how much can I get away with and still go to heaven?"
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.036 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site