* [gentoo-user] Losing time somewhere
@ 2005-08-30 8:52 Stuart Howard
2005-08-30 13:56 ` A. Khattri
0 siblings, 1 reply; 7+ messages in thread
From: Stuart Howard @ 2005-08-30 8:52 UTC (permalink / raw
To: gentoo-user
Hi
I am losing up to 10 minites a day on my system clock ie. if it is
correct at boot then the following day, "date" will reply with a time
that has lost up to 10 minites.
Points that may be relavent,
- The system has "worked" correctly for many months prior to next point.
- This problem has occured since building a new kernel and changing to
KDE as the desktop
- Upon a reboot the time has corrected itself.
My questions are
- The kernel was the first I have done without genkernel or oldconfig
is there an option that could be casuing this?
- Can KDE be causing this? though if I drop out of KDE date still
outputs the incorrect time.
- I tried to install "chrony" to adjust the time, though it seems to
be working ie. from logs, though it does not update the sytstem time,
could there be a permissions issue somewhere or have I lost
something that checks or sync's the system time?
- As I wrote last question I realised that I did my first "emerge -av
--depclean" a few days ago is it possible that I have removed some app
that keeps a check on system time?
OK, well thanks for reading this far, above are the points that I have
manged to scrape up but do not know how to answer are there any other
points that may be affecting this
any suggestions at all ?
regards
stu
--
"There are 10 types of people in this world: those who understand
binary, those who don't"
--Unknown
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Losing time somewhere
2005-08-30 8:52 [gentoo-user] Losing time somewhere Stuart Howard
@ 2005-08-30 13:56 ` A. Khattri
2005-08-30 14:17 ` Stuart Howard
0 siblings, 1 reply; 7+ messages in thread
From: A. Khattri @ 2005-08-30 13:56 UTC (permalink / raw
To: gentoo-user
On Tue, 30 Aug 2005, Stuart Howard wrote:
> - I tried to install "chrony" to adjust the time, though it seems to
> be working ie. from logs, though it does not update the sytstem time,
> could there be a permissions issue somewhere or have I lost
> something that checks or sync's the system time?
> - As I wrote last question I realised that I did my first "emerge -av
> --depclean" a few days ago is it possible that I have removed some app
> that keeps a check on system time?
Maybe you had ntp installed?
--
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Losing time somewhere
2005-08-30 13:56 ` A. Khattri
@ 2005-08-30 14:17 ` Stuart Howard
2005-08-30 14:20 ` John Jolet
2005-08-30 17:38 ` Uwe Thiem
0 siblings, 2 replies; 7+ messages in thread
From: Stuart Howard @ 2005-08-30 14:17 UTC (permalink / raw
To: gentoo-user
thanks for the response
So far as I can tell I have not had ntp on my system, I have not put
it on myself the only way it could have been on is if it were a
default during original install of Gentoo in which case --depclean
ought not to have removed it as it should "belong" to something [world
, system ]
I may give up on chrony and put a ntp on and see if that cures it,
though I prefer not to just mask a problem if there is one, could a
clock slowdown be something as serious as an indication of hardware
problems?
stu
On 8/30/05, A. Khattri <ajai@bway.net> wrote:
> On Tue, 30 Aug 2005, Stuart Howard wrote:
>
> > - I tried to install "chrony" to adjust the time, though it seems to
> > be working ie. from logs, though it does not update the sytstem time,
> > could there be a permissions issue somewhere or have I lost
> > something that checks or sync's the system time?
> > - As I wrote last question I realised that I did my first "emerge -av
> > --depclean" a few days ago is it possible that I have removed some app
> > that keeps a check on system time?
>
> Maybe you had ntp installed?
>
>
> --
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
"There are 10 types of people in this world: those who understand
binary, those who don't"
--Unknown
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Losing time somewhere
2005-08-30 14:17 ` Stuart Howard
@ 2005-08-30 14:20 ` John Jolet
2005-08-30 17:38 ` Uwe Thiem
1 sibling, 0 replies; 7+ messages in thread
From: John Jolet @ 2005-08-30 14:20 UTC (permalink / raw
To: gentoo-user
ntp of any flavor does not seem to be in the default install, i had to emerge
it on all my boxes. I'm from an ibm rs/6000 aix background, so I learned
long ago to NEVER trust the system clock. rs/6000 boxes tend to have very
poor hardware clocks for some reason....probably because you never pay that
much for a server not connected to something :)
On Tuesday 30 August 2005 09:17, Stuart Howard wrote:
> thanks for the response
>
> So far as I can tell I have not had ntp on my system, I have not put
> it on myself the only way it could have been on is if it were a
> default during original install of Gentoo in which case --depclean
> ought not to have removed it as it should "belong" to something [world
> , system ]
>
> I may give up on chrony and put a ntp on and see if that cures it,
> though I prefer not to just mask a problem if there is one, could a
> clock slowdown be something as serious as an indication of hardware
> problems?
>
> stu
>
> On 8/30/05, A. Khattri <ajai@bway.net> wrote:
> > On Tue, 30 Aug 2005, Stuart Howard wrote:
> > > - I tried to install "chrony" to adjust the time, though it seems to
> > > be working ie. from logs, though it does not update the sytstem time,
> > > could there be a permissions issue somewhere or have I lost
> > > something that checks or sync's the system time?
> > > - As I wrote last question I realised that I did my first "emerge -av
> > > --depclean" a few days ago is it possible that I have removed some app
> > > that keeps a check on system time?
> >
> > Maybe you had ntp installed?
> >
> >
> > --
> >
> > --
> > gentoo-user@gentoo.org mailing list
>
> --
> "There are 10 types of people in this world: those who understand
> binary, those who don't"
>
> --Unknown
--
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
john@jolet.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Losing time somewhere
2005-08-30 14:17 ` Stuart Howard
2005-08-30 14:20 ` John Jolet
@ 2005-08-30 17:38 ` Uwe Thiem
2005-08-31 9:10 ` Stuart Howard
1 sibling, 1 reply; 7+ messages in thread
From: Uwe Thiem @ 2005-08-30 17:38 UTC (permalink / raw
To: gentoo-user
On 30 August 2005 15:17, Stuart Howard wrote:
> thanks for the response
>
> So far as I can tell I have not had ntp on my system, I have not put
> it on myself the only way it could have been on is if it were a
> default during original install of Gentoo in which case --depclean
> ought not to have removed it as it should "belong" to something [world
> , system ]
>
> I may give up on chrony and put a ntp on and see if that cures it,
> though I prefer not to just mask a problem if there is one, could a
> clock slowdown be something as serious as an indication of hardware
> problems?
Not really since your clock is on time after a boot.
Please understand that there are two "clocks" involved. One is a hardware
clock. The other one is the "system clock" which is software. "date" shows
the system clock. During the boot process, the content of the hardware clock
is copied to the system clock. That's why your system clock is correct after
booting. It also shows that your hardware clock is doing fine. Your system
clock is misbehaving.
Whatever the reason for its sluggishness, ntpd or ntpdate (using an ntp server
near you) should solve. Or, since your hardware clock is alright, a simple
"hwclock -ru" (if your clock is set to UTC) or "hwclock -r" (if not so)
should do the trick. Let cron execute it every hour or so.
Uwe
--
95% of all programmers rate themselves among the top 5% of all software
developers. - Linus Torvalds
http://www.uwix.iway.na (last updated: 20.06.2004)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Losing time somewhere
2005-08-30 17:38 ` Uwe Thiem
@ 2005-08-31 9:10 ` Stuart Howard
2005-08-31 9:43 ` Nick Rout
0 siblings, 1 reply; 7+ messages in thread
From: Stuart Howard @ 2005-08-31 9:10 UTC (permalink / raw
To: gentoo-user
Thank you the the hwclock tip it will solve my problem exactly.
Unfortunatly it seems my problems were deeper and beyond the scope of this
thread really, the loss of time was due to "something" within the kernel
that I built last week I also realised that my hard disk performance
had fallen dramatically, again due to some option selected or not within
the .config.
After a 6 hour session of "tweaking" last night, I decided to take the
honourable way out and deleted the 2.6.12-r9 kernel and reverted to a 2.6.11.5
that came from a genkernel setup some time ago that has served me well for
the last few months.
Thanks for help on time issue, some reading to be done I think
stu
On 8/30/05, Uwe Thiem <uwix@iway.na> wrote:
> On 30 August 2005 15:17, Stuart Howard wrote:
> > thanks for the response
> >
> > So far as I can tell I have not had ntp on my system, I have not put
> > it on myself the only way it could have been on is if it were a
> > default during original install of Gentoo in which case --depclean
> > ought not to have removed it as it should "belong" to something [world
> > , system ]
> >
> > I may give up on chrony and put a ntp on and see if that cures it,
> > though I prefer not to just mask a problem if there is one, could a
> > clock slowdown be something as serious as an indication of hardware
> > problems?
>
> Not really since your clock is on time after a boot.
>
> Please understand that there are two "clocks" involved. One is a hardware
> clock. The other one is the "system clock" which is software. "date" shows
> the system clock. During the boot process, the content of the hardware clock
> is copied to the system clock. That's why your system clock is correct after
> booting. It also shows that your hardware clock is doing fine. Your system
> clock is misbehaving.
>
> Whatever the reason for its sluggishness, ntpd or ntpdate (using an ntp server
> near you) should solve. Or, since your hardware clock is alright, a simple
> "hwclock -ru" (if your clock is set to UTC) or "hwclock -r" (if not so)
> should do the trick. Let cron execute it every hour or so.
>
> Uwe
>
> --
> 95% of all programmers rate themselves among the top 5% of all software
> developers. - Linus Torvalds
>
> http://www.uwix.iway.na (last updated: 20.06.2004)
> --
> gentoo-user@gentoo.org mailing list
>
>
--
"There are 10 types of people in this world: those who understand
binary, those who don't"
--Unknown
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Losing time somewhere
2005-08-31 9:10 ` Stuart Howard
@ 2005-08-31 9:43 ` Nick Rout
0 siblings, 0 replies; 7+ messages in thread
From: Nick Rout @ 2005-08-31 9:43 UTC (permalink / raw
To: gentoo-user
On Wed, 2005-08-31 at 10:10 +0100, Stuart Howard wrote:
> Thank you the the hwclock tip it will solve my problem exactly.
>
> Unfortunatly it seems my problems were deeper and beyond the scope of this
> thread really, the loss of time was due to "something" within the kernel
> that I built last week I also realised that my hard disk performance
> had fallen dramatically, again due to some option selected or not within
> the .config.
> After a 6 hour session of "tweaking" last night, I decided to take the
> honourable way out and deleted the 2.6.12-r9 kernel and reverted to a 2.6.11.5
> that came from a genkernel setup some time ago that has served me well for
> the last few months.
>
> Thanks for help on time issue, some reading to be done I think
try make oldconfig
then tweak from there.
or diff your two (old and new) config files to isolate differences.
if you have misplaced your .config file look to see if it is
in /proc/config.gz (of course thats a kernel option too)
>
> stu
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-08-31 9:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 8:52 [gentoo-user] Losing time somewhere Stuart Howard
2005-08-30 13:56 ` A. Khattri
2005-08-30 14:17 ` Stuart Howard
2005-08-30 14:20 ` John Jolet
2005-08-30 17:38 ` Uwe Thiem
2005-08-31 9:10 ` Stuart Howard
2005-08-31 9:43 ` Nick Rout
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox