From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 1 20:47:22 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D5B12E5; Sun, 1 Jun 2014 20:47:22 +0000 (UTC) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 743CF2F45; Sun, 1 Jun 2014 20:47:22 +0000 (UTC) Received: from delphij-macbook.local (c-24-5-244-32.hsd1.ca.comcast.net [24.5.244.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id 90D6B21D3D; Sun, 1 Jun 2014 13:47:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1401655641; bh=rJJCdRh5c5aKaCemm/rV7rKEtToyZB/LABqYiMiR3aI=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=Mfk4snlcgHZEeePt6hF2g75FsHkaOENhZKnYpBH5TzaAdIIHHVRn5CbhU8zQIlLnU dHWPYau5IYXe4tfsdagHBPJRxtaFbI+e9z7aeN7ODws8aHKAh/tL/zSM6iv4kCLbo4 g2i8JTg3wIo3eAtCpM+wpl9eAp61bjaR3vXtNOfA= Message-ID: <538B9158.5040409@delphij.net> Date: Sun, 01 Jun 2014 13:47:20 -0700 From: Xin Li Reply-To: d@delphij.net Organization: The FreeBSD Project MIME-Version: 1.0 To: Nathan Whitehorn , freebsd-hackers@freebsd.org Subject: Re: Upgrading an i386 machine from amd64. References: <538B61EC.9000403@mu.org> <538B7778.3040205@freebsd.org> In-Reply-To: <538B7778.3040205@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 20:47:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 6/1/14, 11:56 AM, Nathan Whitehorn wrote: > On 06/01/14 10:25, Alfred Perlstein wrote: >> Hello hackers. >> >> Is there a way to build on amd64 and then mount over nfs the >> build and src and installworld from an i386 machine? >> >> The problem seems to be that "install" and "strip" and etc are >> built as amd64 binaries so that the installworld will fail. >> >> Below I have a solution I was going to do a blog post about, but >> then realized maybe I'd be leading people down the wrong path. >> >> Can someone verify that I need to use rsync as opposed to >> installworld for this to work? > > Usually the strategy is to update the kernel first, since you can > use an amd64 kernel with i386 world. Then you reboot, then replace > world. That will not work well about a year ago and I don't think things have been improved since then. The biggest problem was that some system management API (e.g. for use with ifconfig(8) or dhclient(8) I don't remember the details) do not have proper 32-bit ABI implementations. It would be great if we can have them fixed though. Cheers, -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJTi5FYAAoJEJW2GBstM+nsPrcP/jdFMTS5BNc1E2Z/gcCLxFZS ADAgil9wgflnzhUXYlOOj5rxP+GrIHVaAwTfYTzqybdGQafcSNBrAYy/S9edgt00 sdu3l3GldIr2Rxlc86Nr2ug7DJo7x3X0ofUCT5c1kOfWmf/AYsYttdJfcg1LlXDo G/ZrDo7UV2C2lQ8mDqdBo7+tC2LM9I6ZZJuX3xdv+MzXEump9dIWhGAlog/dv/eV EuqSfrBN8u7tLJmQzq/+FBaB2YOaEw7NeHloh/ZY0wVxKqyFVbxw9xkAeB2+nhXv jGk4v8VV2qvbozP/W/5GQTyW97AHTfA4TsSjbDkpmYzEPJ28ZlW73ynlnwfVR3oT RqrW6zNZcgksxmPFC/RLxtU+IdqDAdi1XsR51PZmUKdhP0Gxiqs30pdHUcfrkgxo 2xc4jYvAykbVS7mZkLd3k+NtagkqMvLi86RzCTaJiJp+kK/SisqHGO6N7PXoMx2+ FaI6ySjecO9b6JOHwR84sMHHAgWg/WSZuMep0cipf2nf+AQerJ2X8AHro8PJC1Ym 9NaRSClrf6r0exoYgNgb905TnRR1xSoLnzfFLStokmbwTKWO9dot0ZHjBBcGr9+x 3VzDbbe1nQe/RB8pr2ubVcicBOWET3Ee3oxvAFF7a/GdG/9iEGMZ3y0+nUkRFEOE FLBiWx5A9fywxfeQjoyb =XZ6c -----END PGP SIGNATURE-----