Current-Users archive

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

Re: RTC can't keep up the time



On Wed, Dec 17, 2008 at 02:31:48PM -0500, Arnaud Lacombe wrote:

> On Wed, Dec 17, 2008 at 2:23 PM, Joerg Sonnenberger
> <joerg%britannica.bec.de@localhost> wrote:
> > On Wed, Dec 17, 2008 at 02:12:19PM -0500, Arnaud Lacombe wrote:
> >> I tested with an external timer, and the delay between the two date(1)
> >> *is* 20 seconds.
> >>
> >> Any hints ?
> >
> > Try a different timecounter. See kern.timecounter.hardware and .choice.
> >
> in fact, I stopped the machine, [got my recurrent "cpu_switchto()"
> panic], booted and everything seems fine. The current timecounter is
> TSC. I'll try to change the timecounter if the bug happens again.

If possible please try to debug the problem rather than just working around
it. If a particular timecounter is drifing it may not be hard to figure out
why.

Thanks,
Andrew


Home | Main Index | Thread Index | Old Index