Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD 11.2 - updating temp for Thermal zone on VM #97

Closed
daniejstriata opened this issue Apr 29, 2020 · 4 comments
Closed

FreeBSD 11.2 - updating temp for Thermal zone on VM #97

daniejstriata opened this issue Apr 29, 2020 · 4 comments
Assignees
Labels
bug Something isn't working os:freebsd state:confirmed Reproduced
Milestone

Comments

@daniejstriata
Copy link

The FreeBSD server I get the errors below on is a VM, so thermal issues should not be a problem.

  • gotop version (gotop -V): 3.5.2
  • The output of uname -a: FreeBSD grbl-ffpf.global.test.lan 11.3-RELEASE-p7 FreeBSD 11.3-RELEASE-p7 #0: Tue Mar 17 08:32:23 UTC 2020 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
  • Terminal emulator (e.g. iTerm or gnome terminal): GNOME Terminal
  • Any relevenat hardware info:
  • tmux version if using tmux: not installed

~/.local/state/gotop/errors.log
11:43:30 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:43:30 temp.go:18: error updating temp for CPU 0 : exit status 1
11:43:35 temp.go:18: error updating temp for CPU 0 : exit status 1
11:43:35 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:43:40 temp.go:18: error updating temp for CPU 0 : exit status 1
11:43:40 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:43:45 temp.go:18: error updating temp for CPU 0 : exit status 1
11:43:45 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:43:50 temp.go:18: error updating temp for CPU 0 : exit status 1
11:43:50 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:43:55 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:43:55 temp.go:18: error updating temp for CPU 0 : exit status 1
11:44:00 temp.go:18: error updating temp for CPU 0 : exit status 1
11:44:00 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:44:05 temp.go:18: error updating temp for CPU 0 : exit status 1
11:44:05 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:44:10 temp.go:18: error updating temp for CPU 0 : exit status 1
11:44:10 temp.go:18: error updating temp for Thermal zone 0: exit status 1
11:44:15 temp.go:18: error updating temp for CPU 0 : exit status 1

@xxxserxxx xxxserxxx self-assigned this Apr 30, 2020
@xxxserxxx xxxserxxx added bug Something isn't working os:freebsd labels Apr 30, 2020
@xxxserxxx
Copy link
Owner

There are a number of FreeBSD issues cropping up. I'm investigating these this weekend. In particular, sensors are causing issues, as reported in cjbassi#190 . There's also a very old, inherited sensor issue #14.

@xxxserxxx xxxserxxx added this to the v3.5.3 milestone Apr 30, 2020
@xxxserxxx xxxserxxx added the state:confirmed Reproduced label May 8, 2020
@xxxserxxx
Copy link
Owner

Replicated.

xxxserxxx added a commit that referenced this issue May 30, 2020
Updating the modules files for FreeBSD

log fix
@xxxserxxx
Copy link
Owner

FreeBSD VMs (e.g., QEMU, etc) don't expose thermals, so the log error message is correct: there are no thermal sensors. This can be confirmed by running this command on your VM:

sysctl -a | grep temperature

The sensors gotop is looking for on FreeBSD include dev.cpu.0.temperature, so you can also verify that your VM does not expose this with:

sysctl -a | grep dev.cpu.0

If you do find thermal sensors on a VM, please reply back with a list of them.

Despite the error being valid, it was annoying to have it in the logs, so I've committed changes to make gotop a bit smarter about testing for, reporting about, and limiting repeated logging about missing sensors in FreeBSD VMs.

xxxserxxx added a commit that referenced this issue May 31, 2020
@xxxserxxx
Copy link
Owner

@daniejstriata are you able to confirm this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working os:freebsd state:confirmed Reproduced
Projects
None yet
Development

No branches or pull requests

2 participants