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
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

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
Comment by Thomas Bächler (brain0) - Thursday, 07 October 2010, 23:38 GMT
Fair enough, we can change it when we move to 2.6.36.
Comment by Tom Gundersen (tomegun) - Friday, 08 October 2010, 10:52 GMT
Thanks!
Comment by Jan de Groot (JGC) - Tuesday, 12 October 2010, 14:45 GMT
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.
Comment by Tobias Powalowski (tpowa) - Sunday, 31 October 2010, 07:33 GMT
fixed in 2.6.36-2 and 2.6.32.25-2

Loading...