From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 14 00:49:27 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 616BE16A41F for ; Fri, 14 Oct 2005 00:49:27 +0000 (GMT) (envelope-from dan@langille.org) Received: from m21.unixathome.org (m21.unixathome.org [205.150.199.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3CB043D45 for ; Fri, 14 Oct 2005 00:49:26 +0000 (GMT) (envelope-from dan@langille.org) Received: from localhost (localhost [205.150.199.217]) by m21.unixathome.org (Postfix) with ESMTP id F2846C36F; Thu, 13 Oct 2005 20:49:25 -0400 (EDT) Received: from m21.unixathome.org ([205.150.199.217]) by localhost (m21.unixathome.org [205.150.199.217]) (amavisd-new, port 10024) with ESMTP id 03056-09; Thu, 13 Oct 2005 20:49:25 -0400 (EDT) Received: from bast.unixathome.org (bast.unixathome.org [70.26.229.230]) by m21.unixathome.org (Postfix) with ESMTP id 27E28BFB0; Thu, 13 Oct 2005 20:49:24 -0400 (EDT) Received: from wocker (wocker.unixathome.org [10.55.0.99]) by bast.unixathome.org (Postfix) with ESMTP id C07353D3B; Thu, 13 Oct 2005 20:49:24 -0400 (EDT) From: "Dan Langille" To: Brooks Davis , Brooks Davis Date: Thu, 13 Oct 2005 20:49:24 -0400 MIME-Version: 1.0 Message-ID: <434EC854.31435.8209C41D@localhost> Priority: normal In-reply-to: <20051014002337.GB18844@odin.ac.hmc.edu> References: <434EC11C.30648.81ED9024@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unixathome.org 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:49:27 -0000 On 13 Oct 2005 at 17:23, Brooks Davis wrote: > On Thu, Oct 13, 2005 at 08:18:36PM -0400, Dan Langille wrote: > > On 13 Oct 2005 at 17:11, Brooks Davis wrote: > > > > > 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 > > > > box I have, then do installs via NFS mounts. I need to do this for > > > > FreeBSD 4.*, 5.*, 6.*, and -current. My goal is to do all this with > > > > just one box. At first I thought of multi-booting the box. > > > > > > > > Tonight at the OCUUG meeting , someone > > > > mentioned doing this with emulation. After hearing that, multi- > > > > booting doesn't sound as good. > > > > > > > > The box in question is an AMD 64 3000+ with 1GB of RAM. The m/b is a > > > > KV8E Deluxe, which gives me the option of onboard RAID-1 SATA. > > > > > > > > What do you think of this idea? What tools would you suggest? > > > > > > > > The host enviroment will also be used as my main database server > > > > running FreeBSD 6, most likely in AMD mode. > > > > > > It should work, but might be a bit slow. > > > > > > 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 :). > > > > 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. Daris has got me thinking about unpacking 4.9-release/bin into a directory, and then doing a chroot. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/