k8temp support for Phenom II 965?

Kevin Oberman oberman at es.net
Mon Dec 28 04:59:24 UTC 2009


> 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
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.
-- 
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


More information about the freebsd-stable mailing list