<?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>1494</bug_id>
          
          <creation_ts>2011-09-18 03:55:55 +0000</creation_ts>
          <short_desc>[btrfs] kernel not support btrfs</short_desc>
          <delta_ts>2011-09-21 17:41:00 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>wenhuax.fan</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>16277</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-18 03:55:55 +0000</bug_when>
    <thetext>tree/branch: poky/1.1_M4
commit: 6462c158fc482e495c1171ffc7747e2ad650a292

With latest 1.1 M4 branch, after I build a minimal image with btrfs enabled and boot up the btrfs image, the kernel will report &quot;no valid root filesystem found&quot;. It seems btrfs related config options are not enabled for kernel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16288</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-19 08:14:24 +0000</bug_when>
    <thetext>Could you please give more information about how you set the flags for the kernel and image type setting?

You need to include the following line in your local.conf file:

IMAGE_FSTYPES += &quot; btrfs&quot;
KERNEL_FEATURES_append = &quot; cfg/btrfs &quot;

for some reason += does not work with KERNEL_FEATURES.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16291</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-09-19 08:56:35 +0000</bug_when>
    <thetext>Jiajun,
  Saul said it right, the kernel btrfs config needs to be enabled with KERNEL_FEATURES line in the local.conf.  Without that kernel will not include the btrfs support.

Thanks,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16292</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-09-19 08:57:09 +0000</bug_when>
    <thetext>Jiajun,
  Saul said it right, the kernel btrfs config needs to be enabled with KERNEL_FEATURES line in the local.conf.  Without that kernel will not include the btrfs support.

Thanks,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16303</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-19 22:30:46 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Jiajun,
&gt;   Saul said it right, the kernel btrfs config needs to be enabled with
&gt; KERNEL_FEATURES line in the local.conf.  Without that kernel will not include
&gt; the btrfs support.
&gt; Thanks,
&gt; Nitin

Thanks, Saul, Nitin. After setting KERNEL_FEATURES_append, btrfs option is enabled for kernel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16304</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-19 22:31:10 +0000</bug_when>
    <thetext>Verify the bug as INVALID.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>