system time running too fast

Christopher Hall hsw at openmoko.com
Fri Nov 21 02:55:38 CET 2008


On 2008 November 20 Thursday 22:23:34 Ben Dooks wrote:
> On Wed, Nov 19, 2008 at 10:08:04AM +0800, Christopher Hall wrote:
> > Hello everyone,
> >
> >  I am in the process of trying to boot a system on S3C6410;
> > basically the existing GTA02 root file system with a kernel
> > from andy-tracking.
> >
> > I can get to /bin/sh and I am trying to see where the startup
> > sequence fails so I added the lines
> >   ps ax
> >   /bin/sh
> > to the end of /etc/init.d/rc
> >
> > when "ps ax" runs, just before the process
> > listing is displayed, it outputs:
> >   Unknown HZ value! (71) Assume 100.
> >
> > repeating the "ps ax"  at the shell prompt the error
> > id repeated but the value 71 slowly increments to 94
> > then the error disappears.
> >
> > By repeating the "ps ax" quickly I estimated around 8 sec for
> > each increment.
> >
> > The initial 71 value was consistent over several reboots.
> >
> > Also using date/uptime/top to watch the clock; the system time
> > appears to be running 2x too fast.  A short test was
> > type "date", wait 60 seconds then type date "date" again
> > system time had advanced 2 minutes.
> >
> > Perhaps both problems are related.  Any advice on where to look?
> > And what information I should collect to help debug this.
>
> I've found the problem, will post a patch as soon as tested.

Hello Ben,
  That is great, thanks.

-- 
Best regards.
Christopher Hall                      hswATopenmoko.com



More information about the openmoko-kernel mailing list