From owner-freebsd-smp Thu Jan 9 10:05:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA12931 for smp-outgoing; Thu, 9 Jan 1997 10:05:18 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id KAA12926 for ; Thu, 9 Jan 1997 10:05:13 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id LAA22715; Thu, 9 Jan 1997 11:04:00 -0700 Message-Id: <199701091804.LAA22715@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: Chuck Robey cc: FreeBSD-SMP@freebsd.org Subject: Re: Testing new machine In-reply-to: Your message of "Thu, 09 Jan 1997 12:31:49 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 09 Jan 1997 11:04:00 -0700 Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > On Thu, 9 Jan 1997, Steve Passe wrote: > > > Hi, > > > > >I suppose I should put the sysctl somewhere in my rc file ... is there any > > >particular place in there (has anything GOT to happen first) ? > > > > I'd suggest /usr/local/etc/rc.d/smp.sh > > Thanks, Steve, but I wasn't looking for a place to declare it as much as > an indication of anything that happens in /etc/rc that HAS to take place > first. I figure I have to hook it in, in either /etc/rc, /etc/rc.i386 or > /etc/rc.local (which could very well call /usr/local/etc/rc.d/smp.sh) but > I don't know if anything in the present startup sequence is required > before turning on multiprocessing. actually I suggested that location because there are some things that need to be done first, but we have NO idea what! See the code marked SMP_AUTOSTART in init_smp.c for what doesn't work. I picked the above location as a point that is at the end of everything, without explaining why... I believe proper form now is to ignore /etc/rc.local, /usr/local/etc/rc.d/xxx.sh scripts are run by /etc/rc. -- Steve Passe | powered by smp@csn.net | FreeBSD