<?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>6489</bug_id>
          
          <creation_ts>2014-06-30 08:21:22 +0000</creation_ts>
          <short_desc>SATA harddisk error on mpc8315e-rdb</short_desc>
          <delta_ts>2014-09-09 07:31:15 +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.7</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7 M2</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>ke.zou</cc>
    
    <cc>yi.zhao</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>44232</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-06-30 08:21:22 +0000</bug_when>
    <thetext>Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7_M1.rc1/machines/mpc8315e-rdb/
git rev: master/68824d9b8f6e290da078383316b3f4b732585f2b

There are some error messages for sata when system boot up:
#######################
ata1.00: qc timeout (cmd 0x2f)
ata1: failed to read log page 10h (errno=-5)
ata1.00: exception Emask 0x41 SAct 0x10000 SErr 0x800 action 0x6 frozen
ata1: SError: { HostInt }
ata1.00: failed command: READ FPDMA QUEUED
ata1.00: cmd 60/08:80:e0:9a:a1/00:00:12:00:00/40 tag 16 ncq 4096 in
         res 50/00:00:af:9e:a1/00:00:12:00:00/e0 Emask 0x41 (internal error)
ata1.00: status: { DRDY }
ata1: hard resetting link
ata1: Hardreset failed, not off-lined 0
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdb1): using internal journal
EXT3-fs (sdb1): recovery complete
EXT3-fs (sdb1): mounted filesystem with ordered data mode
ata1: Signature Update detected @ 504 msecs
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: qc timeout (cmd 0x2f)
ata1: failed to read log page 10h (errno=-5)
ata1.00: exception Emask 0x41 SAct 0x20000 SErr 0x800 action 0x6 frozen
ata1: SError: { HostInt }
ata1.00: failed command: READ FPDMA QUEUED
ata1.00: cmd 60/08:88:e0:9a:a1/00:00:12:00:00/40 tag 17 ncq 4096 in
         res 50/00:00:af:9e:a1/00:00:12:00:00/e0 Emask 0x41 (internal error)
ata1.00: status: { DRDY }
ata1: hard resetting link
ata1: Hardreset failed, not off-lined 0
ata1: Signature Update detected @ 504 msecs
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: qc timeout (cmd 0x2f)
ata1: failed to read log page 10h (errno=-5)
ata1.00: exception Emask 0x41 SAct 0x40000 SErr 0x800 action 0x6 frozen
ata1: SError: { HostInt }
ata1.00: failed command: READ FPDMA QUEUED
ata1.00: cmd 60/08:90:e0:9a:a1/00:00:12:00:00/40 tag 18 ncq 4096 in
         res 50/00:00:af:9e:a1/00:00:12:00:00/e0 Emask 0x41 (internal error)
ata1.00: status: { DRDY }
ata1: hard resetting link
ata1: Hardreset failed, not off-lined 0
ata1: Signature Update detected @ 504 msecs
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: qc timeout (cmd 0x2f)
####################

And the harddisk partitions can not be mounted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45318</commentid>
    <comment_count>1</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-08-29 07:33:18 +0000</bug_when>
    <thetext>This issue still exists in 20140826 build. (git rev: master/52b788c6df9201764130ab744bf67b770b24b896)

Looks like we need to update the kernel commit in meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.14.bbappend</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45409</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Hao">kexin.hao</who>
    <bug_when>2014-09-05 03:17:23 +0000</bug_when>
    <thetext>The patch from Bruce to update the SRCREV for mpc8315 has been merged. Please have a try.

commit 4900d763c94e4c030ceec4bc16d64d04a6970a21
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Sat Aug 30 00:46:05 2014 -0400

    yocto-bsps: update SRCREVs to linux-yocto latest
    
    Bumping the reference boards to the linux-yocto 3.14 latest SRCREVs.
    
    (From meta-yocto rev: 0fed8753eed45b29150f203b87cce25462596e9c)
    
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45478</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-09-09 07:31:15 +0000</bug_when>
    <thetext>Verified with 1.7 M3 rc1.
poky git rev: master/a44006262cf3b810ec78b4cccd8076102a7a0f3e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>