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

    Rangeley / Avoton (C2758/C2558/C2750/C2550) Watchdog

    Scheduled Pinned Locked Moved Hardware
    10 Posts 4 Posters 3.8k 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.
    • J
      josh4trunks
      last edited by

      Support for the watchdog feature for this chipset has been added to FreeBSD, but won't show up until 10.3 / 11.0.
      Here's a related thread that has been retired - https://forum.pfsense.org/index.php?topic=86169.0

      Reference
      https://github.com/freebsd/freebsd/commit/a3a22fbbbe4ee3f6390c7bfa9ea15e7301c33ba4

      Would pfSense considering adding and enabling watchdogd by default like in FreeNAS?
      What about backporting the linked commit to pfSesne 2.2/2.3 so the C2758 motherboard is supported?

      If so, what can we as the community do? Feature request at https://redmine.pfsense.org, or a Pull-Request at https://github.com/pfsense/pfsense ?

      These are the steps that would be needed to enable this feature…

      • (optionally) backport ichwd driver commit so C2X5X chipset works, otherwise this would still work on older intel motherboards like the supermicro's D525

      • complie ichwd into the pfSense kernel (like FreeNAS) or have it available as a loadable module (like in FreeBSD)

      • enable the watchdogd service

      Another option we could have is a setting to enable this like the 'Thermal Sensors' setting.

      1 Reply Last reply Reply Quote 0
      • M
        MikeDPitt
        last edited by

        I also have one of these supermicro rangely boards with SoC, as I think quite a few other pfsense users do as well. Would love to see this supported.

        1 Reply Last reply Reply Quote 0
        • J
          jwt Netgate
          last edited by

          I've emailed Fabien Thomas to see if he will MFC the code.  Without that, it's not actually on a path to hit 10.3.

          Since pfSense 2.3 is currently built against -STABLE, once it's MFCed, the driver will show up.

          From there, it's a matter of enabling watchdogd on platforms that support it.

          In answer to your query about what the community can do, it would be best if you submit a feature request on Redmine, or (patches always welcome) a pull request.

          That said, a PR probably isn't necessary here.  If Fabien will MFC the code, we'll do the rest.

          1 Reply Last reply Reply Quote 0
          • M
            MikeDPitt
            last edited by

            Got my fingers crossed! This would be such a great addition to these rangely systems in a remote (or any) setting. Thanks SO SO much!

            1 Reply Last reply Reply Quote 0
            • rbgargaR
              rbgarga Developer Netgate Administrator
              last edited by

              Patch was applied in pfSense/FreeBSD-src [1], will be available on next round of 2.3 snapshots.

              [1] https://github.com/pfsense/FreeBSD-src/commit/a569aca1d382bf02a5a2d9bd8a9b0e0bb6450cca

              Renato Botelho

              1 Reply Last reply Reply Quote 0
              • M
                MikeDPitt
                last edited by

                Woohoo!!!!!!!!!! Thanks SO much! I hope as many other people are as excited about this feature as I am :D

                Thank you Thank you Thank you!

                1 Reply Last reply Reply Quote 0
                • J
                  josh4trunks
                  last edited by

                  Awesome!

                  We still need to either include the module (like FreeBSD) or have it built into the kernel (like FreeNAS).

                  Also, is the idea to allow any watchdog drivers. It looks like in FreeNAS they have support for ichwd, viawd, wbwd. But specifically disable amdsbwd, I think because it is buggy.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jwt Netgate
                    last edited by

                    https://github.com/pfsense/FreeBSD-src/commit/a569aca1d382bf02a5a2d9bd8a9b0e0bb6450cca

                    I'm not going to enable ichwd/viawd/wbwd by default, except for ichwd on images that we know are going onto platforms that support it.

                    1 Reply Last reply Reply Quote 0
                    • J
                      josh4trunks
                      last edited by

                      @jwt:

                      https://github.com/pfsense/FreeBSD-src/commit/a569aca1d382bf02a5a2d9bd8a9b0e0bb6450cca

                      I'm not going to enable ichwd/viawd/wbwd by default, except for ichwd on images that we know are going onto platforms that support it.

                      Ok, but the driver will be included right? At the moment it isn't with pfSense.
                      Also the watchdogd script isn't included either.

                      Then we can just enable the driver in /boot/loader.conf.local and put 'service watchdogd onestart' in the Shellcmd Package.

                      1 Reply Last reply Reply Quote 0
                      • J
                        jwt Netgate
                        last edited by

                        there is GUI work that has to happen for someone to be able to enable the 'right' watchdog.

                        factory images (because we know what the hardware is) will have the right thing happen automatically.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.