Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494502 - sys-kernel/genkernel builds unbootable initramfs for kernels > 3.8 and XFS/btrfs in module
Summary: sys-kernel/genkernel builds unbootable initramfs for kernels > 3.8 and XFS/bt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 07:06 UTC by Tomasz Wasiak
Modified: 2017-01-02 23:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Wasiak 2013-12-17 07:06:49 UTC
Genkernel (3.4.47/git) builds unbootable initramfs for kernels from 3.8.0 up to newest for:
 - CONFIG_XFS_FS=m set in kernel configuration
 - CONFIG_BTRFS_FS=m set in kernel configuration
 - CONFIG_LIBCRC32C=m set in kernel configuration
 - ALLRAMDISKMODULES="0"/unset in genkernel.conf

Simplest solution (without recompiling kernel) is to set ALLRAMDISKMODULES to true as the cause for this problem is missing crc32c module which is not visible as libcrc32c dependency. There are same issues with btrfs.

Proper solution would be using different modules dependency system as greping modules.dep is not working nowadays.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-01-02 23:27:54 UTC
Fixed long ago, libcrc32c is included in initramfs.