<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I am trying to find an Linux in Mobile and Desktop Processors</title>
    <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126819#M45183</link>
    <description>&lt;P&gt;I am trying to find an Linux watchdog expert, I will get back to you as soon as I can,&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2018 16:46:32 GMT</pubDate>
    <dc:creator>Joseph_O_Intel1</dc:creator>
    <dc:date>2018-01-29T16:46:32Z</dc:date>
    <item>
      <title>Using linux iTCO_wdt driver on i3-7100</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126815#M45179</link>
      <description>Hi,

I’m trying to get the TCO watchdog to work on  i3-7100 on ASUS Desktop PC VivoMini VC66-B018Z (https://www.asus.com/us/Mini-PCs/VivoMini-VC66/). 

I have attached the output of dmidecode to this email.

I’m using a homebrew linux distribution with linux kernel 4.9.22 and I have been using the TCO driver with this software stack on other hardware platforms without any issues.

On the Asus VC66 when insert the TCO watchdog driver I get the following logs:

[15321.181802] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[15321.181939] iTCO_wdt: Found a Intel PCH TCO device (Version=4, TCOBASE=0x0400)
[15321.182061] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)

But then when I program a timeout and stop pinging the watchdog the unit does not reboot. Nothing happens, the unit continues to operates normally.

I have investigated and found out that the TCO_RLD register does not decrement. 

When I cat /sys/class/watchdog/watchdog0/timeleft I always get the same value (the value that I programmed in timeout)

I have added a couple of prints in the driver to display the important TCO related registers in the set timeout function. Here are the values:

[ 7732.805330] iTCO_wdt: SMI_EN  = 0x90002023
[ 7732.805335] iTCO_wdt: GC      = 0x0
[ 7732.805338] iTCO_wdt: TCO_RLD = 0x32
[ 7732.805342] iTCO_wdt: TCO1_STS = 0x0
[ 7732.805346] iTCO_wdt: TCO2_STS = 0x0
[ 7732.805349] iTCO_wdt: TCO1_CNT = 0x1000
[ 7732.805353] iTCO_wdt: TCO2_CNT = 0x8
[ 7732.805357] iTCO_wdt: TCOv2_TMR = 0x32

When I check these values against the TCO spec they look good to me. (i.e.: NR bit is cleared in GC register, TCO_EN is set in SMI_EN register, TCO_TMR_HALT is cleared in TCO1_CNT)

Am I missing something?

Is there anything else that I could check to find out why the TCO timer is not counting down?

Can anyone help me with this issue?

Is it the appropriate forum for this question?

BR,
Pierre</description>
      <pubDate>Mon, 22 Jan 2018 17:58:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126815#M45179</guid>
      <dc:creator>Pierre_A_</dc:creator>
      <dc:date>2018-01-22T17:58:59Z</dc:date>
    </item>
    <item>
      <title>Hey Pierre</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126816#M45180</link>
      <description>&lt;P&gt;Hey Pierre&lt;/P&gt;

&lt;P&gt;The hardware we are discussing complies to ACPI specifications, as such I beleive the following link should answer your questions&lt;/P&gt;

&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/windows/hardware/gg463320.aspx"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;A href="http://msdn.microsoft.com/en-us/windows/hardware/gg463320.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/windows/hardware/gg463320.aspx&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 22:51:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126816#M45180</guid>
      <dc:creator>Joseph_O_Intel1</dc:creator>
      <dc:date>2018-01-22T22:51:17Z</dc:date>
    </item>
    <item>
      <title>Joe,</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126817#M45181</link>
      <description>&lt;P&gt;Joe,&lt;/P&gt;

&lt;P&gt;I will look at the document you are referring to and I will get back to you.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 13:58:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126817#M45181</guid>
      <dc:creator>Pierre_A_</dc:creator>
      <dc:date>2018-01-23T13:58:06Z</dc:date>
    </item>
    <item>
      <title>Joe,</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126818#M45182</link>
      <description>&lt;P&gt;Joe,&lt;/P&gt;

&lt;P&gt;I took a close look at the documentation that you have suggested.&lt;/P&gt;

