From owner-freebsd-stable@FreeBSD.ORG Wed Mar 1 00:34:57 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A2B516A420; Wed, 1 Mar 2006 00:34:57 +0000 (GMT) (envelope-from nate@root.org) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77A8643D5F; Wed, 1 Mar 2006 00:34:53 +0000 (GMT) (envelope-from nate@root.org) Received: from pimout5-ext.prodigy.net (pimout5-int.prodigy.net [207.115.4.21]) by ylpvm01.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k210Yp2D017454; Tue, 28 Feb 2006 19:34:51 -0500 X-ORBL: [71.139.114.10] Received: from [10.0.5.50] (ppp-71-139-114-10.dsl.snfc21.pacbell.net [71.139.114.10]) by pimout5-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id k210YpIj234856; Tue, 28 Feb 2006 19:34:51 -0500 Message-ID: <4404EC20.8030500@root.org> Date: Tue, 28 Feb 2006 16:34:40 -0800 From: Nate Lawson User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Marcus Alves Grando References: <4404E852.80908@FreeBSD.org> In-Reply-To: <4404E852.80908@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: sysctl: dev.cpu.0.freq: Device busy (cpufreq p4tcc / RELENG_6) 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: Wed, 01 Mar 2006 00:34:57 -0000 Marcus Alves Grando wrote: > I have problems in cpufreq in RELENG_6 (today). > > I try to set another frequency in my laptop and get this error: > > # sysctl dev.cpu.0.freq=250 > dev.cpu.0.freq: 2000 > sysctl: dev.cpu.0.freq: Device busy > > Timecounter "TSC" frequency 1995011972 Hz quality 800 > Timecounters tick every 1.000 msec Try setting your timecounter to acpi or i8254 (not TSC): sysctl kern.timecounter.hardware="acpi" Without complicated recalibration code (which no one has written yet), we can't base our system time off the TSC counter when cpufreq is changing it. -- Nate