Date: Sun, 01 Jun 2014 13:47:20 -0700 From: Xin Li <delphij@delphij.net> To: Nathan Whitehorn <nwhitehorn@freebsd.org>, freebsd-hackers@freebsd.org Subject: Re: Upgrading an i386 machine from amd64. Message-ID: <538B9158.5040409@delphij.net> In-Reply-To: <538B7778.3040205@freebsd.org> References: <538B61EC.9000403@mu.org> <538B7778.3040205@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538B9158.5040409>