From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 2 13:27:27 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 16432104; Mon, 2 Jun 2014 13:27:27 +0000 (UTC) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEE8524BA; Mon, 2 Jun 2014 13:27:26 +0000 (UTC) Received: from fwd33.aul.t-online.de (fwd33.aul.t-online.de [172.20.27.144]) by mailout12.t-online.de (Postfix) with SMTP id D212E591D0; Mon, 2 Jun 2014 15:27:17 +0200 (CEST) Received: from [192.168.119.11] (bHQaeoZBghvOKVCAILlUZUoBz1pCLyX+16eQSP7-NeXmSIBVN+vsL3xO088eVhHZMa@[84.154.115.108]) by fwd33.t-online.de with esmtp id 1WrSGg-4Wkesy0; Mon, 2 Jun 2014 15:27:14 +0200 Message-ID: <538C7BAE.5080606@freebsd.org> Date: Mon, 02 Jun 2014 15:27:10 +0200 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: 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> <538B95EB.7070806@freebsd.org> In-Reply-To: <538B95EB.7070806@freebsd.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ID: bHQaeoZBghvOKVCAILlUZUoBz1pCLyX+16eQSP7-NeXmSIBVN+vsL3xO088eVhHZMa X-TOI-MSGID: fcfa263d-84e7-4eed-88fb-05ddbedc625e 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: Mon, 02 Jun 2014 13:27:27 -0000 Am 01.06.2014 23:06, schrieb Nathan Whitehorn:> On 06/01/14 13:47, Xin Li wrote: >> On 6/1/14, 11:56 AM, Nathan Whitehorn wrote: >>> 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? It worked when I moved a system from i386 to amd64, some time back (during 10-CURRENT). No extra steps where required, AFAICR, but I created ZFS snapshots of all i386 files systems, just to be sure there was an easy fall-back path (without resorting to backups). And I kept the 32 bit version of /rescue under /rescue32, just in case ... It has been some time and I have not recently retried it - but I could start a buildworld in a i386 jail to see whether it runs to completion and produces amd64 binaries and libraries. But you could try this on your system as easily ... ;-) Regards, STefan