From victor@alf.dyndns.ws  Fri Feb 24 12:10:39 2006
Return-Path: <victor@alf.dyndns.ws>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 012A916A420
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Feb 2006 12:10:39 +0000 (GMT)
	(envelope-from victor@alf.dyndns.ws)
Received: from alf.dyndns.ws (244.Red-217-126-240.staticIP.rima-tde.net [217.126.240.244])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1EC6343D46
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Feb 2006 12:10:34 +0000 (GMT)
	(envelope-from victor@alf.dyndns.ws)
Received: from alf.dyndns.ws (7drvx1aw8odu5opf@alf [217.126.240.244])
	by alf.dyndns.ws (8.13.1/8.13.1) with ESMTP id k1OCAXXl030218
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Feb 2006 13:10:33 +0100 (CET)
	(envelope-from victor@alf.dyndns.ws)
Received: (from victor@localhost)
	by alf.dyndns.ws (8.13.1/8.13.1/Submit) id k1OCAWg9030217;
	Fri, 24 Feb 2006 13:10:32 +0100 (CET)
	(envelope-from victor)
Message-Id: <200602241210.k1OCAWg9030217@alf.dyndns.ws>
Date: Fri, 24 Feb 2006 13:10:32 +0100 (CET)
From: Victor Balada Diaz <victor@bsdes.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: cpufreq missing frequencies 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         93790
>Category:       kern
>Synopsis:       [cpufreq] cpufreq missing frequencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 24 12:20:03 GMT 2006
>Closed-Date:    
>Last-Modified:  Tue Jul 16 09:22:18 UTC 2013
>Originator:     Victor Balada Diaz
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD patata.euesrg02.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fr
i Feb 17 19:29:19 CET 2006 victor@patata.euesrg02.net:/usr/obj/usr/src/sys/MYDEB
UG i386

Hardware: Vaio VGN-S4XP

CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8
  Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
  AMD Features=0x100000<NX>

relevant sysctls:

hw.clockrate: 1995
dev.cpu.0.freq: 225
dev.cpu.0.freq_levels: 1500/-1 1312/-1 1200/-1 1050/-1 1000/-1 875/-1 800/-1 700/-1 600/-1 525/-1 450/-1 375/-1 300/-1 225/-1 150/-1 75/-1
dev.est.0.%desc: Enhanced SpeedStep Frequency Control
dev.est.0.freq_settings: 1500/-1 1200/-1 1000/-1 800/-1 600/-1
dev.cpufreq.0.%driver: cpufreq
dev.cpufreq.0.%parent: cpu0
dev.p4tcc.0.%desc: CPU Frequency Thermal Control
dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1


	
>Description:
	cpufreq just detects frequecies up to 1500 mhz, but this CPU have
	a frequency up to 2000 mhz.
	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: cperciva 
State-Changed-When: Sat Feb 25 05:06:32 UTC 2006 
State-Changed-Why:  
The Enhanced SpeedStep driver was written before Intel released mobile 
processors with a 533MHz bus speed; it is recognizing the processor as 
having a 15x clock multiplier, and deciding that this means it is a 1.5GHz 
processor. 

This means that the Enhanced SpeedStep code has incorrectly recognized the 
processor and there may be frequencies which the driver is unable to use; 
but the main effect is simply that the frequencies are printed incorrectly: 
The frequency 2.0GHz is reported as 1.5GHz, the frequency 800MHz is reported 
as 600MHz, etc. 

Until this can be fixed properly, I suggest ignoring the frequency information 
returned by the driver; if the submitter uses powerd(8) he will find that it 
operates just as well in spite of the driver being somewhat confused. 



Responsible-Changed-From-To: freebsd-bugs->cperciva 
Responsible-Changed-By: cperciva 
Responsible-Changed-When: Sat Feb 25 05:06:32 UTC 2006 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=93790 
State-Changed-From-To: analyzed->open 
State-Changed-By: eadler 
State-Changed-When: Tue May 8 00:14:31 UTC 2012 
State-Changed-Why:  
to the pool 


Responsible-Changed-From-To: cperciva->freebsd-bugs 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Tue May 8 00:14:31 UTC 2012 
Responsible-Changed-Why:  
to the pool 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93790 
>Unformatted:
