time runs too slow on maple
Olaf Hering
olh at suse.de
Tue Jan 10 04:12:04 EST 2006
On Mon, Jan 09, Linas Vepstas wrote:
> On Mon, Jan 09, 2006 at 05:13:48PM +0100, Olaf Hering was heard to remark:
> > The maple board I have cant keep the time, even with ntpd running.
> > According to this script, it loses 0.05 seconds each second.
> > This happens with 2.6.15 and also 2.6.13.
> >
> > cpu : PPC970FX, altivec supported
>
> I don't understand timekeeping in the kernel, but consistently loosing
> the same amount with every tick sounds like some sort of mis-calibration
> during boot.
It uses the generic function. Maybe it needs some tweaking.
/var/log/boot.msg-<4>Synchronizing timebase
/var/log/boot.msg-<4>Got ack
/var/log/boot.msg-<4>score 299, offset 1000
/var/log/boot.msg-<4>score 299, offset 500
/var/log/boot.msg-<4>score 299, offset 250
/var/log/boot.msg-<4>score 55, offset 125
/var/log/boot.msg-<4>score -223, offset 62
/var/log/boot.msg-<4>score -59, offset 93
/var/log/boot.msg-<4>score -77, offset 109
/var/log/boot.msg-<4>score 45, offset 117
/var/log/boot.msg-<4>score 107, offset 113
/var/log/boot.msg-<4>score -35, offset 111
/var/log/boot.msg-<4>score 41, offset 112
/var/log/boot.msg-<4>score 65, offset 111
/var/log/boot.msg-<4>Min 111 (score 79), Max 111 (score -61)
/var/log/boot.msg:<4>Final offset: 111 (9/300)
/var/log/boot.omsg-<4>Processor 1 found.
/var/log/boot.omsg-<4>Synchronizing timebase
/var/log/boot.omsg-<4>Got ack
/var/log/boot.omsg-<4>score 299, offset 1000
/var/log/boot.omsg-<4>score 299, offset 500
/var/log/boot.omsg-<4>score 299, offset 250
/var/log/boot.omsg-<4>score 135, offset 125
/var/log/boot.omsg-<4>score -291, offset 62
/var/log/boot.omsg-<4>score -9, offset 93
/var/log/boot.omsg-<4>score 189, offset 109
/var/log/boot.omsg-<4>score 17, offset 101
/var/log/boot.omsg-<4>score -5, offset 97
/var/log/boot.omsg-<4>score 13, offset 99
/var/log/boot.omsg-<4>score -45, offset 98
/var/log/boot.omsg-<4>Min 98 (score -41), Max 99 (score -9)
/var/log/boot.omsg:<4>Final offset: 99 (29/300)
--
short story of a lazy sysadmin:
alias appserv=wotan
More information about the Linuxppc64-dev
mailing list