From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 15 17:08:03 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43AB616A407 for ; Mon, 15 Jan 2007 17:08:03 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.freebsd.org (Postfix) with ESMTP id D6B2313C480 for ; Mon, 15 Jan 2007 17:08:02 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1H6V2y-0001yB-00; Mon, 15 Jan 2007 17:51:00 +0100 Date: Mon, 15 Jan 2007 17:51:00 +0100 To: Patrick Proniewski Message-ID: <20070115165059.GP4945@poupinou.org> References: <87A429B7-46CD-426B-A56F-07D57F2E769E@patpro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87A429B7-46CD-426B-A56F-07D57F2E769E@patpro.net> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org Subject: Re: acpi ok but cpufreq not supporting my CPUs X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 17:08:03 -0000 On Sun, Jan 14, 2007 at 10:02:06PM +0100, Patrick Proniewski wrote: > Hello, > > I have a FreeBSD box running 6.2R on 2 dual core Xeon LV (sossaman). > Vanilla ACPI is supported, and powerd works great. But advanced > features are unavailable because cpufreq won't recognize my CPUs. For > example, as acpi will only reduce frequency and not voltage, the CPU > remains at the same temperature. > I've read on http://www.daemonology.net/freebsd-est/ that "est" port, > from where comes cpufreq's "est", won't handle multiple CPUs. Is that > still true ? Yes and no. There are some fundamental changes to be made into src/sys/kern/kern_cpu.c especially when bi-core comes to the game. By now, I don't think est is touched by those but I maybe wrong. I think Nate may have more to say, since anyway he now have such duo-core IIRC. > > dmesg (part of): > FreeBSD 6.2-RELEASE #0: Sun Jan 14 20:48:28 CET 2007 > > CPU: Intel(R) Xeon(TM) CPU 000 @ 1.66GHz (1666.79-MHz 686- > class CPU) > Origin = "GenuineIntel" Id = 0x6e8 Stepping = 8 > > Features=0xbfebfbff ,MCA,CMOV,PAT,PSE36, > CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=0xc1a9,> > AMD Features=0x100000 > Cores per package: 2 > > > cpu0: on acpi0 > est0: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr a1e0a1e06000a1e > device_attach: est0 attach returned 6 > p4tcc0: on cpu0 > > (same for cpu1/2/3) > > Is there anything I can do to make "est" work with the sossaman CPU ? > > thanks in advance, > It's not possible, AFAIK, to build a static table for your processor, and in that case, we have to use an ACPI table in order to compute a custom table. If such information is not available, then there is little hope to make est working, being an SMP problem or not is not your problem I'm afraid. It maybe possible you forgot a BIOS option somewhat so such this configuration will be generated and exposed via ACPI though, or maybe you have to upgrade to a newer BIOS. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.