RTC config option doesn't work for IA64 ?
Is it just me, or does the RTC config option not generate a working kernel for the IA64 test4 kernel + david's 0714 patches?
It appears that at least a header file is missing, I don't know what goes in it as yet: asm-ia64/mc146818rtc.h
Basically compilation fails if the config option is turned on.
gerrit
Hi,
Quoted 8 lines
Is it just me, or does the RTC config option not generate a working kernel for the IA64 test4 kernel + david's 0714 patches?
It appears that at least a header file is missing, I don't know what goes in it as yet:
asm-ia64/mc146818rtc.hBasically compilation fails if the config option is turned on.
Normally you don't need to enable the CONFIG_RTC. You should enable the CONFIG_EFI_RTC. Also in /dev you must have something like this:
crw-r--r-- 1 root root 10, 136 Apr 5 15:38 efirtc lrwxrwxrwx 1 root root 6 May 5 15:29 rtc -> efirtc
You can keep the legacy RTC under another name. With this in place, the hwclock program should work seamlessly.
On the machines that we have, if I recall correctly, the legacy RTC is still present but the code has never been tested. Anyway, DiG does not guarantee the existence of such a timer. The only portable way is via EFI runtime services.
-Stephane