No temperature data on Thermal Sensor widget after upgrade to 20.7.1

Started by lore.phoenix, August 17, 2020, 02:32:51 PM

Previous topic - Next topic

Hello,

My OPNSense system has the CPU type: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (2 cores)

Before I upgraded to OPNSense version 20.7 I was able to see the temperature at the Thermal Sensors widget on my OPNSense (v20.1.9) dashboard.
After the upgrade I waited serveral hours but the Therminal Sensors widget on my OPNSense (v20.7.1) dashboard doesn't display anything.

I checked under Reporting -> Health -> System -> Cputemp and the Cputemp graph is able to display the temperature.

The actions I already took :
1.  After that I set the Thermal Sensor under System -> Settings -> Miscellaneous to None/ACPI.
    I rebooted the server.
2.  I enabled the Thermal Sensors under System -> Settings -> Miscellaneous to
    Hardware : Intel Core* CPU on-die therminal sensor (coretemp).

    On the CLI I saw the following message appearing:

    # coretemp0: <CPU On-Die Thermal Sensors> on cpu0
    est: CPU supports Enhanced Speedstep, but is not recognized.
    est: cpu_vendor GenuineIntel, msr 92a092a0600092a
    device_attach: est1 attach returned 6


    # sysctl -a | grep temperature
    dev.cpu.1.temperature: 35.0C
    dev.cpu.0.temperature: 32.0C


3. After 15 ~ 20mins I was able to see new Cputemp graphs under Reporting -> Health -> System -> Cputemp but the Thermal Sensor widget still doesn't display anything.

4. I removed the Thermal Sensor widget from my dashboard and re-add the Thermal Sensor widget on my dashboard but the result is the same (meaning no data).

Since I am able to read the temperature using the CLI command 'sysctl -a | grep temperature' and able to get the Cputemp graph under Reporting -> Health -> System -> Cputemp that I assume that the problem is related on the Thermal Sensors widget.

Is it possible to fix this ??

Kind regards,
Proxmox on GF Economical 6x2.5GE 1U Rack Firewall Celeron N5105
OPNSense:
    Processors : 1 sockets, 4 cores [kvm64,flags=+aes]
    Memory : 8 GB
    Hard Disk : 100 GB VirtIO SCSI

Hi everyone,

Same issue as lore.phoenix (not showing anything on the widget), except that on Reporting -> Health -> System -> Cputemp, it does show only one graph from cpu0temp, whereas my router have 4 cores


sysctl -a | grep -E "dev.*temperature|hw.*temperature"
hw.acpi.thermal.tz1.temperature: 29.9C
hw.acpi.thermal.tz0.temperature: 27.9C
dev.cpu.3.temperature: 51.0C
dev.cpu.2.temperature: 51.0C
dev.cpu.1.temperature: 50.0C
dev.cpu.0.temperature: 50.0C


but not such error on system.log as shown by lore.phoenix

I am new to freeBSD and opnsense (i did not do any update, it an install from scratch), i will try to search for any error but any help would be great :)

have a good day

Click the pencil on the temp widget, there's a check box in the widget settings for all or single core.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Just for what it is worth, I stumbled across this. I just updated last night. I'm still seeing the temps. I'm using: Intel(R) Celeron(R) CPU J3160 @ 1.60GHz (4 cores)

Quote from: marjohn56 on August 21, 2020, 11:20:15 PM
Click the pencil on the temp widget, there's a check box in the widget settings for all or single core.

Many thanks Marjohn56! I have done a factory reset of the bios settings + re-activating core temp + done what you suggested, and it did work well ! :)

For reference, I have a mini pc Qotom with 6 LAN ports and i3-6100u cpu

thanks again for your quick help and have a nice day

Quote from: marjohn56 on August 21, 2020, 11:20:15 pm
QuoteClick the pencil on the temp widget, there's a check box in the widget settings for all or single core.

I tried what marjohn56 suggested but that didn't work for me.
It was disabled but even enabling the option 'Only show first found CPU core temperature' didn't display anything.

Quote from: chukkyuggets on August 22, 2020, 10:02:40 pm
Quote... have done a factory reset of the bios settings + re-activating core temp ...

@chukkyuggets
After my BIOS reset + reactivating core temp that it fixed my issue. Many thanks for your input/solution.


