Clock Problems

Mykal Funk mykalfunk at gmail.com
Fri Dec 11 06:03:04 PST 2009


Richard Melville wrote:
>
>
>     On Friday 11 December 2009 12:49:52 Johnneylee Rollins wrote:
>     > > I am use to old hardware (i486DX) having problems keeping time
>     on the
>     > > hardware clock. But isn't the system clock a separate thing? I
>     am losing
>     > > about 4 min on the system clock for every 10 minutes of real
>     time. I've
>     > > googled around for clock drift information. What I found
>     suggests  that
>     > > a system under heavy load with the 2.6.x kernel on certain
>     hardware
>     > > might show this symptom. I've yet to try it, but I've read
>     that adding
>     > > "clock=pit noapic nolapic" to the boot parameters should fix it.
>     > >
>     > > Is this something that will affect an LFS build? I don't like
>     the idea
>     > > of finding out towards the end that it will. That is my main
>     concern.
>     > > Should I ignore the clock issue? Is this something I should
>     concern
>     > > myself about? Any advice would be welcome.
>     > >
>     > > Thanks in Advance,
>     > > Mykal Funk
>     >
>     >  I'm not sure about a permanent fix, but a script to update the
>     time with a
>     > ntp server might help. I'm not sure of the best method for
>     offline use
>     > unless someone can absolve this issue with a more permanent
>     solution.
>
>     You may use the hwclock command periodically (that is in cron job)
>     to help
>     keeping your system time accurate.
>
>
> It's a very old motherboard; a dying cmos battery will affect the 
> hardware clock which in turn will affect the system clock.  You could 
> try replacing the battery (usually a "coin cell"); they're not very 
> expensive.
>
> Richard
I know the cmos battery is running low on this machine. But will the 
clock skew affect the build? That is my main concern. If it won't effect 
things than I will leave well enough alone. If it will effect things 
then I need to fix it.

Mykal Funk




More information about the lfs-support mailing list