Public bug reported:

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')
```

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: artful

** Description changed:

  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
+ 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.
+ No errors in the kern.log, sounds loaded:
+ 
+ ```
+ Aug 28 05:05:32 player-e656 kernel: [   13.179745] iTCO_vendor_support: 
vendor-support=0
+ Aug 28 05:05:32 player-e656 kernel: [   13.193303] iTCO_wdt: Intel TCO 
WatchDog Timer Driver v1.11
+ Aug 28 05:05:32 player-e656 kernel: [   13.193463] iTCO_wdt: Found a Intel 
PCH TCO device (Version=4, TCOBASE=0x0400)
+ Aug 28 05:05:32 player-e656 kernel: [   13.193956] iTCO_wdt: initialized. 
heartbeat=30 sec (nowayout=0)
+ ```
+ 
+ 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
+    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')
  ```

** Description changed:

  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 errors in the kern.log, sounds loaded:
- 
- ```
- Aug 28 05:05:32 player-e656 kernel: [   13.179745] iTCO_vendor_support: 
vendor-support=0
- Aug 28 05:05:32 player-e656 kernel: [   13.193303] iTCO_wdt: Intel TCO 
WatchDog Timer Driver v1.11
- Aug 28 05:05:32 player-e656 kernel: [   13.193463] iTCO_wdt: Found a Intel 
PCH TCO device (Version=4, TCOBASE=0x0400)
- Aug 28 05:05:32 player-e656 kernel: [   13.193956] iTCO_wdt: initialized. 
heartbeat=30 sec (nowayout=0)
  ```
  
  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')
  ```

** Description changed:

  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')
  ```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713535

Title:
  No /dev/watchdog on NUC6CAYS devices with iTCO_wdt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1713535/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to