Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 01:32:10 -0600
From:      Steve Passe <smp@csn.net>
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 
Message-ID:  <199706240732.BAA10251@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Mon, 23 Jun 1997 22:10:35 CDT." <199706240310.WAA01893@dyson.iquest.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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





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