From owner-freebsd-stable@FreeBSD.ORG Fri Feb 12 12:29:54 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93CBF106568F for ; Fri, 12 Feb 2010 12:29:54 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id 50C8D8FC1E for ; Fri, 12 Feb 2010 12:29:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KXQ00FVFAPNQH40@bgo1smout1.broadpark.no> for freebsd-stable@freebsd.org; Fri, 12 Feb 2010 13:29:47 +0100 (CET) Received: from kg-v2.kg4.no ([80.203.92.186]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KXQ00H24APNHVM2@bgo1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Fri, 12 Feb 2010 13:29:47 +0100 (CET) Date: Fri, 12 Feb 2010 13:29:47 +0100 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20100212132947.eb2af3d0.torfinn.ingolfsen@broadpark.no> In-reply-to: <20100211192515.GB13854@icarus.home.lan> References: <20100211190652.6a66c618.torfinn.ingolfsen@broadpark.no> <20100211192515.GB13854@icarus.home.lan> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.6; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: ntpd struggling to keep up - how to fix? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 12:29:54 -0000 On Thu, 11 Feb 2010 11:25:15 -0800 Jeremy Chadwick wrote: > > Your machine has a rapidly drifting clock, usually an indicator of a > hardware problem (crystal gone bad is a common one -- seen this at work > quite a few times), or possibly a bad time counter source chosen by the > kernel. Can you please provide the output of: > > sysctl kern.timecounter Here it is: root@kg-f2# sysctl kern.timecounter kern.timecounter.tick: 1 kern.timecounter.choice: TSC(-100) HPET(900) ACPI-safe(850) i8254(0) dummy(-1000000) kern.timecounter.hardware: HPET kern.timecounter.stepwarnings: 0 kern.timecounter.tc.i8254.mask: 65535 kern.timecounter.tc.i8254.counter: 52444 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.ACPI-safe.mask: 4294967295 kern.timecounter.tc.ACPI-safe.counter: 3252982815 kern.timecounter.tc.ACPI-safe.frequency: 3579545 kern.timecounter.tc.ACPI-safe.quality: 850 kern.timecounter.tc.HPET.mask: 4294967295 kern.timecounter.tc.HPET.counter: 3443625641 kern.timecounter.tc.HPET.frequency: 14318180 kern.timecounter.tc.HPET.quality: 900 kern.timecounter.tc.TSC.mask: 4294967295 kern.timecounter.tc.TSC.counter: 1276479615 kern.timecounter.tc.TSC.frequency: 2819782573 kern.timecounter.tc.TSC.quality: -100 kern.timecounter.smp_tsc: 0 kern.timecounter.invariant_tsc: 1 > Finally, was this OS installation used on different hardware in the > past? Meaning: was the hard disk previously installed on another > machine? Nope. Brand new hw, hard drive, and FreeBSD 8.0-release install. Then I upgraded to 8.0-stable. > Why I'm asking: /var/db/ntpd.drift could be from an old > computer (the previous hardware), and the clock drift rate would be > different than that of your newer[1] hardware. No, /var/db/ntp.drift is created on this machine. -- Regards, Torfinn