[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Loongson updates

* Arnaud Patard (arnaud.patard@rtp-net.org) [100503 23:57]:
> Andreas Barth <aba@not.so.argh.org> writes:
> > * Arnaud Patard (arnaud.patard@rtp-net.org) [100503 19:45]:
> >> Andreas Barth <aba@not.so.argh.org> writes:
> >> hmm... I've an idea of what the problem is but I need more information
> >> to confirm my hypothesis. Do you know what's providing rtc on your
> >> system ? If it's supposed to be driven by the rtc-cmos driver, can you
> >> boot a kernel with RTC_DEBUG, load the rtc-cmos driver and look for
> >> messages from the rtc kernel stuff ?
> >
> > Did so. This ends with:
> >
> > aba@phrixos:~$ sudo modprobe rtc-cmos
> > FATAL: Error inserting rtc_cmos (/lib/modules/2.6.34-rc6aba3/kernel/drivers/rtc/rtc-cmos.ko): No such device
> > aba@phrixos:~$
> >
> ok, so it's not the bug I was thinking of. Your problem is that you
> don't have a rtc_cmos device. The patch below should help. I think it
> should work on your system but this remains to be confirmed.
> Please try again with this patch and look at the logs to check if it's
> making any difference.

I still get:
FATAL: Error inserting rtc_cmos (/lib/modules/2.6.34-rc6aba4/kernel/drivers/rtc/rtc-cmos.ko): No such device

but in syslog, there is now:
May  3 22:57:15 phrixos kernel: [   33.860000] rtc_cmos: dev (254:0)
May  3 22:57:15 phrixos kernel: [   33.860000] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
May  3 22:57:15 phrixos kernel: [   33.864000] rtc_cmos rtc_cmos: only 24-hr BCD mode supported
(these three lines appear once for each try)

However, trying to access also give:
aba@phrixos:~$ sudo hwclock --show --debug
hwclock from util-linux-ng 2.16.2
hwclock: Open of /dev/rtc failed, errno=6: No such device or address.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.


Reply to: