From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 8 08:23:33 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E30016A403 for ; Sat, 8 Apr 2006 08:23:33 +0000 (UTC) (envelope-from patrick@cyberwizards.nl) Received: from gandalf.cyberwizards.nl (217-19-20-65.dsl.cambrium.nl [217.19.20.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DA3643D49 for ; Sat, 8 Apr 2006 08:23:31 +0000 (GMT) (envelope-from patrick@cyberwizards.nl) Received: from gandalf.cyberwizards.nl (localhost [127.0.0.1]) by gandalf.cyberwizards.nl (8.13.4/8.13.4) with ESMTP id k388NRYF094499 for ; Sat, 8 Apr 2006 10:23:27 +0200 (CEST) (envelope-from patrick@cyberwizards.nl) Received: from localhost (pbm@localhost) by gandalf.cyberwizards.nl (8.13.4/8.13.4/Submit) with ESMTP id k388NQt8094496 for ; Sat, 8 Apr 2006 10:23:27 +0200 (CEST) (envelope-from patrick@cyberwizards.nl) X-Authentication-Warning: gandalf.cyberwizards.nl: pbm owned process doing -bs Date: Sat, 8 Apr 2006 10:23:26 +0200 (CEST) From: patrick X-X-Sender: pbm@gandalf.cyberwizards.nl To: freebsd-amd64@freebsd.org In-Reply-To: Message-ID: <20060408102045.F94334@gandalf.cyberwizards.nl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: safe way to build i386 arch makeworld on amd64 arch? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 08:23:33 -0000 Thanks all for feedback. i did some tresstesting on apache and it seems like 'perfoming well' I guess the best option for me is just add some more memory ;) Enjoy! grtz patrick >>>> is there a save way to 'downgrade' an amd64 build system by using 'make world' ? >>>> >>>> e.g. just remove the CPUTYPE=opteron from the make.conf file and do a >>>> build world/kernels install world/kernels ? >> >> To downgrade? Not realistically. >> >> That would certainly allow him to crosscompile an i386 kernel, and >> world, but wouldn't have much effect on downgrading from AMD64 to >> i386, since you run into a chicken or the egg problem with the kernel, >> and world. (a 64-bit kernel does not play nice on a 32-bit world, >> without some hacking around, and a 32-bit kernel does not play nice on >> a 64-bit world), which makes it impossible to actually do both steps. >> >> If you install the 32-bit kernel first, and reboot, the kernel won't >> be able to run the 64-bit binaries. If you install the 32-bit world >> first, the 64-bit kernel will become very, very sad, and won't let the >> installation complete. >> >> If you try to install the kernel, then the world without a reboot, you >> have the same problem as installing the 32-bit world first, since even >> with a 32-bit kernel installed, you're still RUNNING the 64-bit kernel >> until you reboot. >> >> There are actually ways to do this, but its almost always a bad idea. >> Not to mention this will break any packages, or ports you're using >> too, with the exception, perhaps, of Linux Compat. > You are of course correct, but then again, I did mention DESTDIR= > and MAKEOBJDIRPREFIX. > > personaly, machines that are not diskless, i tend to have 2 root slices > (it only needs some 500 Mgb), and install on a non active slice/partition, then > i do 'boot0cfg -sn device'. When that fails i do have to go to the console > and reboot from the old partition :-(, this is nice if the console is > walking distance away ...