<?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>2265</bug_id>
          
          <creation_ts>2012-04-09 07:36:45 +0000</creation_ts>
          <short_desc>[autobuilder] version field in kernel name mismatched with real version</short_desc>
          <delta_ts>2012-05-01 21:46:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-tooling</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>pull request sent</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>dvhart</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>20052</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-04-09 07:36:45 +0000</bug_when>
    <thetext>For some bsp in autobuilder, the version field in the kernel name is incorrect.

For example: http://autobuilder.pokylinux.org/nightly/20120405-1/machines/mpc8315e-rdb/

The kernel name is uImage-3.0.24+git1+a4ac64fe873f08ef718e2849b88914725dc99c1c_1+7ba6d6853b6e7cf00a742baeba1503c80fc05314-r4-mpc8315e-rdb-20120405071926.bin, but it is real version is 3.0.23.
#########
root@mpc8315e-rdb:~# uname -a
Linux mpc8315e-rdb 3.0.23-yocto-standard #1 PREEMPT Thu Apr 5 02:49:46 PDT 2012 ppc GNU/Linux
#########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20082</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2012-04-09 20:17:13 +0000</bug_when>
    <thetext>Not an autobuilder bug. The autobuilder does not determine the name of uImage. It seems that:

LINUX_VERSION ?= &quot;3.0.24&quot; 
PV = &quot;${LINUX_VERSION}+git${SRCPV}&quot;

is innaccurate in meta/recipes-kernel/linux/linux-yocto_3.0.bb 

Reassigning to kernel team.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20083</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-04-09 20:24:23 +0000</bug_when>
    <thetext>If we checkout the BSP branch and read the Makefile, we see:

VERSION = 3
PATCHLEVEL = 0
SUBLEVEL = 24

So the sources will build a 3.0.24 kernel, and as noted by Beth in Comment 1, the recipe also reflects a 3.0.24 kernel.

It appears that for whatever reason, the image on the autobuilder has not rebuilt the kernel image from the new sources.

Note that for the uImage listed (machine sources 7ba6d6853b6e7cf00a742baeba1503c80fc05314), 3.0.23 is correct. This is the machine SRCREV in meta-yocto. The correct fix is to update the machine SRCREV to what is current in the BSP branch.

Bruce, was this an omission, or has the mpc machine been held back deliberately?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20096</commentid>
    <comment_count>3</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2012-04-10 02:30:27 +0000</bug_when>
    <thetext>(Sorry for my previous incorrect change to the Whiteboard -- I didn&apos;t use the correct link...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20098</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-04-10 04:27:58 +0000</bug_when>
    <thetext>looks like an omission for meta-yocto. will update ASAP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20125</commentid>
    <comment_count>5</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-04-10 13:36:38 +0000</bug_when>
    <thetext>pull request sent to the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20959</commentid>
    <comment_count>6</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-05-01 17:37:04 +0000</bug_when>
    <thetext>Bruce, please mark the bug as fixed since the pull request sent</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20968</commentid>
    <comment_count>7</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-05-01 21:46:19 +0000</bug_when>
    <thetext>verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>