From owner-freebsd-smp Tue Jun 24 05:19:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA11479 for smp-outgoing; Tue, 24 Jun 1997 05:19:38 -0700 (PDT) Received: from luke.pmr.com (luke.pmr.com [207.170.114.132]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA11465; Tue, 24 Jun 1997 05:19:25 -0700 (PDT) Received: (from bob@localhost) by luke.pmr.com (8.8.5/8.7.3) id HAA06089; Tue, 24 Jun 1997 07:19:04 -0500 (CDT) Message-ID: <19970624071903.56017@luke.pmr.com> Date: Tue, 24 Jun 1997 07:19:03 -0500 From: Bob Willcox To: Steve Passe Cc: dyson@FreeBSD.ORG, peter@spinner.dialix.com.au, freebsd-smp@FreeBSD.ORG Subject: Re: Recent (last two days) smp kernel is hanging for me Reply-To: Bob Willcox References: <199706240310.WAA01893@dyson.iquest.net> <199706240732.BAA10251@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76e In-Reply-To: <199706240732.BAA10251@Ilsa.StevesCafe.com>; from Steve Passe on Tue, Jun 24, 1997 at 01:32:10AM -0600 Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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, but > failing on both the ASUS and the P6DNF. Specifically we now create the mplock > 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 ASUS > 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!! :-) > > -- > Steve Passe | powered by > smp@csn.net | Symmetric MultiProcessor FreeBSD > -- Bob Willcox Deliberation, n.: The act of examining one's bread to determine bob@luke.pmr.com which side it is buttered on. Austin, TX -- Ambrose Bierce, "The Devil's Dictionary"