From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 14 00:23:38 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 657DE16A41F for ; Fri, 14 Oct 2005 00:23:38 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 066C343D53 for ; Fri, 14 Oct 2005 00:23:37 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j9E0Nb8I022934; Thu, 13 Oct 2005 17:23:37 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j9E0Nbtf022933; Thu, 13 Oct 2005 17:23:37 -0700 Date: Thu, 13 Oct 2005 17:23:37 -0700 From: Brooks Davis To: Dan Langille Message-ID: <20051014002337.GB18844@odin.ac.hmc.edu> References: <434EBD73.21640.81DF45B2@localhost> <434EC11C.30648.81ED9024@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: <434EC11C.30648.81ED9024@localhost> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-emulation@freebsd.org Subject: Re: cross platform building under emulation X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 00:23:38 -0000 --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 13, 2005 at 08:18:36PM -0400, Dan Langille wrote: > On 13 Oct 2005 at 17:11, Brooks Davis wrote: >=20 > > On Thu, Oct 13, 2005 at 08:02:59PM -0400, Dan Langille wrote: > > > My usual practice when building world is to do it once on the fastest= =20 > > > box I have, then do installs via NFS mounts. I need to do this for= =20 > > > FreeBSD 4.*, 5.*, 6.*, and -current. My goal is to do all this with= =20 > > > just one box. At first I thought of multi-booting the box. > > >=20 > > > Tonight at the OCUUG meeting , someone=20 > > > mentioned doing this with emulation. After hearing that, multi- > > > booting doesn't sound as good. > > >=20 > > > The box in question is an AMD 64 3000+ with 1GB of RAM. The m/b is a= =20 > > > KV8E Deluxe, which gives me the option of onboard RAID-1 SATA. > > >=20 > > > What do you think of this idea? What tools would you suggest? > > >=20 > > > The host enviroment will also be used as my main database server=20 > > > running FreeBSD 6, most likely in AMD mode. > >=20 > > It should work, but might be a bit slow. > >=20 > > You could also consider using Kris's trick of running older userlands in > > chroots on -current (or 6.x in your case) kernels like he does on the > > ports cluster. I think his BSDCan paper has the details on the bits you > > need to replace to deal with kernel incompatabilities. The nice that is > > that you don't have any emulation in the way. I think Peter Wemm said > > they were also doing i386 chroots on amd64 kernels at Yahoo! so that may > > deal with that issue. At least until 7.0 comes you should be able to do > > -current buildworld and buildkernel on 6.x machines so that won't be a > > problem (if it is, scream since breaking that is bad :). >=20 > Gidday Brooks.. What about jails? For this application, I'd say jails are probably overkill. It would give you the ability to run an ssh daemon on the jail which could be interesting and would be more like an emulated environment, but I don't think you need the extra hardening they give since you can invoke the make commands through chroot commands. I'm using a similar setup to install ports in a root file system for cluster that I distribute via NFS. In may case the buildworld happen natively, but the port builds occur within the chroot. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDTvqIXY6L6fI4GtQRAnQRAKChgpGl7Oi43EdQaXJ/rbN/5k+pDwCfRxKB HkwNLY7T6GsIHp7Kw71S6jQ= =+og+ -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--