2013年1月19日 星期六

k10temp: unreliable CPU thermal sensor

boot 時,發現 k10temp 的錯誤訊息:

$ dmesg | grep k10temp
k10temp 0000:00:18.3: unreliable CPU thermal sensor; monitoring disabled

查到 Archlinux Wiki 提到:

K10Temp Module

Some K10 processors have issues with their temperature sensor. From the kernel documentation (linux-/Documentation/hwmon/k10temp):

All these processors have a sensor, but on those for Socket F or AM2+, the sensor may return inconsistent values (erratum 319). The driver will refuse to load on these revisions unless you specify the force=1 module parameter.

Due to technical reasons, the driver can detect only the mainboard's socket type, not the processor's actual capabilities. Therefore, if you are using an AM3 processor on an AM2+ mainboard, you can safely use the force=1 parameter.

On affected machines the module will report "unreliable CPU thermal sensor; monitoring disabled". If you still want to use the module you can:

  # rmmod k10temp

  # modprobe k10temp force=1

Confirm with Lm_sensors#Testing your lm_sensors that the sensor is in fact valid and reliable. If it is, you can edit /etc/modprobe.d/k10temp.conf and add:

  options k10temp force=1

This will allow the module to load at boot.

修改/新增 /etc/modprobe.d/k10temp.conf,重開機後,執行

$ sensors

會多看到以下的結果:

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +26.2°C  (high = +70.0°C)
                      (crit = +90.0°C, hyst = +88.0°C)

這樣算是 OK 吧。