CFT: k8temp driver

Rui Paulo rpaulo at freebsd.org
Mon Feb 11 12:39:23 PST 2008


On Feb 10, 2008, at 6:36 PM, Peter Jeremy wrote:

> On Sun, Feb 10, 2008 at 03:59:04PM +0000, Rui Paulo wrote:
>> Some AMD systems have two thermal sensors on both cores. I wrote a  
>> simple
>> driver to access these temperatures, but I don't have a system to  
>> test. If
>> anyone has a AMD K8 system, I would love if you could test the k8temp
>> driver that I wrote based on the Linux one.
>
> I'll report a failure on a TurionX2 laptop:
> CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1607.33-MHz K8- 
> class CPU)
>  Origin = "AuthenticAMD"  Id = 0x40f82  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=0x2001<SSE3,CX16>
>  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+, 
> 3DNow!>
>  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
>  Cores per package: 2
>
> Loading k8temp gives:
> Feb 11 05:32:41 claus kernel: k8temp0: <AMD K8 Thermal Sensors> on  
> hostb3
> Feb 11 05:32:41 claus kernel: k8temp0: can't clear config  
> registerdevice_attach: k8temp0 attach returned 6


Hmm. I'm not sure your CPU is supported. Could you try sysutils/k8temp  
and run it with the -d argument ?

Thanks.
--
Rui Paulo


More information about the freebsd-amd64 mailing list