From owner-freebsd-smp Tue Jun 24 05:55:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA12812 for smp-outgoing; Tue, 24 Jun 1997 05:55:23 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA12804; Tue, 24 Jun 1997 05:55:17 -0700 (PDT) Received: from spinner.dialix.com.au (spinner.dialix.com.au [192.203.228.67]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id FAA09907; Tue, 24 Jun 1997 05:55:11 -0700 (PDT) Received: from spinner.dialix.com.au (localhost.dialix.com.au [127.0.0.1]) by spinner.dialix.com.au with ESMTP id UAA10065; Tue, 24 Jun 1997 20:53:01 +0800 (WST) Message-Id: <199706241253.UAA10065@spinner.dialix.com.au> X-Mailer: exmh version 2.0gamma 1/27/96 To: Bob Willcox cc: Steve Passe , dyson@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG Subject: Re: Recent (last two days) smp kernel is hanging for me In-reply-to: Your message of "Tue, 24 Jun 1997 07:19:03 EST." <19970624071903.56017@luke.pmr.com> Date: Tue, 24 Jun 1997 20:53:00 +0800 From: Peter Wemm Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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