Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jun 2014 14:06:51 -0700
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        d@delphij.net, freebsd-hackers@freebsd.org
Subject:   Re: Upgrading an i386 machine from amd64.
Message-ID:  <538B95EB.7070806@freebsd.org>
In-Reply-To: <538B9158.5040409@delphij.net>
References:  <538B61EC.9000403@mu.org> <538B7778.3040205@freebsd.org> <538B9158.5040409@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538B95EB.7070806>