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

Re: CMOS breakage culprit found (?)

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Nov 2003 21:38:51 -0800 (PST)

: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/

    This helps a lot but there is still a large codepath that could be
    responsible... basically the AP bootstrap code.  If you've got this
    right, then something in the AP bootstrap code is corrupting CMOS.

    I will run through the AP bootstrap code and compare it against 4.x to
    see if there is anything obvious.

					Matthew Dillon 

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