• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

pfSense custom hardware not showing temperature sensors

Scheduled Pinned Locked Moved Hardware
18 Posts 2 Posters 3.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    techtester-m
    last edited by Dec 3, 2019, 5:42 PM

    Hi,

    I installed a pfSense on mini-itx PC and set the settings to show the CPU temperature but it shows nothing and just stays on "updating..." forever.

    Current install (AMD Ryzen 5 2400G):
    Screen Shot 2019-11-25 at 19.51.29.png
    Screen Shot 2019-11-25 at 19.52.13.png

    Previous install (Intel i5-9600K):
    Screen Shot 2019-11-25 at 19.53.54.png Screen Shot 2019-11-25 at 19.55.01.png

    Thank you,

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Dec 4, 2019, 2:56 PM

      What sensor type do you have selected in Sys > Adv > Misc ?

      If it doesn't pass the values via ACPI you need the correct sensor driver. I'm not sure amdtemp supports that CPU yet though...

      Try running: sysctl -a | grep temperature

      Steve

      T 1 Reply Last reply Dec 4, 2019, 5:23 PM Reply Quote 0
      • T
        techtester-m @stephenw10
        last edited by techtester-m Dec 4, 2019, 5:30 PM Dec 4, 2019, 5:23 PM

        @stephenw10 I tried both "AMD K8, K10, and K11, CPU on-die thermal sensor" and "None/ACPI" with rebooting after every change...nothing shows up in the dashboard. So you say this CPU isn't supported by the built-in drivers of pfSense?

        @stephenw10 said in pfSense custom hardware not showing temperature sensors:

        Try running: sysctl -a | grep temperature

        I executed it in Diagnostics > Command Prompt. Nothing shows up. Where exactly do I run commands like sysctl -a, unbound-control etc. ?

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Dec 4, 2019, 5:55 PM

          Yes you should be able to run it there. On the only AMD device I have, an APU I see:

          hw.acpi.thermal.tz0.temperature: 55.1C
          dev.cpu.1.temperature: 55.2C
          dev.cpu.0.temperature: 55.2C
          

          That's after setting the amdtemp driver. When I set that the system logs show:

          Dec 4 17:47:08 	php-fpm 	63436 	/system_advanced_misc.php: Loading amdtemp thermal monitor module.
          Dec 4 17:47:08 	kernel 		amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb4 
          

          So, yes, probably that CPU is not yet supported by the amdtemp driver in 2.4.4p3. You could try a 2.5 snapshot but just to get temps that seems extreme!
          Check your BIOS settings, you may be able to have it pass values via ACPI which I would expect it to.

          Steve

          T 2 Replies Last reply Dec 4, 2019, 5:59 PM Reply Quote 1
          • T
            techtester-m @stephenw10
            last edited by Dec 4, 2019, 5:59 PM

            @stephenw10 said in pfSense custom hardware not showing temperature sensors:

            Check your BIOS settings, you may be able to have it pass values via ACPI which I would expect it to

            Ok...I will.

            @stephenw10 said in pfSense custom hardware not showing temperature sensors:

            That's after setting the amdtemp driver

            What do you mean "setting". Isn't that built-in to pfSense and enabled by default? Or you're talking about the dropbox selection in Sys > Adv > Misc?

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Dec 4, 2019, 6:01 PM

              Yes, I'm talking that setting. Doing that loads the appropriate kernel module so it 'sees' the sensor device and creates sysctls that pfSense can then read.

              Steve

              T 1 Reply Last reply Dec 4, 2019, 6:07 PM Reply Quote 1
              • T
                techtester-m @stephenw10
                last edited by techtester-m Dec 4, 2019, 7:36 PM Dec 4, 2019, 6:07 PM

                @stephenw10 A little bit out of the scope of the original question but I've noticed that using the VPN I'm getting 10-20Mbps on that AMD CPU and on the Intel i5 I got almost full speed of 80+ Mbps. Same config/settings, AES-NI acceleration etc. The differences are that significant between these two when it comes to AES-NI encryption or maybe something is up with the VPN servers?

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Dec 4, 2019, 6:23 PM

                  Nope, you should easily get >100Mbps OpenVPN if the encryption load is the only limit. You are hitting something else there.

                  Steve

                  T 2 Replies Last reply Dec 4, 2019, 7:32 PM Reply Quote 1
                  • T
                    techtester-m @stephenw10
                    last edited by Dec 4, 2019, 7:32 PM

                    @stephenw10 Ok...I'll check that

                    1 Reply Last reply Reply Quote 0
                    • T
                      techtester-m @stephenw10
                      last edited by stephenw10 Dec 5, 2019, 3:13 PM Dec 4, 2019, 8:32 PM

                      @stephenw10 Damn! You're right. I just disabled the VPN and used my "raw" connection and speeds are the same...fing weird. The only possible explanations I could think of are ISP having problems and ISP slowing me down because I encrypted everything including DNS LOL but that could be paranoia.......If nothing changes until tomorrow I'm going to give these f**kers a serious call haha.....What do you think may be the problem. I'll do a quick clean install on another machine just to check for sure that this has nothing to do with my pfSense settings/config.

                      Edit: @stephenw10 That's really weird...I just finished a clean install on the previous Intel i5 PC and set the basic settings without using VPN or even changing the webGUI password etc. just the basic of the basic and I can't get more than 12 Mbps which is CRAZY!!! I'm definitely gonna have a talk with my ISP tomorrow...

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Dec 5, 2019, 3:13 PM

                        That sort of throttling I would make sure your links are all at the expected speeds/duplex and set to autoselect. If something there is hard set to 100Mb you might find the other end is running at 10Mb half duplex.
                        You would usually see a load of errors/collisions in Status > Interfaces if that happens though.

                        Steve

                        T 1 Reply Last reply Dec 5, 2019, 4:20 PM Reply Quote 0
                        • T
                          techtester-m @stephenw10
                          last edited by techtester-m Dec 5, 2019, 4:43 PM Dec 5, 2019, 4:20 PM

                          @stephenw10 No, that's the goddamn ISP, I talked to them today. I was planning on moving to another ISP anyway.
                          Thank you for your help,

                          Edit: All the links says "full-duplex" but for some reason only on the Realtek NIC it also says ",master" why would that be?

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Dec 5, 2019, 4:59 PM

                            Master indicates flow-control is active on the link. That's usually not a problem. Very rarely you might see one side doing something it shouldn't and sending flow control stop instructions incorrectly. Almost certainly not the case here though.

                            Steve

                            T 1 Reply Last reply Dec 5, 2019, 5:03 PM Reply Quote 1
                            • T
                              techtester-m @stephenw10
                              last edited by techtester-m Dec 5, 2019, 5:09 PM Dec 5, 2019, 5:03 PM

                              @stephenw10 And I can't change that anyway, it's a negotiation between that NIC and whoever, right?
                              Edit: Ok, I just read about Flow Control in the docs and if I see any problem with that NIC I'll disable it. But how do I edit this /boot/loader.conf.local file?

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Dec 5, 2019, 5:15 PM

                                Create that file if it doesn't exist. Then edit it with any text editor or from Diag > Edit File. You can create the file from there too by just specifying the path directly.

                                Steve

                                T 1 Reply Last reply Dec 5, 2019, 5:18 PM Reply Quote 1
                                • T
                                  techtester-m @stephenw10
                                  last edited by Dec 5, 2019, 5:18 PM

                                  @stephenw10 Can you please answer this question too (an easy one I think), if you may :) - https://forum.netgate.com/topic/148689/getting-openvpn-warnings-in-the-logs

                                  Thank you,

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    techtester-m @stephenw10
                                    last edited by Dec 5, 2019, 8:24 PM

                                    @stephenw10 said in pfSense custom hardware not showing temperature sensors:

                                    Check your BIOS settings, you may be able to have it pass values via ACPI which I would expect it to

                                    I googled and didn't find something useful, so can you please direct me a little bit about what I should search for in the bios in order to have the sensors pass data via ACPI? It's an MSI motherboard.

                                    Also so this:
                                    Screen Shot 2019-12-05 at 22.16.04.png

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Dec 5, 2019, 8:48 PM

                                      First check the BIOS can see any temperature values. Usually they will display at least CPU temp, often some other thermal zones where sensors exist. If those are all enabled they are usually passed to the OS via ACPI but it maybe another crappy BIOS that has DSDT values tested, and marked as, Windows only. In which case just make sure you're on the latest BIOS.
                                      Fixing that is almost certainly more effort that it's worth.

                                      The last time this came up:
                                      https://forum.netgate.com/topic/137205/temperature-readings
                                      This is also Zen micro-architecture CPU so the same applies. It may require amdsmn which only appeared in FreeBSD 12.

                                      Steve

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      1 out of 18
                                      • First post
                                        1/18
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                        This community forum collects and processes your personal information.
                                        consent.not_received