<?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>987</bug_id>
          
          <creation_ts>2011-04-13 19:34:01 +0000</creation_ts>
          <short_desc>do_bootimg failed on sugarbay, jasperforest, n450:  .../kernel/bzImage: No such file or directory</short_desc>
          <delta_ts>2011-04-25 23:30:05 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Patch submitted to oe-core (18/Mar/2011)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dexuan Cui">dexuan.cui</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>dvhart</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.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>13258</commentid>
    <comment_count>0</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-13 19:34:01 +0000</bug_when>
    <thetext>This happened on today&apos;s latest poky master:

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;master&quot;
METADATA_REVISION = &quot;6bf6aec120744211fbabf2b4a167bfd1ab5866fd&quot;
TARGET_ARCH       = &quot;x86_64&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;sugarbay&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.0+snapshot-20110413&quot;
TARGET_FPU        = &quot;&quot;


http://autobuilder.yoctoproject.org:8010/builders/sugarbay-lsb/builds/5/steps/shell_5/logs/stdio
| ERROR: Function &apos;build_boot_bin&apos; failed (see /home/pokybuild/poky-slave/sugarbay-lsb/build/build/tmp/work/snb-poky-linux/poky-image-lsb-sdk-live-1.0-r0/temp/log.do_bootimg.21475 for further information)
| install: cannot stat `/home/pokybuild/poky-slave/sugarbay-lsb/build/build/tmp/sysroots/sugarbay/kernel/bzImage&apos;: No such file or directory
NOTE: package poky-image-lsb-sdk-live-1.0-r0: task do_bootimg: Failed


http://autobuilder.yoctoproject.org:8010/builders/jasperforest-lsb/builds/6/steps/shell_5/logs/stdio

http://autobuilder.yoctoproject.org:8010/builders/jasperforest/builds/31/steps/shell_5/logs/stdio


http://autobuilder.yoctoproject.org:8010/builders/n450-lsb/builds/8/steps/shell_5/logs/stdio


http://autobuilder.yoctoproject.org:8010/builders/n450/builds/70/steps/shell_5/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13270</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-04-14 05:26:03 +0000</bug_when>
    <thetext>*** Bug 989 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13279</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-04-14 15:29:13 +0000</bug_when>
    <thetext>Tom, I suspect this is a bad build tree or a need for a linux-yocto -c clean, but would you see if you can reproduce or if you see anything wrong here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13298</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-04-15 08:34:44 +0000</bug_when>
    <thetext>Reproduced with n450 poky-image-minimal-live:

| install: cannot stat `/usr/local/test/intel-bsp/build/tmp/sysroots/n450/kernel/bzImage&apos;: No such file or directory
| ERROR: Function &apos;build_boot_bin&apos; failed (see /usr/local/test/intel-bsp/build/tmp/work/core2-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.1106 for further information)


The kernel is being built, but not being found in sysroots by bootimg creation, although it exists in the kernel build:

trz@elmorro:/usr/local/test/intel-bsp/build/tmp/work/n450-poky-linux/linux-yocto-stable-2.6.34+git1+e1f85a470934a0cf6abde5d95533e74501822c6b_1+72ca49ab08b8eb475cec82a10049503602325791-r1/linux-n450-standard-build/arch/x86/boot$ ls -al bzImage 
-rw-r--r-- 1 trz trz 4180896 2011-04-15 09:56 bzImage

So some commit since bernard seems to have caused this, need to dig into where...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13321</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-04-18 09:07:00 +0000</bug_when>
    <thetext>Looks like it was this commit:

commit 3b49416fc7a7ee9bfe722f2e6089aa18df41dc58
Author: Darren Hart &lt;dvhart@linux.intel.com&gt;
Date:   Tue Mar 8 17:09:10 2011 -0800

    kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13323</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-04-18 10:07:53 +0000</bug_when>
    <thetext>I&apos;ll have a look at this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13336</commentid>
    <comment_count>6</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-04-18 14:04:41 +0000</bug_when>
    <thetext>The following looks like a likely candidate.

-	install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}

I&apos;ll take a closer look at that and if other bits might be missing as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13349</commentid>
    <comment_count>7</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-04-18 16:27:36 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; The following looks like a likely candidate.
&gt; 
&gt; -    install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
&gt; 
&gt; I&apos;ll take a closer look at that and if other bits might be missing as well.

Sorry, I meant...

install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}

This fixed it, patch submitted to oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13399</commentid>
    <comment_count>8</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-25 07:05:27 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; The following looks like a likely candidate.
&gt; &gt; 
&gt; &gt; -    install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
&gt; &gt; 
&gt; &gt; I&apos;ll take a closer look at that and if other bits might be missing as well.
&gt; Sorry, I meant...
&gt; install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
&gt; This fixed it, patch submitted to oe-core.

Fixed by http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ae440cd1b8e088ee197bbfa283ac257a3860ebcd (kernel: Copy over bzImage to sysroots during install)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13400</commentid>
    <comment_count>9</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-25 07:06:11 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; (In reply to comment #6)
&gt; &gt; &gt; The following looks like a likely candidate.
&gt; &gt; &gt; 
&gt; &gt; &gt; -    install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
&gt; &gt; &gt; 
&gt; &gt; &gt; I&apos;ll take a closer look at that and if other bits might be missing as well.
&gt; &gt; Sorry, I meant...
&gt; &gt; install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
&gt; &gt; This fixed it, patch submitted to oe-core.
&gt; Fixed by
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ae440cd1b8e088ee197bbfa283ac257a3860ebcd
&gt; (kernel: Copy over bzImage to sysroots during install)

VERIFY the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13418</commentid>
    <comment_count>10</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-04-25 23:27:18 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #8)
&gt; &gt; (In reply to comment #7)
&gt; &gt; &gt; (In reply to comment #6)
&gt; &gt; &gt; &gt; The following looks like a likely candidate.
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; -    install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; I&apos;ll take a closer look at that and if other bits might be missing as well.
&gt; &gt; &gt; Sorry, I meant...
&gt; &gt; &gt; install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
&gt; &gt; &gt; This fixed it, patch submitted to oe-core.
&gt; &gt; Fixed by
&gt; &gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ae440cd1b8e088ee197bbfa283ac257a3860ebcd
&gt; &gt; (kernel: Copy over bzImage to sysroots during install)
&gt; 
&gt; VERIFY the bug.

Do you mean &quot;I have verified the bug&quot;? Or is this a statement that someone needs to go and verify the bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13419</commentid>
    <comment_count>11</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-25 23:30:05 +0000</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; (In reply to comment #8)
&gt; &gt; &gt; (In reply to comment #7)
&gt; &gt; &gt; &gt; (In reply to comment #6)
&gt; &gt; &gt; &gt; &gt; The following looks like a likely candidate.
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; -    install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; I&apos;ll take a closer look at that and if other bits might be missing as well.
&gt; &gt; &gt; &gt; Sorry, I meant...
&gt; &gt; &gt; &gt; install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
&gt; &gt; &gt; &gt; This fixed it, patch submitted to oe-core.
&gt; &gt; &gt; Fixed by
&gt; &gt; &gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ae440cd1b8e088ee197bbfa283ac257a3860ebcd
&gt; &gt; &gt; (kernel: Copy over bzImage to sysroots during install)
&gt; &gt; 
&gt; &gt; VERIFY the bug.
&gt; Do you mean &quot;I have verified the bug&quot;? Or is this a statement that someone
&gt; needs to go and verify the bug?
I meant &quot;I have verified the bug&quot;. :-)
I&apos;m pretty sure the bug was fixed by the commit and I don&apos;t see it in recent autobuilder logs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>