&lt;P&gt;This is not what I'm looking for.&lt;/P&gt;

&lt;P&gt;I want to use the TCO watchdog that is a part of the intel 100 series chipset PCH.&lt;/P&gt;

&lt;P&gt;I use Intel datasheets&amp;nbsp;100-series-chipset-datasheet-vol-1.pdf &amp;amp;&amp;nbsp;100-series-chipset-datasheet-vol-2.pdf&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Pierre&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 19:40:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126818#M45182</guid>
      <dc:creator>Pierre_A_</dc:creator>
      <dc:date>2018-01-23T19:40:32Z</dc:date>
    </item>
    <item>
      <title>I am trying to find an Linux</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126819#M45183</link>
      <description>&lt;P&gt;I am trying to find an Linux watchdog expert, I will get back to you as soon as I can,&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 16:46:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126819#M45183</guid>
      <dc:creator>Joseph_O_Intel1</dc:creator>
      <dc:date>2018-01-29T16:46:32Z</dc:date>
    </item>
    <item>
      <title>Hey Joe,</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126820#M45184</link>
      <description>&lt;P&gt;Hey Joe,&lt;/P&gt;

&lt;P&gt;Any update on this?&lt;/P&gt;

&lt;P&gt;BR,&lt;/P&gt;

&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 15:51:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126820#M45184</guid>
      <dc:creator>Pierre_A_</dc:creator>
      <dc:date>2018-02-07T15:51:19Z</dc:date>
    </item>
    <item>
      <title>Hey Joseph,</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126821#M45185</link>
      <description>&lt;P&gt;Hey Joseph,&lt;/P&gt;

&lt;P&gt;we have the same problem like Pierre explained.&lt;/P&gt;

&lt;P&gt;In our case the hardware is an Intel NUC7i5BNK.&lt;/P&gt;

&lt;P&gt;Have you found a solution for this Problem?&lt;/P&gt;

