ProxMox and CPU Temperature

  • Hi everyone!

    I've installed pfSense as a VM on ProxMox with CPU passthrough. I'm trying to get the CPU temp shown on the pfSense dashboard, without success.
    On ProxMox i can see the right temperatures, but on pfSense it seems that something basic is missing. I added this line on /boot/loader.conf:


    Then I rebooted, but if I check sysctl dev.cpu | grep temp I still don't get anything.

    pfSense shows the right type of CPU under System Information (Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz), this is the sysctl dev.cpu output:

    dev.cpu.1.cx_usage: 100.00% last 20133us
    dev.cpu.1.cx_lowest: C1
    dev.cpu.1.cx_supported: C1/1/0
    dev.cpu.1.%parent: acpi0
    dev.cpu.1.%pnpinfo: _HID=none _UID=0
    dev.cpu.1.%location: handle=\_SB_.CP01
    dev.cpu.1.%driver: cpu
    dev.cpu.1.%desc: ACPI CPU
    dev.cpu.0.cx_usage: 100.00% last 824us
    dev.cpu.0.cx_lowest: C1
    dev.cpu.0.cx_supported: C1/1/0
    dev.cpu.0.%parent: acpi0
    dev.cpu.0.%pnpinfo: _HID=none _UID=0
    dev.cpu.0.%location: handle=\_SB_.CP00
    dev.cpu.0.%driver: cpu
    dev.cpu.0.%desc: ACPI CPU

    Can you please help me? What am I missing?

  • I have yet to see any virtualization host that forwards CPU temperature data to it's guest VM's.

    I don't see why it couldn't be done in software, but VMWare's ESXi (which I previously used) and KVM, under Proxmox (which I currently use) simply don't provide sensor data to guest virtual machines.  Until they do (if they ever do), I don't think what you are trying to do is possible.

  • You don't put coretemp_load there, enable coretemp under System>Advanced, Misc if you want it.

    But as mattlach said, it won't do anything in a VM. The hypervisor doesn't expose that to the guest.

  • Thanks, this explains a lot of things. I will check with ProxMox about why these info aren't exposed to the VMs.

Log in to reply