Re: [gentoo-user] Losing time somewhere

2005-08-31 Thread Stuart Howard
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 [EMAIL PROTECTED] 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



[gentoo-user] Losing time somewhere

2005-08-30 Thread Stuart Howard
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



Re: [gentoo-user] Losing time somewhere

2005-08-30 Thread A. Khattri
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



Re: [gentoo-user] Losing time somewhere

2005-08-30 Thread Stuart Howard
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 [EMAIL PROTECTED] 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



Re: [gentoo-user] Losing time somewhere

2005-08-30 Thread John Jolet
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 reasonprobably 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 [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Losing time somewhere

2005-08-30 Thread Uwe Thiem
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