DragonFly BSD
DragonFly kernel List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

CMOS breakage culprit found (?)


From: "David P. Reese, Jr." <daver@xxxxxxxxxxxx>
Date: Mon, 17 Nov 2003 01:00:23 -0800

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@xxxxxxxxxxxx
                                               http://www.gomerbud.com/daver/



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]