<?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>7541</bug_id>
          
          <creation_ts>2015-03-30 17:29:23 +0000</creation_ts>
          <short_desc>live image type hangs build if rootfs.img+ exceeds 4GB</short_desc>
          <delta_ts>2015-10-01 15:28:51 +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>Other</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</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.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Hallinan">challinan</reporter>
          <assigned_to name="Chris Hallinan">challinan</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49926</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Hallinan">challinan</who>
    <bug_when>2015-03-30 17:29:23 +0000</bug_when>
    <thetext>YP 1.7. meta-amd. building a custom image recipe based on core-image fails if the rootfs size + initrd size + syslinux boot files + EFI boot files exceeds ~4GB.  The build hangs, with &apos;ps&apos; showing that mcopy is in a stopped state.  From a user&apos;s perspective, the build hangs without any console output.  The last line displayed on the console is &quot;NOTE: recipe &lt;foo&gt;: task do_bootimg: Started&quot;

Log files provide no further useful data.

What&apos;s actually happening is that mcopy, with stdin/stdio/stderr redirected to bitbake, is asking for console input (even though the correct mcopy flags are passed to squash any console interaction ;) ) and of course, there is no way for the user to know reply.

mcopy is unable to handle files greater than 4GB anyway, so there isn&apos;t really a quick fix here.  live image types, as currently designed, are limited to 4GB images.

I&apos;m pretty sure the hardware platform is irrelevant.  Any image recipe for any target which uses live image types will fail if the rootfs.img + &lt;rest&gt; is greater then 4GB.

I will be submitting a patch to at least bail and warn to prevent a silent hang.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50041</commentid>
    <comment_count>1</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2015-04-02 14:49:43 +0000</bug_when>
    <thetext>Patch sent to mailing list</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54897</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-10-01 15:28:51 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5c71337cd79b03322f39e56c22c3e7634a2d9abd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>