On Tuesday 19 April 2005 12:33, Sebastian Niehaus wrote:
> | radioactive:/home/niehaus# dmesg | grep -i rtc
> | rtc_init: no PC rtc found
I have the same problem on my Ultra 10.
I don't really get it as there is an RTC present in the system (OpenBoot's
watch-clock works) and as it seems the kernel should have support for it.
./drivers/char/rtc.c has this code:
<snip>
#ifdef __sparc__
for_each_ebus(ebus) {
for_each_ebusdev(edev, ebus) {
if(strcmp(edev->prom_name, "rtc") == 0) {
rtc_port = edev->resource[0].start;
rtc_irq = edev->irqs[0];
goto found;
}
}
}
#ifdef __sparc_v9__
for_each_isa(isa_br) {
for_each_isadev(isa_dev, isa_br) {
if (strcmp(isa_dev->prom_name, "rtc") == 0) {
rtc_port = isa_dev->resource.start;
rtc_irq = isa_dev->irq;
goto found;
}
}
}
#endif
printk(KERN_ERR "rtc_init: no PC rtc found\n");
return -EIO;
</snip>
It looks like this is failing somehow or missing something...
In the kernel config (Debian's 2.6.8), I have CONFIG_SUN_MOSTEK_RTC
enabled. From the kernel config help:
The Mostek RTC chip is used on all known Sun computers except
some JavaStations. For a JavaStation you need to say Y both here
and to "Enhanced Real Time Clock Support".
Is that correct?
"Enhanced Real Time Clock Support" (CONFIG_RTC) is enabled by default and
AFAICT can not be configured.
Cheers,
Frans Pop
Attachment:
pgpXXg_M0r_7y.pgp
Description: PGP signature