Date: Fri, 28 Oct 2005 15:34:57 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: current@freebsd.org Subject: Re: TSC instead of ACPI: powerd doesn't work anymore (to be expected?) Message-ID: <20051028153457.d0wqgn2ask4sgw4k@netchild.homeip.net> In-Reply-To: <30595.1130493297@critter.freebsd.dk> References: <30595.1130493297@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp <phk@phk.freebsd.dk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051028153457.d0wqgn2ask4sgw4k>