RE: clock skew on B/W G3
From: Rune Torgersen
Date: Mon Oct 03 2005 - 09:18:50 EST
> -----Original Message-----
> From: Marc
> Sent: Sunday, October 02, 2005 11:46
>
> Some additions to the previous mail: I was able to isolate
> the problem to the
> introduction of a user specificable value of HZ (in
> include/asm-ppc/parm.h).
> I used a value of 250 while the former default was 1000.
> Setting it back to
> 1000 makes the clock tick right again.
>
> Is the CONFIG_HZ known to be broken on PPC ?
>
CONFIG_HZ is not broken, but the whole clock configuration is.
(I poseded something about it for 8260 earlier this summer)
Basic problem is that CLOCK_TICK_RATE which is used for setting up the
variables used for advancing the clock, is hardcoded to a value that
only makes sence for an i386. (it is default set at 1193180Hz which
happens to be the timer clock for timer1 on an i386 machine)
Another problem here is that that value apparently hve to be #define'd
which means you cannot insert the decrementer frequency from the
boot-loader either.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/