<?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>303</bug_id>
          
          <creation_ts>2010-09-09 01:31:48 +0000</creation_ts>
          <short_desc>[qemux86] No enough disk space with qemux86 sdk image</short_desc>
          <delta_ts>2010-12-21 06:07:14 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Dexuan Cui">dexuan.cui</assigned_to>
          <cc>kevin.tian</cc>
    
    <cc>kunwei.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>xianchao.zhang</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9699</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-09 01:31:48 +0000</bug_when>
    <thetext>Testing Env:    
Host: Ubuntu 10.04.1 LTS
Kernel: Linux vt-dp4 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC
2010 x86_64 GNU/Linux
Poky gitinfo(used to build qemu-native):
6c3df3a7a02986d21ca09a9e914ffb2a64548752
All images file from http://autobuilder.pokylinux.org/milestone/20100908-1/.

The qemux86 sdk image has no enough disk space after booting up. 

######
root@qemux86:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               820297    780860         0 100% /
tmpfs                       40         0        40   0% /mnt/.psplash
none                     61112       116     60996   0% /dev
tmpfs                    61112       116     60996   0% /var/volatile
tmpfs                    61112         0     61112   0% /media/ram
######

Reproduce Steps:
1. Download latest milestone images from autobuilder
2. start the QEMU image
3. check disk space with &apos;df&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9714</commentid>
    <comment_count>1</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-09-09 19:08:54 +0000</bug_when>
    <thetext>Saul propably fixed the bug:

---------------------------------------------
image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTOR
 
author Saul Wold &lt;Saul.Wold@intel.com&gt;  
 Wed, 8 Sep 2010 23:25:25 +0000 (16:25 -0700) 
committer Saul Wold &lt;Saul.Wold@intel.com&gt;  
 Wed, 8 Sep 2010 23:36:53 +0000 (16:36 -0700) 

This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to
adjust dynamicly how much space to add for each image, thus there
is 20% overhead space by default.

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
---------------------------------------------

I&apos;m building poky-image-sdk image, trying to verify Saul&apos;s fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9722</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-09-09 22:09:08 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Saul propably fixed the bug:
&gt; ---------------------------------------------
&gt; image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTOR
&gt; author Saul Wold &lt;Saul.Wold@intel.com&gt;  
&gt;  Wed, 8 Sep 2010 23:25:25 +0000 (16:25 -0700) 
&gt; committer Saul Wold &lt;Saul.Wold@intel.com&gt;  
&gt;  Wed, 8 Sep 2010 23:36:53 +0000 (16:36 -0700) 
&gt; This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to
&gt; adjust dynamicly how much space to add for each image, thus there
&gt; is 20% overhead space by default.
&gt; Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
&gt; ---------------------------------------------
&gt; I&apos;m building poky-image-sdk image, trying to verify Saul&apos;s fix.

I can verify the issue was fixed by the above commit of Saul in this way:
Firstly I &quot;bitbake poky-image-sdk&quot; on poky.git&apos;s master branch with commit 
commit 3e7db72216472050366c3059219660dea057e80b
Author: Joshua Lock &lt;josh@linux.intel.com&gt;
Date:   Wed Sep 8 18:38:43 2010 +0100
And I did see the same &quot;100% usage&quot; issue as Jiajun noticed

Later I applied Saul&apos;s patch and rebuilt sdk, and the Usage became to 93%.

BTW: Saul&apos;s patch has been in poky.git and poky-contrib.git for 2 days.

So let me mark the bug as FIXED.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9775</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-13 17:39:19 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Saul propably fixed the bug:
&gt; &gt; ---------------------------------------------
&gt; &gt; image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTOR
&gt; &gt; author Saul Wold &lt;Saul.Wold@intel.com&gt;  
&gt; &gt;  Wed, 8 Sep 2010 23:25:25 +0000 (16:25 -0700) 
&gt; &gt; committer Saul Wold &lt;Saul.Wold@intel.com&gt;  
&gt; &gt;  Wed, 8 Sep 2010 23:36:53 +0000 (16:36 -0700) 
&gt; &gt; This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to
&gt; &gt; adjust dynamicly how much space to add for each image, thus there
&gt; &gt; is 20% overhead space by default.
&gt; &gt; Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
&gt; &gt; ---------------------------------------------
&gt; &gt; I&apos;m building poky-image-sdk image, trying to verify Saul&apos;s fix.
&gt; I can verify the issue was fixed by the above commit of Saul in this way:
&gt; Firstly I &quot;bitbake poky-image-sdk&quot; on poky.git&apos;s master branch with commit 
&gt; commit 3e7db72216472050366c3059219660dea057e80b
&gt; Author: Joshua Lock &lt;josh@linux.intel.com&gt;
&gt; Date:   Wed Sep 8 18:38:43 2010 +0100
&gt; And I did see the same &quot;100% usage&quot; issue as Jiajun noticed
&gt; Later I applied Saul&apos;s patch and rebuilt sdk, and the Usage became to 93%.
&gt; BTW: Saul&apos;s patch has been in poky.git and poky-contrib.git for 2 days.
&gt; So let me mark the bug as FIXED.

Verify with M3 20100911 build, the bug is fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>