k8temp support for Phenom II 965?

Mars G Miro spry at anarchy.in.the.ph
Mon Dec 28 05:24:32 UTC 2009


On Mon, Dec 28, 2009 at 12:59 PM, Kevin Oberman <oberman at es.net> wrote:
>> Date: Mon, 28 Dec 2009 12:17:15 +0800
>> From: Mars G Miro <spry at anarchy.in.the.ph>
>> Sender: owner-freebsd-stable at freebsd.org
>>
>> Any chance ?
>>
>> root at phenom965:~# k8temp -nd
>> CPUID: Vendor: AuthenticAMD, 0x100f42: Model=04 Family=f+1 Stepping=2
>> Advanced Power Management=0x1f9
>>    Temperature sensor: Yes
>>  Frequency ID control: No
>>    Voltage ID control: No
>>     THERMTRIP support: Yes
>>    HW Thermal control: Yes
>>    SW Thermal control: Yes
>>    100MHz multipliers: Yes
>>    HW P-State control: Yes
>>         TSC Invariant: Yes
>> Temp=c1880
>> ThermTrip=1ec01030
>> 0
>>
>>
>> from dmesg:
>> ...
>> CPU: AMD Phenom(tm) II X4 965 Processor (3411.64-MHz K8-class CPU)
>>   Origin = "AuthenticAMD"  Id = 0x100f42  Stepping = 2
>>   Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>>   Features2=0x802009<SSE3,MON,CX16,POPCNT>
>>   AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
>>   AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
>>   TSC: P-state invariant
>> ...
>>
>> this is on 8.0-RELEASE-p1, thanks.
>
> I think you want to load the amdtemp kernel module for a Phenom. Temps


I've never had to load the amdtemp module on my Phenom II X4 940, tho


> should be readable from 'sysctl dev.cpu | grep temperature'.
>
> I think the Phenom II also supports PowerNow and Cool'n'Quiet, so it
> should have both frequency and voltage control.

done, still the same:

root at phenom965:~# sysctl -a | grep temperature
dev.cpu.0.temperature: 0.0C
dev.cpu.1.temperature: 0.0C
root at phenom965:~# k8temp -dn
CPUID: Vendor: AuthenticAMD, 0x100f42: Model=04 Family=f+1 Stepping=2
Advanced Power Management=0x1f9
   Temperature sensor: Yes
 Frequency ID control: No
   Voltage ID control: No
    THERMTRIP support: Yes
   HW Thermal control: Yes
   SW Thermal control: Yes
   100MHz multipliers: Yes
   HW P-State control: Yes
        TSC Invariant: Yes
Temp=c1880
ThermTrip=1ec01030
0
root at phenom965:~#


> --
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman at es.net                  Phone: +1 510 486-8634
> Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
>



-- 
cheers
mars
-----
Stephen Leacock  - "I detest life-insurance agents: they always argue
that I shall some day die, which is not so." -
http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html


More information about the freebsd-stable mailing list