<?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>8387</bug_id>
          
          <creation_ts>2015-09-24 08:17:26 +0000</creation_ts>
          <short_desc>dmesg error: stmmac_dvr_probe: warning: cannot get CSR clock on intel-quark Galileo v2</short_desc>
          <delta_ts>2015-11-24 14:52:13 +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-intel</component>
          <version>1.9</version>
          <rep_platform>Galileo</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristina Agurida">cristina-danielax.agurida</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>dvhart</cc>
    
    <cc>georgex.l.musat</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</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>54597</commentid>
    <comment_count>0</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-09-24 08:17:26 +0000</bug_when>
    <thetext>BUILD: 1.9_M3.rc1: meta-intel: cea00968b858b60222d68103491f076067d73876
                   poky: ea562de57590c966cd5a75fda8defecd397e6436
IMAGE: core-image-sato-sdk
ENVIRONMENT: intel-quark on Galileo v.2
STEPS TO REPRODUCE: 
  
Parse dmesg log and all log files in /var/log for keywords like: &quot;error&quot; , &quot;failed&quot; , &quot;cannot&quot;, &quot;can&apos;t&quot; etc.
Filter out the known and invalid errors or errors that appear in certain situations and need to be ignored.



EXPECTED OUTCOME: 
  
No errors or fails should be present in logs

ACTUAL OUTCOME:

This error appears on dmesg log:

Log: dmesg
-----------------------
Central error: [    9.473989] stmmaceth 0000:00:14.6: stmmac_dvr_probe: warning: cannot get CSR clock
***********************
[    9.413328] intel_quark_mfd_i2c_gpio 0000:00:15.2: enabling device (0000 -&gt; 0002)
[    9.424827] Uniform Multi-Platform E-IDE driver
[    9.429464] ide-gd driver 1.18
[    9.431837] ide-cd driver 5.00
[    9.437171] CAN device driver interface
[    9.440705] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
[    9.447662] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    9.453794] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    9.459117] pch_gbe: EG20T PCH Gigabit Ethernet Driver - version 1.01
[    9.466003] stmmaceth 0000:00:14.6: enabling device (0000 -&gt; 0002)
[    9.473989] stmmaceth 0000:00:14.6: stmmac_dvr_probe: warning: cannot get CSR clock
[    9.480787] stmmaceth 0000:00:14.6: no reset control found
[    9.485213] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    9.489153]  Ring mode enabled
[    9.491200]  DMA HW capability register supported
[    9.494514]  Enhanced/Alternate descriptors
[    9.497878] 	Enabled extended descriptors
[    9.500898]  RX Checksum Offload Engine supported (type 2)
[    9.505300]  TX Checksum insertion supported
[    9.508443]  Enable RX Mitigation via HW Watchdog Timer
[    9.529857] libphy: stmmac: probed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55588</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-10-22 00:04:41 +0000</bug_when>
    <thetext>Based on my research into the stmmac driver and code history this is a benign message and can be ignored (and whitelisted in our test system).

The comment after this warning:

/* If failed to obtain stmmac_clk and specific clk_csr value
 * is NOT passed from the platform, probe fail.

The clk_csr value is passed and is valid so the probe continues successfully.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56749</commentid>
    <comment_count>2</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-11-24 14:52:13 +0000</bug_when>
    <thetext>As per last comment set it as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>