From owner-freebsd-sparc64@FreeBSD.ORG Sun Feb 15 23:10:17 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B99616A4CE; Sun, 15 Feb 2004 23:10:17 -0800 (PST) Received: from saturn.criticalmagic.com (saturn.criticalmagic.com [68.213.16.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D76A43D1D; Sun, 15 Feb 2004 23:10:17 -0800 (PST) (envelope-from richardcoleman@mindspring.com) Received: from mindspring.com (titan.criticalmagic.com [68.213.16.23]) by saturn.criticalmagic.com (Postfix) with ESMTP id 9C8E03BD10; Mon, 16 Feb 2004 02:10:16 -0500 (EST) Message-ID: <40306CE7.6080104@mindspring.com> Date: Mon, 16 Feb 2004 02:10:31 -0500 From: Richard Coleman Organization: Critical Magic, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@FreeBSD.ORG cc: sparc64@FreeBSD.ORG Subject: Re: Back to the Future - 64-bit time_t on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: richardcoleman@mindspring.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 07:10:17 -0000 Garance A Drosihn wrote: > > Well, I have done more typing and testing, and it looks like I > can reliably upgrade a 32-bit time_t system to 64-bit time_t > even for people who install from NFS-mounted partitions. > > I have also expanded the instructions for updating, and tried > to make them more useful and informative. So there is now the > writeup, and two useful scripts: > > http://people.freebsd.org/~gad/time-64/UPDATING.64BTT > http://people.freebsd.org/~gad/time-64/installworld_oldk > http://people.freebsd.org/~gad/time-64/installworld_newk > > The 'oldk' script is only needed for installing via NFS mounts. > The 'newk' script is recommended for anyone doing this upgrade. > > Adventurous people are invited to try this for installs on any > system, and let me know how it goes I have completed a successful move to 64bit time_t using your instructions. This is on a Netra t1 using cvs sources from Saturday morning. Everything went smoothly. The only thing I did differently was rather than using portupgrade to rebuild all my ports, I played it safe and did a pkg_deinstall '*' right before booting into the new kernel. Then after using the script installworld_newk (and booting again), I reinstalled perl, ruby, and portupgrade. Then I used portinstall to install the rest of my ports. So far, no problems. Richard Coleman richardcoleman@mindspring.com