<?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>13555</bug_id>
          
          <creation_ts>2019-09-26 02:04:55 +0000</creation_ts>
          <short_desc>[2.8 M3 RC1] [mpc8315e-rdb] System randomly hang when running commands</short_desc>
          <delta_ts>2019-10-15 01:55:32 +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>3.0</version>
          <rep_platform>mpc8315e-rdb</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>ee.peng.yeoh</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sangeeta.jain</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>zhe.he</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>85075</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2019-09-26 02:04:55 +0000</bug_when>
    <thetext>Git rev: master/81f9e815d36848761a9dfa94b00ad998bb39a4a6
Image location: https://autobuilder.yocto.io/pub/releases/yocto-2.8_M3.rc1/machines/mpc8315e-rdb/

The system randomly hang when running commands either on NFS or on hard disk.
The oeqa automation test and LTP/Posix test can not finish due to this issue.

The issue was introduce since the kernel was updated to 5.2.

Zhe He (zhe.he@windriver.com) narrowed it down to the following kernel commit which was merged in 5.1-rc1:

commit f8b58c64eaef03946dbb1b100ba0255f72031c17
Author: Christophe Leroy &lt;christophe.leroy@c-s.fr&gt;
Date:   Thu Feb 21 10:38:00 2019 +0000

    powerpc/603: let&apos;s handle PAGE_DIRTY directly
    
    PAGE_DIRTY corresponds to the C bit. If writing on
    a page for which the C bit is not set, a DataStoreTLBMiss
    is generated. No need to check it in DataLoadTLBMiss.
    
    Signed-off-by: Christophe Leroy &lt;christophe.leroy@c-s.fr&gt;
    Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

He has backported a patch from upstream and sent it to the list: https://lists.yoctoproject.org/pipermail/linux-yocto/2019-September/007995.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85076</commentid>
    <comment_count>1</comment_count>
    <who name="He Zhe">zhe.he</who>
    <bug_when>2019-09-26 02:14:35 +0000</bug_when>
    <thetext>I have sent the fix to linux-yocto.

The maintainer would rather sync up with upstream stable later than merge the fix right now. So we have to wait until the patch goes to stable tree and is merged back.

https://lists.yoctoproject.org/pipermail/linux-yocto/2019-September/007999.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85103</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2019-09-26 15:24:17 +0000</bug_when>
    <thetext>I actually did merge this one. It is in my recent v5.2 SRCREV bumps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85119</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-09-27 12:52:40 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=3584fffc72166a9971a4a85f3d6fda4eb23d5042</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85343</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2019-10-15 01:55:32 +0000</bug_when>
    <thetext>Verified with 3.0 RC2. Git rev: master/94f6b31befda5c496f65e863a6f8152b42d7ebf0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>