4 Replies Latest reply on Sep 13, 2017 6:41 PM by rguevara

    No /dev/watchdog on NUC6CAYS devices with iTCO_wd

    mgcrea

      It looks like iTCO_wdt won't properly setup a /dev/watchdog device on Intel recent Celeron NUCs (NUC6CAYS).

      ```
      # uname -a
      Linux player-ef15 4.11.0-14-generic #20~16.04.1-Ubuntu SMP Wed Aug 9 09:06:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
      # lsb_release -a
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 16.04.3 LTS
      Release: 16.04
      Codename: xenial
      ```

      Modules are properly loaded (but looks like it is not used)

      ```
      # lsmod | grep -e dog -e wdt
      iTCO_wdt 16384 0
      iTCO_vendor_support 16384 1 iTCO_wdt
      ```

      No device found in kernel.log:
      ```
      Aug 28 18:49:56 player-ef15 kernel: [ 14.192689] iTCO_vendor_support: vendor-support=0
      Aug 28 18:49:56 player-ef15 kernel: [ 14.198585] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
      ```

      No device found by the service:

      ```
      # service watchdog status
      ● watchdog.service - watchdog daemon
         Loaded: loaded (/lib/systemd/system/watchdog.service; enabled; vendor preset: enabled)
         Active: active (running) since lun. 2017-08-28 18:49:56 CEST; 17s ago
        Process: 2763 ExecStart=/bin/sh -c [ $run_watchdog != 1 ] || exec /usr/sbin/watchdog $watchdog_options (code=exited, status=0/SUCCESS)
        Process: 2758 ExecStartPre=/bin/sh -c [ -z "${watchdog_module}" ] || [ "${watchdog_module}" = "none" ] || /sbin/modprobe $watchdog_module (code=exited, status=0/SUCCESS)
      Main PID: 2768 (watchdog)
          Tasks: 1
         Memory: 732.0K
            CPU: 13ms
         CGroup: /system.slice/watchdog.service
                 └─2768 /usr/sbin/watchdog

      août 28 18:49:56 player-ef15 systemd[1]: Started watchdog daemon.
      août 28 18:49:56 player-ef15 watchdog[2768]: starting daemon (5.14):
      août 28 18:49:56 player-ef15 watchdog[2768]: int=1s realtime=yes sync=no soft=no mla=0 mem=0
      août 28 18:49:56 player-ef15 watchdog[2768]: ping: no machine to check
      août 28 18:49:56 player-ef15 watchdog[2768]: file: no file to check
      août 28 18:49:56 player-ef15 watchdog[2768]: pidfile: no server process to check
      août 28 18:49:56 player-ef15 watchdog[2768]: interface: no interface to check
      août 28 18:49:56 player-ef15 watchdog[2768]: temperature: no sensors to check
      août 28 18:49:56 player-ef15 watchdog[2768]: test=none(0) repair=none(0) alive=/dev/watchdog heartbeat=none to=root no_act=no force=no
      août 28 18:49:56 player-ef15 watchdog[2768]: cannot open /dev/watchdog (errno = 2 = 'No such file or directory')
      ```