From owner-freebsd-acpi@FreeBSD.ORG Fri Feb 25 03:41:09 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DEE016A4CE; Fri, 25 Feb 2005 03:41:09 +0000 (GMT) Received: from leguin.anholt.net (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FA5E43D5E; Fri, 25 Feb 2005 03:41:08 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from leguin.anholt.net (localhost [127.0.0.1]) by leguin.anholt.net (8.13.3/8.13.1) with ESMTP id j1P3f7ak004192; Thu, 24 Feb 2005 19:41:07 -0800 (PST) (envelope-from anholt@FreeBSD.org) Received: (from anholt@localhost) by leguin.anholt.net (8.13.3/8.13.1/Submit) id j1P3f7kx004191; Thu, 24 Feb 2005 19:41:07 -0800 (PST) (envelope-from anholt@FreeBSD.org) X-Authentication-Warning: leguin.anholt.net: anholt set sender to anholt@FreeBSD.org using -f From: Eric Anholt To: John Baldwin In-Reply-To: <200502241437.26073.jhb@FreeBSD.org> References: <200502241437.26073.jhb@FreeBSD.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 24 Feb 2005 19:41:06 -0800 Message-Id: <1109302866.3709.5.camel@leguin> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port cc: acpi@FreeBSD.org cc: njl@FreeBSD.org Subject: Re: cpufreq not happy on my laptop X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: eta@lclark.edu List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 03:41:09 -0000 On Thu, 2005-02-24 at 14:37 -0500, John Baldwin wrote: > Nate, > > First off, this is the big green laptop that has a desktop P4 in it, so I'm > aware that this is very much an edge case. The system does support ACPI duty > width type throttling and even has the T2 and T3 constants for use with _PSV. > I tried cpufreq(4) on it with the recent updates and it's not too happy. > Before the p4tcc driver was added, this is what I got: > > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2392.25-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 > Features=0x3febf9ff AT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> > ... > cpu0: on acpi0 > acpi_throttle0: on cpu0 > acpi_perf0: on cpu0 > > dev.cpu.0.%desc: ACPI CPU (3 Cx states) > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.CPU0 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.freq: -1 > dev.cpu.0.freq_levels: 9999/99999 9999/99999 8749/87499 7499/74999 6249/62499 4999/49999 3749/37499 2499/24999 1249/12499 > > After building a kernel from yesterday, I get this output: > > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2392.25-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 > Features=0x3febf9ff AT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> > ... > cpu0: on acpi0 > acpi_throttle0: on cpu0 > p4tcc0: on cpu0 > acpi_perf0: on cpu0 > > dev.cpu.0.%desc: ACPI CPU (3 Cx states) > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.CPU0 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.freq: -1 > dev.cpu.0.freq_levels: 9999/99999 9999/99999 8749/87499 7655/76561 7499/74999 6561/65624 6249/62499 5624/56249 5468/54686 4999/49999 4686/46874 4374/43749 3905/39061 3749/37499 3280/32812 3124/31249 2812/28124 2499/24999 2343/23437 2187/21874 1874/18749 1562/15624 1405/14062 1249/12499 1093/10937 937/9374 781/7812 624/6249 468/4687 312/3124 156/1562 > > In addition, the newer kernel breaks Xorg, though that may not be cpufreq's problem: > > Release Date: 18 December 2003 > X Protocol Version 11, Revision 0, Release 6.7 > Build Operating System: FreeBSD 5.2 i386 [ELF] > Current Operating System: FreeBSD slimer.baldwin.cx 6.0-CURRENT FreeBSD 6.0-CURR > ENT #27: Wed Feb 23 17:42:59 EST 2005 john@slimer.baldwin.cx:/usr/src/sys/i3 > 86/compile/SLIMER i386 > Build Date: 11 August 2004 > Before reporting problems, check http://wiki.X.Org > to make sure that you have the latest version. > Module Loader present > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 24 14:23:41 2005 > (==) Using config file: "/etc/X11/xorg.conf" > (EE) RADEON(0): [drm] Failed to map vertex/indirect buffers list > Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from > list! > (EE) RADEON(0): RADEONCPGetBuffer: CP GetBuffer -1020 > (EE) RADEON(0): GetBuffer timed out, resetting engine... > (EE) RADEON(0): RADEONCPGetBuffer: CP reset -1020 > (EE) RADEON(0): RADEONCPGetBuffer: CP start -1020 > (EE) RADEON(0): RADEONCPGetBuffer: CP GetBuffer -1020 > (EE) RADEON(0): GetBuffer timed out, resetting engine... > (EE) RADEON(0): RADEONCPGetBuffer: CP reset -1020 > (EE) RADEON(0): RADEONCPGetBuffer: CP start -1020 > > (last messages repeat until they filled up /var) This is phk's fault -- he intentionally broke the drm. He described how it should be fixed, but I just don't have the time to do it right now (though I did have a major update for the DRM almost ready to merge). -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org