Re: 2.6.21-rc2 : Oops in rtc_cmos...

Alessandro Zummo
2007-03-07T08:16:11Z

On Wed, 7 Mar 2007 05:42:13 +0100
"Paul Rolland" <rol@as2917.net> wrote:

> Hello,
>
> > > Yes, it does, so it's a Good One (tm),
> >
> > And points out that $SUBJECT is misleading; the root cause of
> > the oops isn't rtc_cmos. Workaround, don't enable the legacy
> > driver for this hardware.
>
> Well, sorry for that, but my point was that without enabling
> CONFIG_DRV_RTC_CMOS and only using CONFIG_RTC, my dmesg says :
>
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

yep. the layer the copies the hw clock to the system clock
is saying that it cannot find any driver to work on. so
you made the correct move in searching a driver. :)

> > > drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> > Because probing 00:03 failed, was never fully usable.
> > So then rtc0 couldn't be found. You'd get the same
> > message if, say, the RTC was loaded as a module.
>
> It seems to me that the DRV_RTC_CMOS and the "standard" CONFIG_RTC
> shouldn't be used at the same time... Am I correct on that ?
> Wouldn't it be better to have this dependancy enforced ?

I will try to push a patch asap.

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy