From owner-freebsd-smp Sun Aug 25 13:23:27 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA02429 for smp-outgoing; Sun, 25 Aug 1996 13:23:27 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA02409 for ; Sun, 25 Aug 1996 13:23:23 -0700 (PDT) Received: from groa.uct.ac.za (groa.uct.ac.za [137.158.128.7]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id HAA25056 for ; Sun, 25 Aug 1996 07:49:22 -0700 (PDT) Received: by groa.uct.ac.za via sendmail with stdio id for freebsd-smp@freebsd.org; Sun, 25 Aug 1996 16:45:56 +0200 (SAT) (Smail-3.2 1996-Jul-4 #1 built 1996-Jul-21) Message-Id: From: rv@groa.uct.ac.za (Russell Vincent) Subject: Re: SMP on Intel MG15 To: freebsd-smp@FreeBSD.ORG Date: Sun, 25 Aug 1996 16:45:55 +0200 (SAT) In-Reply-To: from "rv@groa.uct.ac.za" at Aug 17, 96 02:16:18 pm X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I wrote: > A status report: > 2) The machine locks up shortly after the SMP kernel load: > > FreeBSD/SMP: Multiprocessor motherboard > Boot cpunumber=0x0 > [ machines freezes ] This happens in the following segment of code in /usr/src/sys/i386/i386/mpcore.s : /* Step 1 - Do a INIT/Reset seqeuence */ movl APIC_ICR_HI(%esi),%eax andl $0xf0ffffff,%eax /* mask out ID bits */ orl $CPUNBR,%eax movl %eax,APIC_ICR_HI(%esi) movl APIC_ICR_LOW(%esi),%eax andl $0xfff00000,%eax orl $0x0000c500,%eax /* do a INIT IPI - ASSERT/RESET */ movl %eax,APIC_ICR_LOW(%esi) 3: movl APIC_ICR_LOW(%esi),%eax /* wait for pending status end */ andl $0x00001000,%eax jnz 3b The boot process doesn't seem to get out of this last loop. Unfortunately, I don't have the knowledge or the specs handy to be able to go further, but thought that might help anyone who can. -Russell From owner-freebsd-smp Sun Aug 25 14:29:42 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA09572 for smp-outgoing; Sun, 25 Aug 1996 14:29:42 -0700 (PDT) Received: from wiesbaden.netsurf.de (nero.wiesbaden.netsurf.de [194.163.168.140]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA09565; Sun, 25 Aug 1996 14:29:35 -0700 (PDT) Received: from idefix by wiesbaden.netsurf.de with smtp (Smail3.1.28.1 #10) id m0uumlb-001lgFC; Sun, 25 Aug 96 23:30 MET DST Message-ID: <3220D5BB.1ACC@wiesbaden.netsurf.de> Date: Mon, 26 Aug 1996 00:37:47 +0200 From: Marcus John X-Mailer: Mozilla 2.01 (WinNT; I) MIME-Version: 1.0 To: freebsd-smp@freebsd.org CC: freebsd-questions@freebsd.org Subject: SMP add-on package for 2.1.5R? References: <321B77A3.1A52@wiesbaden.netsurf.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, is there a specialized SMP package (as an add-on) aviable for 2.1.5R as released by Walnut Creek (´cuz they left it out). Where do I find it? BTW: We´re using Gigabyte 586DX boards. Thanks, marcus.john@wiesbaden.netsurf.de From owner-freebsd-smp Sat Aug 31 14:43:53 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA16297 for smp-outgoing; Sat, 31 Aug 1996 14:43:53 -0700 (PDT) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA16267 for ; Sat, 31 Aug 1996 14:43:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id PAA28776; Sat, 31 Aug 1996 15:43:40 -0600 Message-Id: <199608312143.PAA28776@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: freebsd-smp@FreeBSD.ORG cc: rv@groa.uct.ac.za, erich@uruk.org Subject: Re: SMP on Intel MG15 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 31 Aug 1996 15:43:40 -0600 Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, Russel and I are trying to get FreeBSD SMP working on the Intel XXPRESS board. We are past hte 2nd CPU ID = 2 problem. It appears that the apic_startup routine never (correctly) launches the 2nd CPU. looking at the MP spec and Intel pent. manuals it appears that the INIT/Reset IPI expects that a "warm start vector" will exist for starting the 2nd CPU, but the current code seems to ignore this. See MP spec B.4.1 for details. Is the purpose of this INIT/Reset IPI just to get the 2nd CPU to a known state, ie NOT to actually start it processing the bootMP code? Should not the code setup the BIOS warmstart vector to point @ a "HLT" instruction b4 using the INIT IPI? -- Steve Passe | powered by smp@csn.net | FreeBSD