From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 11 19:52:38 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13CAE1065678; Fri, 11 Jul 2008 19:52:38 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi101.prodigy.net (nlpi101.prodigy.net [207.115.36.117]) by mx1.freebsd.org (Postfix) with ESMTP id EB9E88FC0A; Fri, 11 Jul 2008 19:52:37 +0000 (UTC) (envelope-from nate@root.org) X-ORBL: [71.139.5.128] Received: from [10.0.5.18] (ppp-71-139-5-128.dsl.snfc21.pacbell.net [71.139.5.128]) by nlpi101.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m6BJgFtS032759; Fri, 11 Jul 2008 14:42:15 -0500 Message-ID: <4877B797.9020209@root.org> Date: Fri, 11 Jul 2008 12:42:15 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Jeremy Chadwick References: <20080711193815.GA63636@eos.sc1.parodius.com> In-Reply-To: <20080711193815.GA63636@eos.sc1.parodius.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 11 Jul 2008 19:58:14 +0000 Cc: freebsd-hackers@FreeBSD.org Subject: Re: AuthenticAMD, cpufreq and SunFire X2200 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 19:52:38 -0000 Jeremy Chadwick wrote: > On Fri, Jul 11, 2008 at 09:40:11PM +0300, Danny Braniss wrote: >>> On Fri, Jul 11, 2008 at 03:57:00PM +0300, Danny Braniss wrote: >>>> Hi, >>>> I'm trying to find out why there is no frequency info. >>>> ie: >>>> sunfire> sysctl dev.cpu.0 >>>> dev.cpu.0.%desc: ACPI CPU >>>> dev.cpu.0.%driver: cpu >>>> dev.cpu.0.%location: handle=\_PR_.P001 >>>> dev.cpu.0.%pnpinfo: _HID=none _UID=0 >>>> dev.cpu.0.%parent: acpi0 >>>> dev.cpu.0.cx_supported: C1/0 >>>> dev.cpu.0.cx_lowest: C1 >>>> dev.cpu.0.cx_usage: 100.00% >>>> >>>> so any help/insight is most welcome. >>>> >>>> BTW, its 7.0-stable >>> Is the cpufreq device in your kernel config? Do the SunFire X2200's >>> provide any sort of frequency data in their ACPI tables? Are there BIOS >>> settings which are relevant to this board enabling Cool'n'Quiet or >>> anything else of that nature (thus inducing the use of powernow(4))? >>> >> device is configured: >> config -x /boot/kernel/kernel | grep -a cpufreq >> device cpufreq >> the BIOS has powernow enabled (or something similar). >> the kernel prints: >> ... >> powernow0: on cpu0 >> powernow0: STATUS: 0x3106120806120212 >> powernow0: STATUS: maxfid: 0x12 >> powernow0: STATUS: maxvid: 0x06 >> ... >> the same is repeated for cpu 1,2,3,4,5,6 & 7 - yes it's a dual quad. >> >> which seem to indicate that it didn't like the ACPI data it got - this by >> comparing with other amd's that do report correctly. >> >> as to the question '...any sort of frequency data in their ACPI tables' >> I tried to 'read' the ACPI data, but didn't understand the language :-( > > First and foremost, please don't remove the mailing list from the CC > line; others need to know the technical details. > > I don't have an answer for you, however. Nate Lawson might have some > ideas as to what's going on. A verbose boot may be needed. I've > CC'd Nate here. Looks like someone should check the AMD datasheets and/or acpidump. I'm currently not an active committer though. -- Nate