From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 7 21:22:03 2007 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64D4C16A400 for ; Sat, 7 Apr 2007 21:22:03 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 2329B13C465 for ; Sat, 7 Apr 2007 21:22:02 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1318474ana for ; Sat, 07 Apr 2007 14:22:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Uf6so15jHnik8eFbZdbdWmpdnUmh2mlkRE5DtrRJ8CycmOyoAHhwYX3excPzDsLjfW92i3Vs7Ahx3uOhrcSwh8V2GVGLxpAlqrhA7l+0YDiPHlGMVGTrQO/NBSqSLOZ7HGJXE3D9aOJvchLnQxY+DXuLXTgdpTwUk9HmuW/d7jU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KUaY47FMgMylb/io2dBA4twkvgg7SVdTLsPCz+QPGIp2di6Q3lv+7VIjNIffZVSnN5zZXhLMslDEGXX0eGXaOd4sArdNbY7o7G8RMt2Mx4gKgTmCQGzkRsv0A5X0v6brqGeF9zqxsDdCb4WX0YHAUBkQ5edELeniVQ3sPP6pNYo= Received: by 10.100.143.1 with SMTP id q1mr2978398and.1175980922348; Sat, 07 Apr 2007 14:22:02 -0700 (PDT) Received: by 10.100.109.18 with HTTP; Sat, 7 Apr 2007 14:22:02 -0700 (PDT) Message-ID: <790a9fff0704071422s6cdaf0c5nf60bd1bd253c1944@mail.gmail.com> Date: Sat, 7 Apr 2007 16:22:02 -0500 From: "Scot Hetzel" To: "Evren Yurtesen" In-Reply-To: <4617EE46.1030408@ispro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4617BF0C.80506@ispro.net> <790a9fff0704071131u73acf008mc3d102d1a619312a@mail.gmail.com> <4617E700.5020302@ispro.net> <790a9fff0704071200t3122b077s9779e6da86c9fe9f@mail.gmail.com> <4617EE46.1030408@ispro.net> Cc: freebsd-amd64@freebsd.org Subject: Re: powerd on Sempron 3400+ X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 21:22:03 -0000 On 4/7/07, Evren Yurtesen wrote: > Scot Hetzel wrote: > > On 4/7/07, Evren Yurtesen wrote: > >> >> Any suggestions on debugging it? > >> >> > >> > Try adding the following to /boot/loader.conf: > >> > > >> > hint.acpi_throttle.0.disabled="1" > >> > > >> > Scot > >> > >> Scot, as long as I dont run powerd, things do work fine. What does this > >> setting do exactly? > >> > > It disables ACPI CPU throttling driver, which is the cause of the lock > > ups when running powerd. > > > > I will try it first thing tomorrow. I also see: > > dev.cpu.0.freq_levels: 1002/-1 939/-1 876/-1 814/-1 751/-1 688/-1 626/-1 563/-1 501/-1 438/-1 375/-1 313/-1 250/-1 187/-1 125/-1 62/-1 > > Shouldnt it show ~1800 as a level? This is the processor > > CPU: AMD Sempron(tm) Processor 3200+ (1800.01-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x40ff2 Stepping = 2 > Features=0x78bfbff > Features2=0x2001 > AMD Features=0xea500800 > AMD Features2=0x19,CR8> > > Bios DSDT seems to be reporting only 1800mhz and 800mhz (from PSS_ values) > > This is all very confusing, why do powerd try to set other values than the ones given by bios? > Because the ACPI CPU throttling driver is adding those extra frequencies to the available frequencies. Bruno Ducrot is aware of the problem and was going to take a look at fixing the problem when he had some spare time. On 1/12/07, Bruno Ducrot wrote: > Thanks you so much for your report. That pretty strange, because I'm > aware of problems when acpi_throttle hang when going to the lowest freq > available, and the only way to "fix" this is to not allow that frequency > by tweaking the sysctl debug.cpufreq.lowest (and is a known errata from > some Intel southbridge btw). > > Well, I'll take a look at that one more closely. On the other hand, > since acpi_throttle don't save a lot of power (compared to powernow), > I must admit this will be a low priority todo for me though. NOTE: The strange ness he is refering to is that on my system, it hung at a relatively high freq when ACPI CPU throttling was enabled. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.