Re: ntp and hwclock

2007-01-23 Thread Oleg Verych
Followup-To: On 2007-01-23, Andrei Popescu wrote: > On Tue, 23 Jan 2007 09:53:22 -0800 > Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > >> On Tue, Jan 23, 2007 at 05:38:30PM +, Oleg Verych wrote: >> > >> > I have set up clock in my Ericsson mobile phone more than 3 years >> > ago. If dri

Re: ntp and hwclock

2007-01-23 Thread Andrei Popescu
On Tue, 23 Jan 2007 09:53:22 -0800 Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > On Tue, Jan 23, 2007 at 05:38:30PM +, Oleg Verych wrote: > > > > I have set up clock in my Ericsson mobile phone more than 3 years > > ago. If drift exists, it is less that one second, after all. > > I was

Re: ntp and hwclock

2007-01-23 Thread Henrique de Moraes Holschuh
On Tue, 23 Jan 2007, Oleg Verych wrote: > On Tue, Jan 23, 2007 at 03:12:45PM -0200, Henrique de Moraes Holschuh wrote: > > On Tue, 23 Jan 2007, Ken Heard wrote: > > > >Linux kernel updates CMOS (hardware clock) time every 11 minutes. > > > > Only when in ntp sync mode, AFAIK. Maybe the new RTC cl

Re: ntp and hwclock

2007-01-23 Thread Andrew Sackville-West
On Tue, Jan 23, 2007 at 05:38:30PM +, Oleg Verych wrote: > > I have set up clock in my Ericsson mobile phone more than 3 years ago. If > drift exists, it is less that one second, after all. I was under the impression that mobile phone's sync their clocks over the cellular network, but I may b

Re: ntp and hwclock

2007-01-23 Thread Oleg Verych
On Tue, Jan 23, 2007 at 03:12:45PM -0200, Henrique de Moraes Holschuh wrote: > On Tue, 23 Jan 2007, Ken Heard wrote: > > >Linux kernel updates CMOS (hardware clock) time every 11 minutes. > > Only when in ntp sync mode, AFAIK. Maybe the new RTC class lets one change > this easily, but then the "C

Re: ntp and hwclock

2007-01-23 Thread Henrique de Moraes Holschuh
On Tue, 23 Jan 2007, Ken Heard wrote: > >Linux kernel updates CMOS (hardware clock) time every 11 minutes. Only when in ntp sync mode, AFAIK. Maybe the new RTC class lets one change this easily, but then the "CMOS RTC" port to the new RTC class ain't in Linux mainline yet. > >In-kernel clock, th

Re: ntp and hwclock

2007-01-23 Thread Ken Heard
Oleg Verych wrote: Linux kernel updates CMOS (hardware clock) time every 11 minutes. In-kernel clock, that uses various CPU/Chipset hardware and is stable enough. Its precision is as good as CPU frequency high (mostly). Any big drift may be caused by bugs in the kernel, low precision of CMOS whi

Re: ntp and hwclock

2007-01-22 Thread Oleg Verych
On 2007-01-20, Douglas Allan Tutty wrote: > I'm running Etch amd64 ntp on my home system over dialup ppp. > > I stopped using chrony because I was having some problems and it > couldn't talk to my rtc anyway. > > Our power can be unreliable and I don't have a UPS. Since ntp doesn't > adjust the