From owner-freebsd-questions@FreeBSD.ORG Tue Apr 12 23:38:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B8EB16A4CE for ; Tue, 12 Apr 2005 23:38:32 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9921843D60 for ; Tue, 12 Apr 2005 23:38:31 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id j3CNaxUF023257; Tue, 12 Apr 2005 16:37:00 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Tue, 12 Apr 2005 16:37:39 -0700 User-Agent: KMail/1.8 References: <20050412223859.GA53533@logik.ath.cx> <425C4FE1.3000406@chuckr.org> <20050412231816.GA24385@logik.ath.cx> In-Reply-To: <20050412231816.GA24385@logik.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504121637.39291.kstewart@owt.com> cc: Chuck Robey cc: markzero Subject: Re: Lowest common denominator for buildworld/kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 23:38:32 -0000 On Tuesday 12 April 2005 04:18 pm, markzero wrote: > > >Hello, > > >I would like to set up a machine with which to build world and > > > kernels for an assortment of slightly different machines. The > > > machines are an assortment of Pentium IIs', IIIs' and AMD K6s'. > > > What CPU type should I build for in order to safely accomodate > > > the slight differences? i386? > > > > > >Also, as a side note, is there any better way to distribute the > > > compiled binaries and kernel than NFS mounts? I *really* don't > > > get along with NFS... > > > > > >Thanks, > > >Mark > > > > I don't know what sort of accomodation you mean. The binaries can > > all be perfectly portable, or, at your option, you can put in > > various extra options to optimize for your processor. To tell you > > the trush, if you don't play with the flags, then I see no problem > > with "slight differences". > > Ok, thanks for the affirmation. I was pretty sure that this would be > the case but as I'm not familiar with the build process under the > hood, I wasn't sure if the makefiles tweaked themselves implicitly > depending on the build platform. I'm glad this isn't the case, that > would be quite a pickle. > > > ssh works great for a lot of applications that need to send > > products to foreign lands ... it's the "scp" command, in > > particular, I mean. > > ssh was the first thing that sprang to mind but it also raised some > further questions, like what exactly to copy. /usr/obj would > obviously have to go over but what about all the makefiles required > for a 'make installworld' etc? I wondered if I would end up just > copying over /usr/src entirely, which seems very innefficient. > > Hmm, it's certainly something to think about. > What I have done to cover that situation is place /usr/obj and /usr/src in their own 1.5GB partitions. Then, when you nfs_mount them on the other system, they have the same path as when you did the build. You don't need 3GB to cover the build but HDs are cheap and rebuilding a slice is not. I have the kernel config file for each of the other systems on the build machine. When you do a buildkernel, you can have the build machine build the kernel for all of them at one time. Kent > Thanks, > Mark -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html