Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2008 06:22:47 -0800
From:      Frank Mayhar <frank@exit.com>
To:        Rui Paulo <rpaulo@freebsd.org>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: CFT: k8temp driver
Message-ID:  <1202826167.10603.3.camel@jill.exit.com>
In-Reply-To: <20080212062818.GL64299@server.vk2pj.dyndns.org>
References:  <A611E395-3531-4026-B8B3-5EFA72BA48E1@FreeBSD.org> <20080210183600.GJ64299@server.vk2pj.dyndns.org> <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> <20080212062818.GL64299@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@exit.com     http://www.exit.com/
Exit Consulting                 http://www.gpsclock.com/
                                http://www.exit.com/blog/frank/
                                http://www.zazzle.com/fmayhar*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1202826167.10603.3.camel>