From owner-freebsd-smp Tue Jun 24 00:32:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA00324 for smp-outgoing; Tue, 24 Jun 1997 00:32:25 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA00303; Tue, 24 Jun 1997 00:32:13 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.5/8.8.5) with ESMTP id BAA10251; Tue, 24 Jun 1997 01:32:10 -0600 (MDT) Message-Id: <199706240732.BAA10251@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: dyson@FreeBSD.ORG cc: bob@luke.pmr.com, peter@spinner.dialix.com.au, freebsd-smp@FreeBSD.ORG Subject: Re: Recent (last two days) smp kernel is hanging for me In-reply-to: Your message of "Mon, 23 Jun 1997 22:10:35 CDT." <199706240310.WAA01893@dyson.iquest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 24 Jun 1997 01:32:10 -0600 Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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; -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD