Re: How to fix 1.5x fast time (RTC patch?)

James R. Van Zandt (jrv@vanzandt.mv.com)
Tue, 20 Jan 1998 21:39:56 -0500 (EST)


Dave Cinege <dcinege@psychosis.com> writes:
>
>This is not an idiot question. NO adjtime will not decrease time that
>is this fast!
...
>Jumpers are set to 120MHz (60MHz Bus), but the CPU's are actually
>running at 180 (90MHz bus).

I suggest you relax this test in kernel/time.c:

/* if the quartz is off by more than 10% something is VERY wrong ! */
if (txc.modes & ADJ_TICK)
if (txc.tick < 900000/HZ || txc.tick > 1100000/HZ)
return -EINVAL;

That should allow you to use adjtimex.

- Jim Van Zandt