Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 20:39:18 +0000
From:      Rui Paulo <rpaulo@freebsd.org>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: CFT: k8temp driver
Message-ID:  <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org>
In-Reply-To: <20080210183600.GJ64299@server.vk2pj.dyndns.org>
References:  <A611E395-3531-4026-B8B3-5EFA72BA48E1@FreeBSD.org> <20080210183600.GJ64299@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2>