Rangeley / Avoton (C2758/C2558/C2750/C2550) Watchdog
-
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.0Reference
https://github.com/freebsd/freebsd/commit/a3a22fbbbe4ee3f6390c7bfa9ea15e7301c33ba4Would 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.
-
-
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.
-
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.
-
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!
-
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
-
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!
-
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.
-
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.
-
@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.
-
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.