From owner-freebsd-stable@FreeBSD.ORG Wed Mar 1 00:48:04 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 0CC0016A420 for ; Wed, 1 Mar 2006 00:48:04 +0000 (GMT) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (corp.grupos.com.br [200.193.29.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B43943D45 for ; Wed, 1 Mar 2006 00:48:03 +0000 (GMT) (envelope-from mnag@FreeBSD.org) Received: from [192.168.0.127] (unknown [201.64.84.119]) (Authenticated sender: marcus@corp.grupos.com.br) by corp.grupos.com.br (Postfix) with ESMTP id 519635500; Tue, 28 Feb 2006 21:48:01 -0300 (BRT) Message-ID: <4404EF3F.8050006@FreeBSD.org> Date: Tue, 28 Feb 2006 21:47:59 -0300 From: Marcus Alves Grando Organization: Grupos Internet S/A User-Agent: Thunderbird 1.5 (X11/20060114) MIME-Version: 1.0 To: Nate Lawson References: <4404E852.80908@FreeBSD.org> <4404EC20.8030500@root.org> In-Reply-To: <4404EC20.8030500@root.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:48:04 -0000 Well, works. Thanks. It's possible to printf some message about this if kern.timecounter.hardware != ACPI-fast? Or add message in cpufreq(4)? Thanks Nate Lawson wrote: > 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. > -- Marcus Alves Grando marcus(at)corp.grupos.com.br | Grupos Internet S/A mnag(at)FreeBSD.org | FreeBSD.org