Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 20:53:00 +0800
From:      Peter Wemm <peter@spinner.dialix.com.au>
To:        Bob Willcox <bob@luke.pmr.com>
Cc:        Steve Passe <smp@csn.net>, dyson@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG
Subject:   Re: Recent (last two days) smp kernel is hanging for me 
Message-ID:  <199706241253.UAA10065@spinner.dialix.com.au>
In-Reply-To: Your message of "Tue, 24 Jun 1997 07:19:03 EST." <19970624071903.56017@luke.pmr.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bob Willcox wrote:
> On Tue, Jun 24, 1997 at 01:32:10AM -0600, Steve Passe wrote:
> > Hi,
> > 
> > I found something that would explain the new code working on the intels, bu
    t 
> > failing on both the ASUS and the P6DNF.  Specifically we now create the mpl
    ock
> > with the LOGICAL cpu id, BUT the initial lock is still built with the
> > PHYSICAL cpu id.  since the intel #s the BSP as 0 it works, but both the AS
    US
> > and the P6DNF # the BSP as 1, so it gets hung on the first attempt to grab 
    the
> > lock (this is all theory).  try changing mp_machdep.c:start_all_aps(), line
> > 1376:
> > 
> > 	mp_lock = (lapic.id & APIC_ID_MASK) + 1;
> > 
> > to:
> > 
> > 	mp_lock = 1;
> 
> 
> Well, that seemed to do the trick on my system!!  :-)

Well, pass me the pointy hat! *-<8-)

Cheers,
-Peter





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