Date: Thu, 13 Oct 2005 20:49:24 -0400 From: "Dan Langille" <dan@langille.org> To: Brooks Davis <brooks@one-eyed-alien.net>, Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd-emulation@freebsd.org Subject: Re: cross platform building under emulation Message-ID: <434EC854.31435.8209C41D@localhost> In-Reply-To: <20051014002337.GB18844@odin.ac.hmc.edu> References: <434EC11C.30648.81ED9024@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://www.ocuug.on.ca>, 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?434EC854.31435.8209C41D>