Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666338 - sys-kernel/genkernel-3.5.3.3: crc32c module was added but fails to copy to initramfs
Summary: sys-kernel/genkernel-3.5.3.3: crc32c module was added but fails to copy to in...
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: 2018-09-16 11:01 UTC by Alexander Zubkov
Modified: 2019-03-07 21:08 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 Alexander Zubkov 2018-09-16 11:01:01 UTC
Due to this bug: https://bugs.gentoo.org/655110 crc32c was added to modules list in module_load files. But there is no module with such name. crc32c is an alias defined in modules.alias. For example in my kernel:

# grep " crc32c " modules.alias
alias crc32c crc32c_intel
alias crc32c crc32c_generic

And I do not have any crc32c* module in initramfs. And when I run genkernel with --loglevel=5, I see:

* Warning :: crc32c.ko not found; skipping...

I think we need to replace "crc32c" with "crc32c_generic crc32c_intel" in module_load files. Or add support for alias resolution.
Comment 1 ge1ger 2018-09-17 15:14:20 UTC
I can confirm this problem still persists.
Comment 2 Alexander Zubkov 2018-09-17 15:25:43 UTC
This can be used as a workaround:

sed -i 's/ crc32c / crc32c_generic crc32c_intel /' /usr/share/genkernel/arch/*/modules_load
Comment 3 Larry the Git Cow gentoo-dev 2019-03-07 21:08:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=5aa3d6112f0bf7ebf22cf5624f9c3c205307af31

commit 5aa3d6112f0bf7ebf22cf5624f9c3c205307af31
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2019-03-07 21:08:19 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2019-03-07 21:08:19 +0000

    modules_load: replace crc32c with crc32c_generic + crc32c-intel
    
    Fixes: https://bugs.gentoo.org/655110
    Fixes: https://bugs.gentoo.org/666338
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 arch/alpha/modules_load    | 2 +-
 arch/arm/modules_load      | 2 +-
 arch/ia64/modules_load     | 2 +-
 arch/mips/modules_load     | 2 +-
 arch/parisc/modules_load   | 2 +-
 arch/parisc64/modules_load | 2 +-
 arch/ppc/modules_load      | 2 +-
 arch/ppc64/modules_load    | 2 +-
 arch/ppc64le/modules_load  | 2 +-
 arch/s390/modules_load     | 2 +-
 arch/sparc/modules_load    | 2 +-
 arch/sparc64/modules_load  | 2 +-
 arch/um/modules_load       | 2 +-
 arch/x86/modules_load      | 2 +-
 arch/x86_64/modules_load   | 2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)