&lt;P&gt;BR.&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;Jonas&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 15:21:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126821#M45185</guid>
      <dc:creator>Wilhelm__Jonas</dc:creator>
      <dc:date>2018-03-15T15:21:58Z</dc:date>
    </item>
    <item>
      <title>We also are having this same</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126822#M45186</link>
      <description>&lt;P&gt;We also are having this same issue running Ubuntu 18.04LTS on NUC7i3BNK. Everything looks fine in dmesg etc., but the counter just never starts, so the server never reboots when the watchdog should tell it to. Not having much luck solving it... any help gratefully received!&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 16:10:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126822#M45186</guid>
      <dc:creator>Fothergill__Jules</dc:creator>
      <dc:date>2018-05-21T16:10:10Z</dc:date>
    </item>
    <item>
      <title>Any movement on this as the</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126823#M45187</link>
      <description>&lt;P&gt;Any movement on this as the problem;&amp;nbsp; It is still there from what I can tell.&lt;/P&gt;&lt;P&gt;I'm using the 4.18.16,&amp;nbsp; 4.20.16, and 5.1.11 kernels on a fedora 29 distro.&amp;nbsp; This watchdog hasn't worked since moving to Skylake devices (working in Sandybridge, Ivybridge and before that). It's broken on Cannon Lake and Coffee lake devices as well.&amp;nbsp; There are no idicatations of an error other than that fact that the timer countdown will not start (Timeleft) and the watchdog does not reset the device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.206354] i801_smbus 0000:00:1f.4: enabling device (0001 -&amp;gt; 0003)&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.206825] i801_smbus 0000:00:1f.4: SPD Write Disable is set&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.206858] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 168.218443] iTCO_vendor_support: vendor-support=0&lt;BR /&gt;[&amp;nbsp; 168.221443] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11&lt;BR /&gt;[&amp;nbsp; 168.221510] iTCO_wdt: Found a Intel PCH TCO device (Version=4, TCOBASE=0x0400)&lt;BR /&gt;[&amp;nbsp; 168.221985] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)&lt;/P&gt;&lt;P&gt;~# wdctl /dev/watchdog0&lt;BR /&gt;wdctl: write failed: Invalid argument&lt;BR /&gt;Device:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/watchdog0&lt;BR /&gt;Identity:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iTCO_wdt [version 0]&lt;BR /&gt;Timeout:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30 seconds&lt;BR /&gt;Pre-timeout:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 seconds&lt;BR /&gt;Timeleft:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30 seconds&lt;BR /&gt;FLAG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DESCRIPTION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS BOOT-STATUS&lt;BR /&gt;KEEPALIVEPING&amp;nbsp; Keep alive ping reply&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;MAGICCLOSE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Supports magic close char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;SETTIMEOUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set timeout (in seconds)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help understanding why this is so would be greatly appreciated.&amp;nbsp; Are there any known actual workarounds.&amp;nbsp; It's hard to believe this issue isn't already known well in the embedded linux community.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:54:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126823#M45187</guid>
      <dc:creator>co-dyre__mark</dc:creator>
      <dc:date>2019-07-02T19:54:50Z</dc:date>
    </item>
    <item>
      <title>Hey,</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126824#M45188</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;are there any updates on this topic?&lt;/P&gt;&lt;P&gt;We have the same problem (dmesg output looks fine but watchdog is not counting down) on different Kaby Lake CPUs (i3, i5 and i7 NUC7 models) and different kernels (4.15, 4.19, 5.3, 5.4 rc5)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 07:43:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126824#M45188</guid>
      <dc:creator>Senfter__Thomas</dc:creator>
      <dc:date>2019-10-29T07:43:00Z</dc:date>
    </item>
    <item>
      <title>I couldn't find a subject</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126825#M45189</link>
      <description>&lt;P&gt;I couldn't find a subject matter expert on this when I researched it last time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might also try the &lt;A href="https://forums.intel.com/s/?language=en_US&amp;amp;tabset-d2c84=dcf79"&gt;community&amp;nbsp;forums&lt;/A&gt; and ask the question over there.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 15:40:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1126825#M45189</guid>
      <dc:creator>Joseph_O_Intel1</dc:creator>
      <dc:date>2019-10-29T15:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hey Joseph,</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1195446#M45190</link>
      <description>&lt;P&gt;Jonas,&lt;/P&gt;
&lt;P&gt;I ran into this same issue during a large deployment of NUC7i5BNK units.&lt;/P&gt;
&lt;P&gt;I worked through this with my Intel rep and it was escalated to the BIOS team, and they have fixed the issue in BIOS 0083 which goes live tonight. Hopefully this is helpful.&lt;/P&gt;
&lt;P&gt;--Dave&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 19:53:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1195446#M45190</guid>
      <dc:creator>DCann6</dc:creator>
      <dc:date>2020-07-28T19:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: I couldn't find a subject</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1214027#M46612</link>
      <description>&lt;P&gt;Hi Joseph&lt;/P&gt;
&lt;P&gt;I still see the same issue with iTCO watchdog on intel C236 chipset (&lt;SPAN&gt;Xeon E3-1275 V5 processor&lt;/SPAN&gt;).&lt;/P&gt;
&lt;P&gt;From the above comment it seems that a fix has been identified.&amp;nbsp;Could you please share more details about the fix and how different boards with TCO watchdog can get the fix?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will be very helpful. Looking forward for your quick response. Thank&amp;nbsp; you!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 08:12:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1214027#M46612</guid>
      <dc:creator>spiritual_nerd</dc:creator>
      <dc:date>2020-10-01T08:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to find an Linux</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1233961#M48085</link>
      <description>&lt;P&gt;We had the exact same problem with a NUC7 device. With the latest BIOS the problem gone.&lt;/P&gt;
&lt;P&gt;But with a NUC8 (NUC8I5BEB), even with the latest BIOS, the problem persists. Is there a known problem with the watchdog ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 17:22:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-linux-iTCO-wdt-driver-on-i3-7100/m-p/1233961#M48085</guid>
      <dc:creator>Mitch</dc:creator>
      <dc:date>2020-12-03T17:22:35Z</dc:date>
    </item>
  </channel>
</rss>

