From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 1 21:06:54 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B57FA6A3 for ; Sun, 1 Jun 2014 21:06:54 +0000 (UTC) Received: from i3mail.icecube.wisc.edu (i3mail.icecube.wisc.edu [128.104.255.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8A62420A9 for ; Sun, 1 Jun 2014 21:06:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by i3mail.icecube.wisc.edu (Postfix) with ESMTP id 3FF8E38067; Sun, 1 Jun 2014 16:06:53 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from i3mail.icecube.wisc.edu ([127.0.0.1]) by localhost (i3mail.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id 1E034wPKmuJG; Sun, 1 Jun 2014 16:06:53 -0500 (CDT) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) by i3mail.icecube.wisc.edu (Postfix) with ESMTPSA id D5CF238064; Sun, 1 Jun 2014 16:06:52 -0500 (CDT) Message-ID: <538B95EB.7070806@freebsd.org> Date: Sun, 01 Jun 2014 14:06:51 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: d@delphij.net, freebsd-hackers@freebsd.org Subject: Re: Upgrading an i386 machine from amd64. References: <538B61EC.9000403@mu.org> <538B7778.3040205@freebsd.org> <538B9158.5040409@delphij.net> In-Reply-To: <538B9158.5040409@delphij.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 21:06:54 -0000 On 06/01/14 13:47, Xin Li wrote: > -----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. > Huh. It works great on PowerPC with 64-bit kernels and 32-bit worlds -- has for years. I assumed i386 would be the same way. In any case, I guess it's enough to get into single user mode and run installworld? -Nathan