[A1SRM-2558F] how to enable watchdogd



  • in pfsense 2.1 I was able to get watchdogd working by..

    1. adding the ichwd.ko file from here
      http://files.pfsense.org/jimp/ko-8.3/amd64/

    2. enabling ichwd in /etc/loaders.conf.local

    3. adding this command to the shellcmd plugin

    service watchdogd onestart
    

    with 2.2

    1. .ko files aren't posted yet
    2. the watchdogd init script doesn't exist in /etc/rc.d/

    here's my questions…

    • can I just grab the ko file from a running freebsd-10.1-amd64 system?

    • why was the watchdogd init script removed?

    • is Advanced > System Tuneables equivalent to loader.conf? can I just add enabling the driver there?

    • do you ever plan on making this built in? with freenas, I didn't have to do squat. the OS noticed I had the chipset, enabled the driver, and started the service.

    #####EDIT#####

    I'm wondering if I'm just doing something wrong, is the watchdog module even the chipset one in my pfsense box?
    A1SRM-2558F
    Enabling watchdog in the bios makes my box shutdown after a few minutes.. and the 'watchdog / watchdogd' commands fail as if I don't have the driver.


  • Netgate Administrator

    The ichwd driver in 10.1 claims to support the following chipsets:

    77 	{ DEVICEID_82801AA, "Intel 82801AA watchdog timer", 1 },
    78 	{ DEVICEID_82801AB, "Intel 82801AB watchdog timer", 1 },
    79 	{ DEVICEID_82801BA, "Intel 82801BA watchdog timer", 2 },
    80 	{ DEVICEID_82801BAM, "Intel 82801BAM watchdog timer", 2 },
    81 	{ DEVICEID_82801CA, "Intel 82801CA watchdog timer", 3 },
    82 	{ DEVICEID_82801CAM, "Intel 82801CAM watchdog timer", 3 },
    83 	{ DEVICEID_82801DB, "Intel 82801DB watchdog timer", 4 },
    84 	{ DEVICEID_82801DBM, "Intel 82801DBM watchdog timer", 4 },
    85 	{ DEVICEID_82801E, "Intel 82801E watchdog timer", 5 },
    86 	{ DEVICEID_82801EB, "Intel 82801EB watchdog timer", 5 },
    87 	{ DEVICEID_82801EBR, "Intel 82801EB/ER watchdog timer", 5 },
    88 	{ DEVICEID_6300ESB, "Intel 6300ESB watchdog timer", 5 },
    89 	{ DEVICEID_82801FBR, "Intel 82801FB/FR watchdog timer", 6 },
    90 	{ DEVICEID_ICH6M, "Intel ICH6M watchdog timer", 6 },
    91 	{ DEVICEID_ICH6W, "Intel ICH6W watchdog timer", 6 },
    92 	{ DEVICEID_ICH7, "Intel ICH7 watchdog timer", 7 },
    93 	{ DEVICEID_ICH7DH, "Intel ICH7DH watchdog timer", 7 },
    94 	{ DEVICEID_ICH7M, "Intel ICH7M watchdog timer", 7 },
    95 	{ DEVICEID_ICH7MDH, "Intel ICH7MDH watchdog timer", 7 },
    96 	{ DEVICEID_NM10, "Intel NM10 watchdog timer", 7 },
    97 	{ DEVICEID_ICH8, "Intel ICH8 watchdog timer", 8 },
    98 	{ DEVICEID_ICH8DH, "Intel ICH8DH watchdog timer", 8 },
    99 	{ DEVICEID_ICH8DO, "Intel ICH8DO watchdog timer", 8 },
    100 	{ DEVICEID_ICH8M, "Intel ICH8M watchdog timer", 8 },
    101 	{ DEVICEID_ICH8ME, "Intel ICH8M-E watchdog timer", 8 },
    102 	{ DEVICEID_63XXESB, "Intel 63XXESB watchdog timer", 8 },
    103 	{ DEVICEID_ICH9, "Intel ICH9 watchdog timer", 9 },
    104 	{ DEVICEID_ICH9DH, "Intel ICH9DH watchdog timer", 9 },
    105 	{ DEVICEID_ICH9DO, "Intel ICH9DO watchdog timer", 9 },
    106 	{ DEVICEID_ICH9M, "Intel ICH9M watchdog timer", 9 },
    107 	{ DEVICEID_ICH9ME, "Intel ICH9M-E watchdog timer", 9 },
    108 	{ DEVICEID_ICH9R, "Intel ICH9R watchdog timer", 9 },
    109 	{ DEVICEID_ICH10, "Intel ICH10 watchdog timer", 10 },
    110 	{ DEVICEID_ICH10D, "Intel ICH10D watchdog timer", 10 },
    111 	{ DEVICEID_ICH10DO, "Intel ICH10DO watchdog timer", 10 },
    112 	{ DEVICEID_ICH10R, "Intel ICH10R watchdog timer", 10 },
    113 	{ DEVICEID_PCH, "Intel PCH watchdog timer", 10 },
    114 	{ DEVICEID_PCHM, "Intel PCH watchdog timer", 10 },
    115 	{ DEVICEID_P55, "Intel P55 watchdog timer", 10 },
    116 	{ DEVICEID_PM55, "Intel PM55 watchdog timer", 10 },
    117 	{ DEVICEID_H55, "Intel H55 watchdog timer", 10 },
    118 	{ DEVICEID_QM57, "Intel QM57 watchdog timer", 10 },
    119 	{ DEVICEID_H57, "Intel H57 watchdog timer", 10 },
    120 	{ DEVICEID_HM55, "Intel HM55 watchdog timer", 10 },
    121 	{ DEVICEID_Q57, "Intel Q57 watchdog timer", 10 },
    122 	{ DEVICEID_HM57, "Intel HM57 watchdog timer", 10 },
    123 	{ DEVICEID_PCHMSFF, "Intel PCHMSFF watchdog timer", 10 },
    124 	{ DEVICEID_QS57, "Intel QS57 watchdog timer", 10 },
    125 	{ DEVICEID_3400, "Intel 3400 watchdog timer", 10 },
    126 	{ DEVICEID_3420, "Intel 3420 watchdog timer", 10 },
    127 	{ DEVICEID_3450, "Intel 3450 watchdog timer", 10 },
    128 	{ DEVICEID_CPT0, "Intel Cougar Point watchdog timer", 10 },
    129 	{ DEVICEID_CPT1, "Intel Cougar Point watchdog timer", 10 },
    130 	{ DEVICEID_CPT2, "Intel Cougar Point watchdog timer", 10 },
    131 	{ DEVICEID_CPT3, "Intel Cougar Point watchdog timer", 10 },
    132 	{ DEVICEID_CPT4, "Intel Cougar Point watchdog timer", 10 },
    133 	{ DEVICEID_CPT5, "Intel Cougar Point watchdog timer", 10 },
    134 	{ DEVICEID_CPT6, "Intel Cougar Point watchdog timer", 10 },
    135 	{ DEVICEID_CPT7, "Intel Cougar Point watchdog timer", 10 },
    136 	{ DEVICEID_CPT8, "Intel Cougar Point watchdog timer", 10 },
    137 	{ DEVICEID_CPT9, "Intel Cougar Point watchdog timer", 10 },
    138 	{ DEVICEID_CPT10, "Intel Cougar Point watchdog timer", 10 },
    139 	{ DEVICEID_CPT11, "Intel Cougar Point watchdog timer", 10 },
    140 	{ DEVICEID_CPT12, "Intel Cougar Point watchdog timer", 10 },
    141 	{ DEVICEID_CPT13, "Intel Cougar Point watchdog timer", 10 },
    142 	{ DEVICEID_CPT14, "Intel Cougar Point watchdog timer", 10 },
    143 	{ DEVICEID_CPT15, "Intel Cougar Point watchdog timer", 10 },
    144 	{ DEVICEID_CPT16, "Intel Cougar Point watchdog timer", 10 },
    145 	{ DEVICEID_CPT17, "Intel Cougar Point watchdog timer", 10 },
    146 	{ DEVICEID_CPT18, "Intel Cougar Point watchdog timer", 10 },
    147 	{ DEVICEID_CPT19, "Intel Cougar Point watchdog timer", 10 },
    148 	{ DEVICEID_CPT20, "Intel Cougar Point watchdog timer", 10 },
    149 	{ DEVICEID_CPT21, "Intel Cougar Point watchdog timer", 10 },
    150 	{ DEVICEID_CPT22, "Intel Cougar Point watchdog timer", 10 },
    151 	{ DEVICEID_CPT23, "Intel Cougar Point watchdog timer", 10 },
    152 	{ DEVICEID_CPT23, "Intel Cougar Point watchdog timer", 10 },
    153 	{ DEVICEID_CPT25, "Intel Cougar Point watchdog timer", 10 },
    154 	{ DEVICEID_CPT26, "Intel Cougar Point watchdog timer", 10 },
    155 	{ DEVICEID_CPT27, "Intel Cougar Point watchdog timer", 10 },
    156 	{ DEVICEID_CPT28, "Intel Cougar Point watchdog timer", 10 },
    157 	{ DEVICEID_CPT29, "Intel Cougar Point watchdog timer", 10 },
    158 	{ DEVICEID_CPT30, "Intel Cougar Point watchdog timer", 10 },
    159 	{ DEVICEID_CPT31, "Intel Cougar Point watchdog timer", 10 },
    160 	{ DEVICEID_PATSBURG_LPC1, "Intel Patsburg watchdog timer", 10 },
    161 	{ DEVICEID_PATSBURG_LPC2, "Intel Patsburg watchdog timer", 10 },
    162 	{ DEVICEID_PPT0, "Intel Panther Point watchdog timer", 10 },
    163 	{ DEVICEID_PPT1, "Intel Panther Point watchdog timer", 10 },
    164 	{ DEVICEID_PPT2, "Intel Panther Point watchdog timer", 10 },
    165 	{ DEVICEID_PPT3, "Intel Panther Point watchdog timer", 10 },
    166 	{ DEVICEID_PPT4, "Intel Panther Point watchdog timer", 10 },
    167 	{ DEVICEID_PPT5, "Intel Panther Point watchdog timer", 10 },
    168 	{ DEVICEID_PPT6, "Intel Panther Point watchdog timer", 10 },
    169 	{ DEVICEID_PPT7, "Intel Panther Point watchdog timer", 10 },
    170 	{ DEVICEID_PPT8, "Intel Panther Point watchdog timer", 10 },
    171 	{ DEVICEID_PPT9, "Intel Panther Point watchdog timer", 10 },
    172 	{ DEVICEID_PPT10, "Intel Panther Point watchdog timer", 10 },
    173 	{ DEVICEID_PPT11, "Intel Panther Point watchdog timer", 10 },
    174 	{ DEVICEID_PPT12, "Intel Panther Point watchdog timer", 10 },
    175 	{ DEVICEID_PPT13, "Intel Panther Point watchdog timer", 10 },
    176 	{ DEVICEID_PPT14, "Intel Panther Point watchdog timer", 10 },
    177 	{ DEVICEID_PPT15, "Intel Panther Point watchdog timer", 10 },
    178 	{ DEVICEID_PPT16, "Intel Panther Point watchdog timer", 10 },
    179 	{ DEVICEID_PPT17, "Intel Panther Point watchdog timer", 10 },
    180 	{ DEVICEID_PPT18, "Intel Panther Point watchdog timer", 10 },
    181 	{ DEVICEID_PPT19, "Intel Panther Point watchdog timer", 10 },
    182 	{ DEVICEID_PPT20, "Intel Panther Point watchdog timer", 10 },
    183 	{ DEVICEID_PPT21, "Intel Panther Point watchdog timer", 10 },
    184 	{ DEVICEID_PPT22, "Intel Panther Point watchdog timer", 10 },
    185 	{ DEVICEID_PPT23, "Intel Panther Point watchdog timer", 10 },
    186 	{ DEVICEID_PPT24, "Intel Panther Point watchdog timer", 10 },
    187 	{ DEVICEID_PPT25, "Intel Panther Point watchdog timer", 10 },
    188 	{ DEVICEID_PPT26, "Intel Panther Point watchdog timer", 10 },
    189 	{ DEVICEID_PPT27, "Intel Panther Point watchdog timer", 10 },
    190 	{ DEVICEID_PPT28, "Intel Panther Point watchdog timer", 10 },
    191 	{ DEVICEID_PPT29, "Intel Panther Point watchdog timer", 10 },
    192 	{ DEVICEID_PPT30, "Intel Panther Point watchdog timer", 10 },
    193 	{ DEVICEID_PPT31, "Intel Panther Point watchdog timer", 10 },
    194 	{ DEVICEID_LPT0, "Intel Lynx Point watchdog timer", 10 },
    195 	{ DEVICEID_LPT1, "Intel Lynx Point watchdog timer", 10 },
    196 	{ DEVICEID_LPT2, "Intel Lynx Point watchdog timer", 10 },
    197 	{ DEVICEID_DH89XXCC_LPC, "Intel DH89xxCC watchdog timer", 10 },
    198 	{ DEVICEID_COLETOCRK_LPC, "Intel Coleto Creek watchdog timer", 10 },
    

    Is yours in there?

    Hmm, since the Atom is an SoC this appears to be more difficult to dig through.

    Steve



  • My Processor is the C2558, probably has the same chipset as the other Rangeley and Avoton boards. I think a lot of pfsense users have these.

    Yeah, no mention of chipset on the Intel product page.


  • Netgate Administrator

    Yes I was trying to cross check against the Linux driver where some support does seem to have been added but actually defining the hardware that needs supporting eludes me. It's all on the chip.
    https://lkml.org/lkml/2013/5/9/429
    It looks like it's now all part of the 'PCU' device which is in the SoC.

    I don't think it's supported yet.

    Steve



  • well that explains it. I guess I'll just watch for support in freebsd. hopefully backported to 10.1


Log in to reply