Re: Linux & ECC memory

James H. Cloos Jr. (cloos@jhcloos.com)
Fri, 15 Nov 1996 10:54:14 -0600


>>>>> "Kenneth" == Kenneth Albanowski <kjahds@kjahds.com> writes:

Kenneth> This is what I'm curious about. Does Linux's NMI code attempt
Kenneth> to work around some memory problems, or does it just panic?

>From asm/i386/kernel/traps.c (w/ the indents shrunk to fit in 80 cols):

---------------------------------------------------------------------------
asmlinkage void do_nmi(struct pt_regs * regs, long error_code)
{
#ifdef CONFIG_SMP_NMI_INVAL
smp_flush_tlb_rcv();
#else
#ifndef CONFIG_IGNORE_NMI
printk("Uhhuh. NMI received. Dazed and confused, but trying to continue\n");
printk("You probably have a hardware problem with your RAM chips or a\n");
printk("power saving mode enabled.\n");
#endif
#endif
}
---------------------------------------------------------------------------

-JimC

-- 
James H. Cloos, Jr.         <URL:http://www.jhcloos.com/~cloos/>
cloos@jhcloos.com           Work: cloos@io.com
LPF,Usenix,SAGE,ISOC,ACLU   FB C2 B3 7A 50 44 AE 2D  C7 4C 1E C1 EF 7A FB 30