<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6462</bug_id>
          
          <creation_ts>2014-06-18 07:29:39 +0000</creation_ts>
          <short_desc>[1.6.1] watchdog doesn&apos;t work in beaglebone black</short_desc>
          <delta_ts>2015-03-18 09:17:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-yocto</component>
          <version>1.6.1</version>
          <rep_platform>BeagleBone</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Kevin Hao">kexin.hao</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>ke.zou</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44053</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-06-18 07:29:39 +0000</bug_when>
    <thetext>Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.6.1/machines/beaglebone/

Git rev: daisy/a43dba8c2904f9c1ce0425c53c5a7f4718121e6b

This issue had been fixed in master branch. But still exists in daisy branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44060</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-06-18 15:52:16 +0000</bug_when>
    <thetext>Do you know what fixed it in the master branch for a backport?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44080</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-06-19 02:00:55 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Do you know what fixed it in the master branch for a backport?

It&apos;s a kernel config path. In meta branch for repo linux-yocto-3.14:

commit 183622e8095545999a64bd72adedea2dffb6ec4b
Author: Kevin Hao &lt;kexin.hao@windriver.com&gt;
Date:   Fri May 23 14:41:35 2014 +0800

    beaglebone: enable the nowayout option for the watchdog
    
    The default watchdog behaviour is to stop the timer if the process
    managing it closes the file /dev/watchdog. The system would not reboot
    if watchdog daemon crashes due to a bug in it or get killed by other
    malicious code. So we prefer to enable nowayout option for the
    watchdong. With this enabled, there is no way of disabling the watchdog
    once it has been started. This option is also enabled in the predecessor
    of this BSP (beagleboard).
    
    Signed-off-by: Kevin Hao &lt;kexin.hao@windriver.com&gt;
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;

diff --git a/meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg b/meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg
index 6b25636..81f97d6 100644
--- a/meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg
+++ b/meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg
@@ -195,6 +195,7 @@ CONFIG_POWER_SUPPLY=y
 #
 # Watchdog Device Drivers
 #
+CONFIG_WATCHDOG_NOWAYOUT=y
 CONFIG_OMAP_WATCHDOG=y
 CONFIG_TWL4030_WATCHDOG=y</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44103</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2014-06-19 14:55:50 +0000</bug_when>
    <thetext>Information supplied</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47027</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-11-14 15:54:20 +0000</bug_when>
    <thetext>Did this get into any kernel branch such that it can be added to a kernel update for a 1.6.3?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47386</commentid>
    <comment_count>5</comment_count>
    <who name="Kevin Hao">kexin.hao</who>
    <bug_when>2014-12-05 06:55:51 +0000</bug_when>
    <thetext>I will talk with Bruce to get this fix merged into 1.6.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48182</commentid>
    <comment_count>6</comment_count>
    <who name="Kevin Hao">kexin.hao</who>
    <bug_when>2015-01-22 11:10:58 +0000</bug_when>
    <thetext>The patch for this issue has been merged into daisy branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49523</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-03-18 09:17:18 +0000</bug_when>
    <thetext>Verified with 1.6.3 rc2
git rev: daisy/6b8f7999c3e86d6e834af95ffe4c33d0d53db34a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>