System clock systems to be twice as fast as RTC

Nate Case ncase at xes-inc.com
Fri Jun 12 02:07:54 EST 2009


On Thu, 2009-06-11 at 08:13 -0700, Subodh Nijsure wrote:
> The system clock seems to be running twice as as fast as RTC, 
> 
> sh-2.05b# date ; sleep 60 ; date
> Fri Sep 11 01:37:11 UTC 1970
> Fri Sep 11 01:37:41 UTC 1970

That's strange, but note that "date" reads the system clock and not the
RTC.  Use "hwclock" for the RTC.

-- 
Nate Case <ncase at xes-inc.com>



More information about the Linuxppc-dev mailing list