CFT: k8temp driver

Frank Mayhar frank at exit.com
Tue Feb 12 06:48:03 PST 2008


On Tue, 2008-02-12 at 17:28 +1100, Peter Jeremy wrote:
> On Mon, Feb 11, 2008 at 08:39:18PM +0000, Rui Paulo wrote:
> >> 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 ?
> 
> It looks like it is:
> claus# k8temp -d
> CPUID: Vendor: AuthenticAMD, Id=0x40f82 Model=8 Family=15 Stepping=2
> Advanced Power Management=0x3f
>    Temperature sensor: Yes

Same here:

jill ~/k8temp#kldload ./k8temp.ko 
jill ~/k8temp#dmesg
k8temp0: <AMD K8 Thermal Sensors> on hostb3
k8temp0: can't clear config registerdevice_attach: k8temp0 attach returned 6
k8temp1: <AMD K8 Thermal Sensors> on hostb7
k8temp1: can't clear config registerdevice_attach: k8temp1 attach returned 6

jill ~/k8temp#k8temp -d
CPUID: Vendor: AuthenticAMD, Id=0xf5a Model=5 Family=15 Stepping=10
Advanced Power Management=0xf
   Temperature sensor: Yes
 Frequency ID control: Yes
   Voltage ID control: Yes
    THERMTRIP support: Yes
   HW Thermal control: No
   SW Thermal control: No
   100MHz multipliers: No
   HW P-State control: No
        TSC Invariant: No
Thermtrip=0x0b000424 (CurTmp=0x00 (-49c) TjOffset=0x0b DiodeOffset=0x04 (7c))
Thermtrip=0x0b510420 (CurTmp=0x51 (32c) TjOffset=0x0b DiodeOffset=0x04 (7c))
CPU 0 Core 1 Sensor 0: 32c
Thermtrip=0x005a0f20 (CurTmp=0x5a (41c) TjOffset=0x00 DiodeOffset=0x0f (-4c))
CPU 1 Core 1 Sensor 0: 41c

-- 
Frank Mayhar frank at exit.com     http://www.exit.com/
Exit Consulting                 http://www.gpsclock.com/
                                http://www.exit.com/blog/frank/
                                http://www.zazzle.com/fmayhar*


More information about the freebsd-amd64 mailing list