From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 19 05:02:52 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 3321916A41C for ; Tue, 19 Jul 2005 05:02:52 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEE7443D45 for ; Tue, 19 Jul 2005 05:02:51 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j6J52oNK021672 for ; Tue, 19 Jul 2005 01:02:50 -0400 Mime-Version: 1.0 Message-Id: Date: Tue, 19 Jul 2005 01:02:49 -0400 To: freebsd-ppc@FreeBSD.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.3 Cc: Subject: 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: Tue, 19 Jul 2005 05:02:52 -0000 I've noticed a few minor issues with tracking the present time on my Mac-mini. First, it seemed that every time the system reboots, ntpdate has had to correct the time. And it's often off by minutes -- even if the system had just rebooted and the previous reboot had just corrected the time. And if I do a 'date' immediately after a reboot, it does display the present time. Second, while ntpdate does seem to correct the time just fine, it seems that /usr/sbin/ntpd can't quite keep my Mac at the right time. For instance, in my last reboot it seems the clock drifted about 50 seconds after being up for five hours. Hmm. I just noticed that ntpd is running with '-f /var/db/ntpd.drift' -- but that file does not exist. But then, it doesn't exist on my other freebsd machines, and they all seem to keep accurate time. Still, I'm going to try creating that file and see if it does any good. 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? Sorry this isn't as detailed as it might be. I keep meaning to write things like this which "don't seem quite right on PPC", but never find the time to dig into the details... (other examples: - locate doesn't seem to work at all, which I actually have started to look into a bit. - entries in /etc/hosts.allow to deny sshd might not be working right ) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu