From owner-freebsd-stable@FreeBSD.ORG Tue May 8 12:49:05 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F0C116A401 for ; Tue, 8 May 2007 12:49:05 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9A19E13C457 for ; Tue, 8 May 2007 12:49:04 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (fybura@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l48CmvVk083217; Tue, 8 May 2007 14:49:02 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l48CmvBO083216; Tue, 8 May 2007 14:48:57 +0200 (CEST) (envelope-from olli) Date: Tue, 8 May 2007 14:48:57 +0200 (CEST) Message-Id: <200705081248.l48CmvBO083216@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, Martin Dieringer In-Reply-To: <20070508140019.I839@thinkpad.dieringer.dyndns.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 08 May 2007 14:49:02 +0200 (CEST) Cc: Subject: Re: clock problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 12:49:05 -0000 Martin Dieringer wrote: > My clock is now _15 minutes_ late, after about 1 day with powerd > running. > ntpd is running also. > Can nobody tell where the problem is here? Are you sure that your /etc/ntp.conf ist correct? Are there any messages from ntpd in /var/log/messages? What's the output from "ntpq -p"? Make sure that you have these two lines in /etc/rc.conf: ntpd_enable="YES" ntpd_sync_on_start="YES" The second one is important -- it passes the -g option to ntpd. Without that option, ntpd refuses to perform an initial correction if the clock offset is too large. If there are still problems, please show us the contents of your /etc/ntp.conf file. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd PI: int f[9814],b,c=9814,g,i;long a=1e4,d,e,h; main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a) while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}