Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 1996 16:45:55 +0200 (SAT)
From:      rv@groa.uct.ac.za (Russell Vincent)
To:        freebsd-smp@FreeBSD.ORG
Subject:   Re: SMP on Intel MG15
Message-ID:  <m0uugRo-0004wbC@groa.uct.ac.za>
In-Reply-To: <m0urkId-0004wYC@groa.uct.ac.za> from "rv@groa.uct.ac.za" at Aug 17, 96 02:16:18 pm

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:
> A status report:

> 2) The machine locks up shortly after the SMP kernel load:
> 
> FreeBSD/SMP: Multiprocessor motherboard
> Boot cpunumber=0x0
> [ machines freezes ]

This happens in the following segment of code in 
/usr/src/sys/i386/i386/mpcore.s :
 
/* Step 1 - Do a INIT/Reset seqeuence */

        movl    APIC_ICR_HI(%esi),%eax
        andl    $0xf0ffffff,%eax /* mask out ID bits */
        orl     $CPUNBR,%eax 
        movl    %eax,APIC_ICR_HI(%esi)
        movl    APIC_ICR_LOW(%esi),%eax
        andl    $0xfff00000,%eax
        orl     $0x0000c500,%eax        /* do a INIT IPI - ASSERT/RESET */  
        movl    %eax,APIC_ICR_LOW(%esi) 

3:      movl    APIC_ICR_LOW(%esi),%eax /* wait for pending status end */
        andl    $0x00001000,%eax
        jnz     3b
 
The boot process doesn't seem to get out of this last loop.
 
Unfortunately, I don't have the knowledge or the specs handy to
be able to go further, but thought that might help anyone who can.

 -Russell




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0uugRo-0004wbC>