From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 13:35:09 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 0DB4016A41F for ; Fri, 28 Oct 2005 13:35:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE04843D70 for ; Fri, 28 Oct 2005 13:35:03 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5C8DF.dip.t-dialin.net [84.165.200.223]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j9SDF0sY063171; Fri, 28 Oct 2005 15:15:01 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j9SDYvaq056258; Fri, 28 Oct 2005 15:34:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by netchild.homeip.net (Horde MIME library) with HTTP; Fri, 28 Oct 2005 15:34:57 +0200 Message-ID: <20051028153457.d0wqgn2ask4sgw4k@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 28 Oct 2005 15:34:57 +0200 From: Alexander Leidinger To: Poul-Henning Kamp References: <30595.1130493297@critter.freebsd.dk> In-Reply-To: <30595.1130493297@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new 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 13:35:09 -0000 Poul-Henning Kamp wrote: > In message <20051028112833.7vs98zpvy808s04k@netchild.homeip.net>, > Alexander Lei > dinger writes: >> Hi, >> >> 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. >> >> Is this expected, or is this a bug? >> >> If this is expected: >> - powerd fails with an unhelpful message > > Alexander sends unhelpful bug report without including unhelpful message :-) :-) I don't have the message at hand. I just had time to write the mail, but I don't have my laptop with me to reproduce the message. But it's easy to reproduce, just take a PC which is able to make use of powerd and switch to using TSC as the timecounter. > In general, if you run powerd to change your cpu clock (= TSC > frequency), using TSC as timecounter is _not_ what you want to do. Is it not possible to recalibrate on frequency change, or is it "just" that nobody wrote the code do to it? We need to document this in the powerd man-page and let powerd tell the user if he tries to run in this unsupported mode. Any volunteers (I'm moving my PC's to the new appartment at the weekend, so I can't volunteer)? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 The relative importance of files depends on their cost in terms of the human effort needed to regenerate them. -- T.A. Dolotta