Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 May 2008 14:55:53 +0100
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Maxim Aptechkin <dataseeq@gmail.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: CFT: k8temp driver
Message-ID:  <482457E9.8000506@FreeBSD.org>
In-Reply-To: <a72835190805081904p4152bbe0y5847d1d6dcc3af16@mail.gmail.com>
References:  <a72835190805081904p4152bbe0y5847d1d6dcc3af16@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Aptechkin wrote:
> [root@beta5 /usr/src/sys/amd64/k8temp]# sysctl -A | grep -i temp
> 
> dev.cpu.0.temperature: -49
> dev.cpu.1.temperature: -49
> 
> dev.k8temp.0.%desc: AMD K8 Thermal Sensors
> dev.k8temp.0.%driver: k8temp
> dev.k8temp.0.%parent: hostb4
> dev.k8temp.0.sensor0.core0: 36
> dev.k8temp.0.sensor0.core1: 46
> dev.k8temp.0.sensor1.core0: 35
> dev.k8temp.0.sensor1.core1: 36
> 
> [root@beta5 /usr/src/sys/amd64/k8temp]# k8temp -d
> CPUID: Vendor: AuthenticAMD, Id=0x40f32 Model=3 Family=15 Stepping=2
> Advanced Power Management=0x3f
>    Temperature sensor: Yes
>  Frequency ID control: Yes
>    Voltage ID control: Yes
>     THERMTRIP support: Yes
>    HW Thermal control: Yes
>    SW Thermal control: Yes
>    100MHz multipliers: No
>    HW P-State control: No
>         TSC Invariant: No
> Thermtrip=0x005e1e24 (CurTmp=0x5e (45c) TjOffset=0x00 DiodeOffset=0x1e
> (-19c))
> CPU 0 Core 0 Sensor 0: 45c
> Thermtrip=0x00001e64 (CurTmp=0x00 (-49c) TjOffset=0x00 DiodeOffset=0x1e
> (-19c))
> Thermtrip=0x00561e20 (CurTmp=0x56 (37c) TjOffset=0x00 DiodeOffset=0x1e
> (-19c))
> CPU 0 Core 1 Sensor 0: 37c
> Thermtrip=0x00001e60 (CurTmp=0x00 (-49c) TjOffset=0x00 DiodeOffset=0x1e
> (-19c))
> 
> 
> Something wrong with dev.cpu.?.temperature

That's something I've been investigating.

Sorry,
-- 
Rui Paulo



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