From owner-freebsd-stable@FreeBSD.ORG Wed May 2 11:30:48 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 7EE4816A400 for ; Wed, 2 May 2007 11:30:48 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D91DB13C448 for ; Wed, 2 May 2007 11:30:47 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 02 May 2007 11:30:46 -0000 Received: from c-134-225-153.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.225.153] by mail.gmx.net (mp048) with SMTP; 02 May 2007 13:30:46 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX1+wKxMw/cWwk/iUVa4/cVAwC4tsDQePyXp5ctbTaR UMxSZyIjK3HzRT Received: (qmail 3334 invoked by uid 1001); 2 May 2007 11:30:44 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 May 2007 11:30:44 -0000 Date: Wed, 2 May 2007 13:30:44 +0200 (CEST) From: Martin Dieringer To: Ian Smith In-Reply-To: Message-ID: <20070502132901.L860@thinkpad.dieringer.dyndns.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Cc: Clayton Milos , freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 11:30:48 -0000 On Wed, 2 May 2007, Ian Smith wrote: > On Wed, 2 May 2007, Martin Dieringer wrote: > > On Tue, 1 May 2007, Martin Dieringer wrote: > > > > > On Tue, 1 May 2007, Clayton Milos wrote: > > > > > >>> Hi, > > >>> > > >>> I get about half a second time offsets after 10 seconds, and more > > >>> than 100s after half an hour or so. > > >>> I think it has to do with powerd, if I kill that, the time stays correct. > > >>> It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. > > >>> > > >>> Can this be solved? > > >>> thanks > > >>> m. > > >> > > >> This has got to do with the speed stepping of the CPU to save battery. > > >> Far as I know there's no fix yet. > > >> > > >> Guys is it possible to hack powerd to change a sysctl variable when it > > >> changes the CPU frequency or isn't it that simple? > > > > > > > > > Another effect of the problem seems to be the intermittent sound > > > output. Playback is ok when powerd is killed. > > > When changing freq by sysctl, I still get hickups in sound, so this > > > would be no solution. > > > > the hiccups have reappeared, so they are not related to powerd. > > > > I still have 0.5 seconds time offsets after 10 minutes, on the > > thinkpad, without powerd... > > I'm wondering if this might have to do with power_profile's settings of > hw.acpi.cpu.cx_lowest when moving from AC to battery power? I don't have these values, are they ACPI? I switched off ACPI on both machines, but I use APM. m.