From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 20 02:14:38 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F5B516A41F for ; Wed, 20 Jul 2005 02:14:38 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBEEB43D45 for ; Wed, 20 Jul 2005 02:14:37 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.18.212] (CPE-18-212.dsl.OntheNet.net [203.144.18.212]) by liberty.onthenet.com.au (8.12.9 - 20030918/8.12.9) with ESMTP id j6K2Eb7v036654; Wed, 20 Jul 2005 12:14:37 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <42DDB3A1.5080502@freebsd.org> Date: Wed, 20 Jul 2005 12:14:57 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 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 Subject: Re: Minor issues of time on PPC X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 02:14:38 -0000 > I find that if I boot into MacOS, and open up the date&time control > panel there to force a reset of the time, then the time will be > within a quarter-second of the correct time when I then reboot back > into FreeBSD. So it seems that MacOS knows to set something in the > (firmware|PRAM) that FreeBSD isn't setting? Yeh, I agree, timekeeping isn't going to be that great on FreeBSD/PPC at the moment. OpenFirmware is used to read the RTC, but it's never written back: any attempt by NTP to set the time is silently ignored. This will be fixed when the external PMU is accessed directly (needed for notebook kbd/trackpad access), so the time can actually be set. later, Peter.