Re: Sync system time with RTC
- From: snews@xxxxxxxxxxxxxxxxxxxx (David Lord)
- Date: Tue, 28 Feb 2006 01:18:24 +0000 (GMT)
On Tuesday, in article <7NJMf.118$JZ1.9328@xxxxxxxxxxxxxxx>
tog@xxxxxxxxx "The Other Guy" wrote:
Michael Sierchio wrote:
The Other Guy wrote:
Hi,
Is there any way to instruct FreeBSD to use the RTC instead of
maintaining an internal time reference?
I'm running FreeBSD in QEMU and the clock is falling behind by hours
each day.
man ntpd. man ntpdate.
I am actually using ntpd on the network, including on virtual systems
running under Qemu. This doesn't make any difference, I suspect due to
the rate the clocks vary. By the time ntpd does the initial check, the
clock is already out by more than the maximum amount ntpd will adjust for.
I was hoping there was a simple sysctl setting or another option to use
the RTC instead as this seems to be more reliable.
Not that I can see. It's possible to set a different tickrate in
kernel config but that might still be erratic when running qemu
and clock would then normally be a lot too fast which is probably
a worse situation.
Have you tried just repeatedly calling 'ntpd -q -g' to poll and exit
or 'ntpdate -b -t timeout server' ?
David
--
The Reply-To: is valid for at least 30 days after posting date
David Lord - david@xxxxxxxxxxxxxxxxxxxx
.
- References:
- Sync system time with RTC
- From: The Other Guy
- Re: Sync system time with RTC
- From: Michael Sierchio
- Re: Sync system time with RTC
- From: The Other Guy
- Sync system time with RTC
- Prev by Date: Re: Sync system time with RTC
- Next by Date: Re: Q: How To Open .sitx Files
- Previous by thread: Re: Sync system time with RTC
- Next by thread: "Couldn't make the filesystems properly"
- Index(es):
Relevant Pages
|
|