Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 1997 19:18:40 +0200
From:      Terje Normann Marthinussen <Terje.N.Marthinussen@cc.uit.no>
To:        Steve Passe <smp@csn.net>
Cc:        freebsd-smp@FreeBSD.ORG
Subject:   Re: Headsup: SMP_AUTOSTART 
Message-ID:  <199705131718.TAA07525@slibo.cc.uit.no>
In-Reply-To: Your message of "Wed, 07 May 1997 15:35:13 METDST." <199705072135.PAA05912@Ilsa.StevesCafe.com> 

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







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