From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 09:38:37 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F5B016A41F for ; Fri, 28 Oct 2005 09:38:37 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E746D43D4C for ; Fri, 28 Oct 2005 09:38:36 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-qfe3.prod.shaw.ca [10.0.141.179]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IP2008WNDGCJ160@l-daemon> for current@freebsd.org; Fri, 28 Oct 2005 03:38:36 -0600 (MDT) Received: from pn2ml9so.prod.shaw.ca ([10.0.121.7]) by pd3mr3so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IP200I4WDGCY9I0@pd3mr3so.prod.shaw.ca> for current@freebsd.org; Fri, 28 Oct 2005 03:38:36 -0600 (MDT) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.209.6]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IP200FBLDGBX0@l-daemon> for current@freebsd.org; Fri, 28 Oct 2005 03:38:36 -0600 (MDT) Date: Fri, 28 Oct 2005 02:38:35 -0700 From: Colin Percival In-reply-to: <20051028112833.7vs98zpvy808s04k@netchild.homeip.net> To: Alexander Leidinger Message-id: <4361F19B.5090902@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en X-Enigmail-Version: 0.92.1.0 References: <20051028112833.7vs98zpvy808s04k@netchild.homeip.net> User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051001) Cc: current@freebsd.org Subject: Re: TSC instead of ACPI: powerd doesn't work anymore (to be expected?) 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: Fri, 28 Oct 2005 09:38:37 -0000 Alexander Leidinger wrote: > I switched the timecounter used to use the TSC instead of the ACPI one > (/etc/sysctl.conf). After rebooting powerd refused to start. I removed the > line which changes the timecounter in sysctl.conf and powerd starts again. I haven't been keeping track of cpufreq lately, but I added a check into my est driver a long time ago to make it return EBUSY if the TSC is being used as a timecounter. This is important because otherwise all sorts of Bad Things could happen when the clock stops running at the expected rate. Colin Percival