Web GUI - Lost CPU Core Temps, Only Zone temps remain - FIXED - kldload coretemp

Started by g29, May 07, 2025, 05:38:06 AM

Previous topic - Next topic
Newbie question.  I am running OPNsense on a Dell Optiplex (6th Gen Intel) and had CPU temps working in the GUI.



I did a factory reset and switched from a "transparent network bridge" to a conventional "firewall router" config with Unbound block lists and Suricata.

During the process, I am no longer getting any CPU temps in the web GUI.



Running various CLI commands also only turns up 2 Zone temps.

root@OPNsense:/tmp # hwstat
Current Unit
[Coretemp]
CPU0: Cannot get temperature
CPU1: Cannot get temperature
CPU2: Cannot get temperature
CPU3: Cannot get temperature
CPU4: Cannot get temperature
CPU5: Cannot get temperature
CPU6: Cannot get temperature
CPU7: Cannot get temperature
[ACPI Thermal]
tz0: 27.9 C
[ACPI Thermal]
tz1: 29.9 C

root@OPNsense:/usr/local/etc/suricata # sh -c 'sysctl $(configctl system sensors)'
hw.acpi.thermal.tz0.temperature: 27.9C
hw.acpi.thermal.tz1.temperature: 29.9C
root@OPNsense:/usr/local/etc/suricata # sysctl -e `sysctl -aN | fgrep temperature` | sort
hw.acpi.thermal.tz0.temperature=27.9C
hw.acpi.thermal.tz1.temperature=29.9C
root@OPNsense:/usr/local/etc/suricata # sysctl -e `sysctl -N dev.cpu hw.acpi.thermal | fgrep temperature` | sort
hw.acpi.thermal.tz0.temperature=27.9C
hw.acpi.thermal.tz1.temperature=29.9C
root@OPNsense:/usr/local/etc/suricata # sysctl -aF | awk -F ": " '$2 ~ "^IK" { print $1 }' | grep -v "\._" | sort
hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz1.temperature
root@OPNsense:/usr/local/etc/suricata # configctl system sensors
hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz1.temperature


Anyone have any ideas what would case the loss ?

Currently running OPNsense 25.1_5_5-amd64, FreeBSD 14.2-RELEASE-p2

Thanks in advance for any ideas/suggestions.

May 07, 2025, 07:02:46 AM #1 Last Edit: May 07, 2025, 07:22:09 AM by g29
The factory reset must have blow away the coretemp package.

Using the ssh console, MANUALLY reloading the coretemp package restored the CPU temps.

kldload coretemp

Also appears to be a WEB GUI setting.

System > Miscellaneous > Thermal Sensors > Hardware > Intel Core CPU on-die thermal sensor (coretemp)



hwstat
Current Unit
[Coretemp]
CPU0: 23.0 C
CPU1: 23.0 C
CPU2: 24.0 C
CPU3: 24.0 C
CPU4: 23.0 C
CPU5: 23.0 C
CPU6: 22.0 C
CPU7: 22.0 C
[ACPI Thermal]
tz0: 27.9 C
[ACPI Thermal]
tz1: 29.9 C