Messages in this thread | | | Date | Sat, 18 Aug 2001 01:08:10 +0200 | From | David Madore <> | Subject | Re: 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/
| |