From owner-freebsd-current@FreeBSD.ORG Mon Jun 30 16:21:15 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8915D106567F for ; Mon, 30 Jun 2008 16:21:15 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9BB8FC16 for ; Mon, 30 Jun 2008 16:21:15 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.64.3]) by phk.freebsd.dk (Postfix) with ESMTP id 16682170E4; Mon, 30 Jun 2008 15:54:23 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.2/8.14.2) with ESMTP id m5UFsN2v007577; Mon, 30 Jun 2008 15:54:23 GMT (envelope-from phk@critter.freebsd.dk) To: ticso@cicely.de From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 30 Jun 2008 17:17:44 +0200." <20080630151740.GQ17364@cicely7.cicely.de> Date: Mon, 30 Jun 2008 15:54:23 +0000 Message-ID: <7576.1214841263@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Bernd Walter , freebsd-current@freebsd.org Subject: Re: RTC problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 16:21:15 -0000 In message <20080630151740.GQ17364@cicely7.cicely.de>, Bernd Walter writes: >But since ntpd only tunes the softclock and never sets the RTC it >allows the RTC to run completely unsyncronized. >Is there a way to regulary trigger a write to the RTC without >disturbing ntpd, so that the offset never gets large? Ideally the adjkerntz we run in cron every night should do that. The easiest way would be to add a sysctl that when written does it, thatway systems without adjkerntz could do it with a cronjob that just sysctl's that variable directly. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.