linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Lost time?
@ 2008-07-31 14:30 - Reyneke
  2008-07-31 16:49 ` Scott Wood
  0 siblings, 1 reply; 3+ messages in thread
From: - Reyneke @ 2008-07-31 14:30 UTC (permalink / raw)
  To: linuxppc-embedded


Hi everyone=2C

After a move from the ppc (v2.6.19) branch to the powerpc (v2.6.25) we've s=
potted a bit of an annoying problem. It looks like we loosing system time o=
n a running system. About 0.6sec per minute.

It's not hardware=2C Old kernel was rock solid with regards to time. Even w=
ith a stripped down kernel (minimum device drivers=2C modules=2C and IRQ's)=
 we still see time loss. During kernel debug all tick calculations looks re=
asonable.

Anyone have any ideas=2C obvious suspects=2C or pointers where to go and lo=
ok?

Hardware is a 500Mhz ppc 440EPx based system.

 Regards

_________________________________________________________________
100=92s of Nikon cameras to be won with Live Search
http://clk.atdmt.com/UKM/go/101719808/direct/01/=

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Lost time?
  2008-07-31 14:30 Lost time? - Reyneke
@ 2008-07-31 16:49 ` Scott Wood
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Wood @ 2008-07-31 16:49 UTC (permalink / raw)
  To: - Reyneke; +Cc: linuxppc-embedded

- Reyneke wrote:
> Anyone have any ideas, obvious suspects, or pointers where to go and look?

Check the kernel's idea of what the timebase frequency is on both kernels.

-Scott

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Lost time?
@ 2008-08-01  8:28 - Reyneke
  0 siblings, 0 replies; 3+ messages in thread
From: - Reyneke @ 2008-08-01  8:28 UTC (permalink / raw)
  To: linuxppc-embedded


> Check the kernel's idea of what the timebase frequency is on both kernels=
.

> check for changes in the U-Boot and your u-Boot environment variables=2C =
device tree bolb content=2C etc=2C not just the kernel


Thanks for all the feedback. This going to hurt=2C but the problem was emba=
rrassingly simple. Our CONFIG_SYS_CLK_FREQ in u-boot was wrongly defined (w=
e did a u-boot upgrade as well - 1.3.3). Instead of 33000000 (doubled 16.5M=
hz input clock) it was defined as 33333333. And there is your 0.6sec for ev=
ery 60sec...

Using 20/20 hind site this is the first thing I SHOULD have checked=2C but =
there you go.

 Regards
   Jan Reyneke

_________________________________________________________________
The John Lewis Clearance - save up to 50% with FREE delivery
http://clk.atdmt.com/UKM/go/101719806/direct/01/=

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-01  8:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 14:30 Lost time? - Reyneke
2008-07-31 16:49 ` Scott Wood
  -- strict thread matches above, loose matches on Subject: below --
2008-08-01  8:28 - Reyneke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).