Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9649 - change RTC config

Attached to Project: Arch Linux
Opened by Roman Kyrylych (Romashka) - Thursday, 21 February 2008, 23:25 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 04 March 2008, 10:29 GMT
Task Type Feature Request
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There are 2 interfaces for RTC in Linux kernel:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/rtc.txt;hb=HEAD

Red Hat already uses only the new interface:
http://www.redhat.com/archives/fedora-kernel-list/2007-August/msg00030.html

It seems CONFIG_RTC and CONFIG_GEN_RTC should not be enabled at the same time,
this is fixed in .25 tree:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=09b6bdb3b6a95fe270107c2831e033f9cb233d2d

Our kernel config has both old and new interfaces enabled, which seems to be wrong according to the commit above.

In case CONFIG_RTC will be disabled, CONFIG_RTC_CLASS should be set to y instead of m, probably.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 04 March 2008, 10:29 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Thursday, 21 February 2008, 23:32 GMT
forgot to add that according to the last comments at  FS#9636  all RTC_CLASS-based drivers are useless in the current kernel config because old RTC driver takes precedence.
Comment by Roman Kyrylych (Romashka) - Monday, 25 February 2008, 08:24 GMT
ehm, actually it seems that both CONFIG_GEN_RTC and CONFIG_RTC are conflicting with CONFIG_RTC_CLASS

Loading...