From owner-freebsd-smp Tue May 13 10:18:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA00546 for smp-outgoing; Tue, 13 May 1997 10:18:56 -0700 (PDT) Received: from kvikk.uit.no (kvikk.Uit.No [129.242.4.32]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA00538 for ; Tue, 13 May 1997 10:18:51 -0700 (PDT) Received: from sprint.cc.uit.no (sprint.Cc.Uit.No [129.242.5.198]) by kvikk.uit.no (8.8.5/8.8.5) with ESMTP id TAA08494; Tue, 13 May 1997 19:18:42 +0200 (METDST) Received: from slibo.cc.uit.no (slibo.Cc.Uit.No [129.242.5.36]) by sprint.cc.uit.no (8.8.5/8.8.5) with ESMTP id TAA29588; Tue, 13 May 1997 19:18:41 +0200 (METDST) Received: from localhost (terjem@localhost) by slibo.cc.uit.no (8.8.5/8.8.5) with ESMTP id TAA07525; Tue, 13 May 1997 19:18:40 +0200 (METDST) Message-Id: <199705131718.TAA07525@slibo.cc.uit.no> X-Mailer: exmh version 2.0gamma 1/27/96 To: Steve Passe cc: freebsd-smp@FreeBSD.ORG Subject: Re: Headsup: SMP_AUTOSTART In-reply-to: Your message of "Wed, 07 May 1997 15:35:13 METDST." <199705072135.PAA05912@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 May 1997 19:18:40 +0200 From: Terje Normann Marthinussen Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Hi, > >> >SMP_AUTOSTART is now working and a valid option for your SMP kernel config >> >file. >> >> Great! Has it been tested with more than two processors (ie, used >> to start multiple application processors)? > >no it hasn't, thats a good point. The code is written to support multiple >APs, but till its tested... quad users please report. cvsouped current last night and compiled world on our 4 CPU HP Netserver First of all, 'make depend' gives the following: In file included from ../../i386/isa/icu.h:50, from ../../i386/eisa/eisaconf.c:45: opt_smp.h:1: warning: `NCPU' redefined machine/smp.h:23: warning: this is the location of the previous definition In file included from ../../i386/isa/icu.h:50, from machine/mpapic.h:31, from ../../i386/i386/mpapic.c:33: opt_smp.h:1: warning: `NCPU' redefined machine/smp.h:23: warning: this is the location of the previous definition In file included from ../../i386/isa/icu.h:50, from ../../i386/isa/pcibus.c:44: opt_smp.h:1: warning: `NCPU' redefined machine/smp.h:23: warning: this is the location of the previous definition In file included from ../../i386/isa/icu.h:50, from ../../i386/isa/random_machdep.c:53: opt_smp.h:1: warning: `NCPU' redefined Which I easily ignored :) (didn't have time to examine it closely.) Then I got some errors from time.h: /usr/include/time.h:95: parse error before `struct' /usr/include/time.h:96: parse error before `struct' /usr/include/time.h:97: parse error before `const' /usr/include/time.h:103: warning: `struct timespec' declared inside parameter list /usr/include/time.h:103: warning: its scope is only this definition or declaration, /usr/include/time.h:103: warning: which is probably not what you want. Got rid of those. After that, make world worked, got a new kernel, reboot, all 4 CPUs starting and everything looks just fine. Conclusion: SMP_AUTOSTART works on 4 CPUs Terje Marthinussen terjem@cc.uit.no