My hardware:
Motherboard: Gigabyte P35-DS3R
Processor: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (2 cores)

Proxmox on GF Economical 6x2.5GE 1U Rack Firewall Celeron N5105
OPNSense:
    Processors : 1 sockets, 4 cores [kvm64,flags=+aes]
    Memory : 8 GB
    Hard Disk : 100 GB VirtIO SCSI

A little confused. Why is a BIOS reset required to get the thermal data showing again after the 20.7 upgrade?

I'm not even sure how I perform a factory reset on my box (PCEngine APU2).  ???

Same here. Running on a ProtectLI FW6 with an i3 CPU.
Report --> Health --> CPU Temp is showing information, but the "Thermal Sensors" widget on the dashboard is empty.
I have the Thermal Sensor hardware set to coretemp, and it seems to be working per the shell command:
root@OPNsense:~ # sysctl -a | grep -E "dev.*temperature|hw.*temperature"
hw.acpi.thermal.tz1.temperature: 29.9C
hw.acpi.thermal.tz0.temperature: 27.9C
dev.cpu.3.temperature: 52.0C
dev.cpu.2.temperature: 52.0C
dev.cpu.1.temperature: 51.0C
dev.cpu.0.temperature: 51.0C


EDIT: It's ridiculous to have to do a BIOS reset and then reconfigure BIOS settings again when the system is clearly reading the temps (see right above). There is something broken in the OPNsense GUI. There has to be a better solution.
ProtectLi FW6 | Intel i3-7100U CPU @ 2.40GHz (4 cores) | 8GB RAM | 120GB SSD
Prod Release Train.

Word of note. 20.7 has moved to FreeBSD 12.1, there may be something there that is affecting some devices. I'm running Qotom's and have had no issues.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

@marjohn56
20.7 has moved to HardenBSD 12.1 which is FreeBSD with more security in mind.

I would be surprised that the problem is related on the OS since I was able to read the  temperature via CLI at the moment the Thermal Sensor widget didn't display anything.

I would like to know how the Thermal Sensor widget read the temperature.
Does it read the temperature directly from the system or does it read it's data from the stored database that is used for Report --> Health --> CPU Temp.

Kind regards,
Proxmox on GF Economical 6x2.5GE 1U Rack Firewall Celeron N5105
OPNSense:
    Processors : 1 sockets, 4 cores [kvm64,flags=+aes]
    Memory : 8 GB
    Hard Disk : 100 GB VirtIO SCSI

> I would like to know how the Thermal Sensor widget read the temperature.

# /sbin/sysctl -a | grep temperature


Cheers,
Franco

I'm seeing a lot of lines like the first then the two at the end..
#  /sbin/sysctl -a | grep temperature
<118>2020-08-14T19:01:59.592981+01:00 OPNsense.my.domain.uk lighttpd 56725 - - xx.xxx.xxx.xx xx.xxx.xxx.x - [14/Aug/2020:19:01:59 +0100] "GET /widgets/api/get.php?load=system%2Cgateway%2Cinterfaces%2Ctemperature&_=1597428113024 HTTP/1.1" 200 3254 "https://xx.xxx.xxx.xx/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
..
..
dev.cpu.1.temperature: 52.2C
dev.cpu.0.temperature: 52.2C

on an HP T610,  AMD G-T56N

Odd seems to be picking up web stuff.

try

# /sbin/sysctl -a | grep temperature:


instead of

# /sbin/sysctl -a | grep temperature


*** EDIT***

What's even more odd is sysctl outputting anything that has web stuff in it.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Quote from: marjohn56 on August 26, 2020, 02:44:55 PM
try

# /sbin/sysctl -a | grep temperature:

# /sbin/sysctl -a | grep temperature:
dev.cpu.3.temperature: 53.2C
dev.cpu.2.temperature: 53.2C
dev.cpu.1.temperature: 53.2C
dev.cpu.0.temperature: 53.2C


Yes, so the grep is seeing the 'temperature' in the junk the sysctl appears to ouput. Can you do this, only if you are having problems with CPU temp:

# /sbin/sysctl -a  > /tmp/sysctrl_output.txt and then post the resultant text file here. It'll be interesting to see what's going on. Also give make model of hardware and amount of ram etc.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member