FS#21137 - [kernel26] Build in RTC support
Attached to Project:
Arch Linux
Opened by Tom Gundersen (tomegun) - Thursday, 07 October 2010, 21:11 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 01 November 2010, 18:49 GMT
Opened by Tom Gundersen (tomegun) - Thursday, 07 October 2010, 21:11 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 01 November 2010, 18:49 GMT
|
Details
Request:
Instead of building RTC_CMOS as a module and then unconditionally loading it in /etc/rc.sysinit, build it into the kernel statically. These are the config options that need to be changed: CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_CMOS=y Rationale: 1) Simplify/speed up boot: It removes the necessity of the first call to hwclock in rc.sysinit, which due to its synchronisation with the second call might take up to one second (as far as I understand). 2) This is what is done in other distros (at least the ones I checked: Fedora, OpenSuSE and Debian), and it is what is (strongly) recommended by the udev maintainer, so this configuration will receive wider testing/support. 3) My personal reason (maybe not relevant to the rest of Arch at the moment): I'm working on integrating SystemD with Arch, and this is one of the few outstanding obstacles to make SystemD boot with the standard Arch kernel. 4) I have not been able to find any possible downsides to the change. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Monday, 01 November 2010, 18:49 GMT
Reason for closing: Implemented
Monday, 01 November 2010, 18:49 GMT
Reason for closing: Implemented

Fair enough, we can change it when we move to 2.6.36.

Thanks!

IMHO we should still support modular RTC in the initscripts. Users
will still run old kernels or will still compile their own
kernels. The default should be built-in RTC modules in
kernel26(-lts) though.

fixed in 2.6.36-2 and 2.6.32.25-2