CMOS breakage culprit found (?)

David P. Reese, Jr. daver at gomerbud.com
Mon Nov 17 00:59:41 PST 2003


I think I found the block of code that hoses my CMOS with an SMP kernel.
Line 2260 of i386/i386/mp_machdep.c in start_ap() where the first
startup IPI is done.

        /* do a STARTUP IPI */
        lapic.icr_lo = icr_lo | 0x00000600 | vector;
        while (lapic.icr_lo & APIC_DELSTAT_MASK)
                 /* spin */ ;
        u_sleep(200);           /* wait ~200uS */

Can someone else who has been experiencing CMOS damage verify this?

-- 
   David P. Reese, Jr.                                     daver at xxxxxxxxxxxx
                                               http://www.gomerbud.com/daver/





More information about the Kernel mailing list