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

Bug 498984

Summary: install-amd64-minimal-20140116 (and many earlier versions) - kernel is missing CONFIG_RTC_DRV_CMOS
Product: Gentoo Release Media Reporter: Ben Kohler <bkohler>
Component: InstallCDAssignee: Gentoo Release Team <releng>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler
Priority: Normal    
Version: autobuild   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: installcd-config-add-rtc.patch

Description Ben Kohler gentoo-dev 2014-01-23 02:16:45 UTC
For a while now, minimal install isos have all been missing CONFIG_RTC_CMOS so the hwclock service shows this output:

* Setting system clock using the hardware clock [UTC] ...
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the -debug option to see the details of our search for an access method.

This was fixed a while back in genkernel's default configs in bug #444932, but the releng installcd config is still missing CONFIG_RTC_CLASS and all RTC drivers under that menu.  See:

http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=blob_plain;f=releases/weekly/kconfig/amd64/installcd-3.10.17.config;hb=HEAD
Comment 1 Ben Kohler gentoo-dev 2014-01-23 04:33:06 UTC
Created attachment 368512 [details, diff]
installcd-config-add-rtc.patch

Small correction to the above, the option is CONFIG_RTC_DRV_CMOS.  I've attached a config patch but really you just need to enter menuconfig and enable CONFIG_RTC_CLASS, that will auto-enable the CMOS driver.

It will autoenable CONFIG_RTC_HCTOSYS and CONFIG_RTC_SYSTOHC which I think should be off, but that's up for debate.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2014-06-25 19:42:42 UTC
Changes applied[1].

 [1] - http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=commit;h=2546599186f0968cb8fc8cd253731f71bc528053
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2015-06-15 02:18:00 UTC
This should be fixed now.