CFT: k8temp driver

Maxim Aptechkin dataseeq at
Fri May 9 02:29:39 UTC 2008

[root at 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 at 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
CPU 0 Core 0 Sensor 0: 45c
Thermtrip=0x00001e64 (CurTmp=0x00 (-49c) TjOffset=0x00 DiodeOffset=0x1e
Thermtrip=0x00561e20 (CurTmp=0x56 (37c) TjOffset=0x00 DiodeOffset=0x1e
CPU 0 Core 1 Sensor 0: 37c
Thermtrip=0x00001e60 (CurTmp=0x00 (-49c) TjOffset=0x00 DiodeOffset=0x1e

Something wrong with dev.cpu.?.temperature

More information about the freebsd-amd64 mailing list