Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 472590

Summary: sys-kernel/genkernel-3.4.46.1-r1 builds kernel / initramfs without rtc-cmos (or any RTC_DRV_*) modules
Product: Gentoo Hosted Projects Reporter: Ben Kohler <bkohler>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben Kohler gentoo-dev 2013-06-07 14:55:10 UTC
Although the shipping kernel-config with genkernel has ~10 of these various RTC hardware drivers marked as modules, the resulting built kernel & initramfs has these things disabled.  Here's an excerpt from arch/x86_64/kernel-config:

CONFIG_RTC_CLASS=m
CONFIG_RTC_DRV_DS1374=m
CONFIG_RTC_DRV_MAX6900=m
CONFIG_RTC_DRV_M41T80=m
CONFIG_RTC_DRV_CMOS=m
CONFIG_RTC_DRV_DS1553=m
CONFIG_RTC_DRV_DS1742=m
CONFIG_RTC_DRV_STK17TA8=m
CONFIG_RTC_DRV_M48T86=m
CONFIG_RTC_DRV_M48T59=m
CONFIG_RTC_DRV_V3020=m

The problem is that CONFIG_RTC_CLASS is a boolean, not tristate, so =m is not valid, and so all things depending on RTC_CLASS get dropped from the config.  Changing this to CONFIG_RTC_CLASS=y should fix the issue, I have tested this locally with success.
Comment 1 Ben Kohler gentoo-dev 2013-06-08 16:00:18 UTC

*** This bug has been marked as a duplicate of bug 444932 ***