From owner-freebsd-current@FreeBSD.ORG Tue Sep 23 15:50:48 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11EDC106568B for ; Tue, 23 Sep 2008 15:50:48 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD058FC17 for ; Tue, 23 Sep 2008 15:50:42 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 0004F35AC2; Tue, 23 Sep 2008 17:50:38 +0200 (CEST) Date: Tue, 23 Sep 2008 09:50:54 -0600 From: cpghost To: "fluffles.net" Message-ID: <20080923155054.GA1382@phenom.cordula.ws> References: <200809070036.m870a3NC001532@softbank219001162114.bbtec.net> <48D72F0E.7040501@fluffles.net> <200809222345.m8MNjxjF064795@softbank219001162114.bbtec.net> <20080923133617.GA928@phenom.cordula.ws> <48D8F550.7080000@fluffles.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48D8F550.7080000@fluffles.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "G. Otsuji" , FreeBSD Current Subject: Re: AMD Family 10h cpufreq driver 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: Tue, 23 Sep 2008 15:50:48 -0000 On Tue, Sep 23, 2008 at 03:55:28PM +0200, fluffles.net wrote: > cpghost wrote: > > On Tue, Sep 23, 2008 at 08:45:59AM +0900, G. Otsuji wrote: > > > >> Hi, > >> I foget to say that debug.cpufreq.lowest=1200 in > >> /boot/loader.conf and running powerd is my stable state. > >> > > > > I didn't test your patch yet, but this is the lowest freq I can > > use on my > > AMD Phenom(tm) 9350e Quad-Core Processor (2000.08-MHz K8-class CPU) > > running > > FreeBSD 7.1-PRE as of Sept 5. (/i386 *and* /amd64) > > > > If I go below that, the system freezes hard, and I have to power cycle > > the motherboard to recover. But, again, this is without your patch. > > I look forward to test it as soon as I can. :) > > > > This may also be a hardware issue. Some buck converters on the > motherboard's VRM (Voltage Regulator Module) do not like switching from > very low idle drain to much higher one very quickly. I had one user > report about that who uses Windows. > > Have you tried switching manually gradually down without any load? You > need to change the debug.cpufreq.lowest together with dev.cpu.0.freq The first time I've noticed this was when enabling powerd. As soon as powerd reached 1200 from above, the machine froze. So I disabled powerd and tried manually to switch dev.cpu.0.freq back one step at a time (waiting quite some time, i.e. many minutes both idle and under load). It didn't make any difference: motherboard freeze at ANY freq. lower than 1200, wether switching fast or gradually, idle or not. That's why I have debug.cpufreq.lowest="1240" in my /boot/loader.conf, and why I hope that G. Otsuji's driver will help. :) > Also, it would be nice if i could see the voltage levels somewhere (in > sysctl?), but i haven't found it yet. Yep, same here. > Cheers, > Veronica -cpghost. -- Cordula's Web. http://www.cordula.ws/