Bug 1494 - [btrfs] kernel not support btrfs
Summary: [btrfs] kernel not support btrfs
Status: VERIFIED INVALID
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium major
Target Milestone: 1.1
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-09-18 03:55 UTC by Jiajun Xu
Modified: 2011-09-21 17:41 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-09-18 03:55:55 UTC
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 "no valid root filesystem found". It seems btrfs related config options are not enabled for kernel.
Comment 1 Saul Wold 2011-09-19 08:14:24 UTC
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 += " btrfs"
KERNEL_FEATURES_append = " cfg/btrfs "

for some reason += does not work with KERNEL_FEATURES.
Comment 2 Nitin Kamble 2011-09-19 08:56:35 UTC
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
Comment 3 Nitin Kamble 2011-09-19 08:57:09 UTC
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
Comment 4 Jiajun Xu 2011-09-19 22:30:46 UTC
(In reply to comment #3)
> 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

Thanks, Saul, Nitin. After setting KERNEL_FEATURES_append, btrfs option is enabled for kernel.
Comment 5 Jiajun Xu 2011-09-19 22:31:10 UTC
Verify the bug as INVALID.