Fwd: RTC

Jan Lübbe jluebbe at lasnet.de
Thu Jan 22 14:13:56 CET 2009


On Mon, 2009-01-19 at 18:44 +0000, Robert Piasek wrote:
> Hi,
> 
> I've noticed that my FR clock runs slower than normal clock. I'm using 
> andy-tracking 4ff379a06a70e179
> 
> Since it happens no matter if device is powered up or powered down, I'm 
> assuming (maybe wrongly) it's RTC related.
> 
> It's _not_ caused by suspend/resume.
> 
> Log from framework illustrates it pretty well.
> 
> cat /var/log/frameworkd.log | grep "adjusting clock"
> 2009.01.16 22:28:47 otimed   INFO     adjusting clock by 766.051786 seconds
> 2009.01.16 22:34:51 otimed   INFO     adjusting clock by 777.347250 seconds
> 2009.01.17 16:42:25 otimed   INFO     adjusting clock by 1093.032441 seconds
> 2009.01.17 16:52:55 otimed   INFO     adjusting clock by 1106.780898 seconds
> 2009.01.17 16:54:25 otimed   INFO     adjusting clock by 1108.882225 seconds
> 2009.01.17 16:55:55 otimed   INFO     adjusting clock by 1110.176316 seconds
> 2009.01.17 16:57:25 otimed   INFO     adjusting clock by 1113.825256 seconds
> 2009.01.17 16:58:55 otimed   INFO     adjusting clock by 1117.559739 seconds
> 2009.01.17 17:00:25 otimed   INFO     adjusting clock by 1121.164813 seconds
> 2009.01.17 17:01:55 otimed   INFO     adjusting clock by 1123.621105 seconds
> 2009.01.17 17:03:25 otimed   INFO     adjusting clock by 1126.429157 seconds
> 2009.01.17 17:04:55 otimed   INFO     adjusting clock by 1128.941756 seconds
> 2009.01.17 17:06:25 otimed   INFO     adjusting clock by 1130.347285 seconds
> 2009.01.17 23:45:25 otimed   INFO     adjusting clock by 1269.865997 seconds
> 2009.01.18 21:46:08 otimed   INFO     adjusting clock by 1375.100251 seconds
> 2009.01.18 23:10:43 otimed   INFO     adjusting clock by 1446.039386 seconds

Did you modify otimed except disabling the clock setting? Did you
disable the call to 'date' and/or 'hwclock'?

otimed compares the current system clock against externeal time sources
(ntp, gps), so this means your system clock is slower than your
reference.

Andy: is the system clock using the same ocillator as the RTC?

-- 
Jan Lübbe <jluebbe at lasnet.de>            http://sicherheitsschwankung.de
 gpg-key      1024D/D8480F2E 2002-03-20
 fingerprint  1B25 F91F 9E7B 5D4F 1282  02D6 8A83 8BE4 D848 0F2E




More information about the openmoko-kernel mailing list