slow clock on FreeBSD 7.2 on vmware

Carl Johnson carlj at peak.org
Sun Dec 13 00:02:38 UTC 2009


Robert Fitzpatrick <lists at webtent.net> writes:

> On 12/12/2009 12:59 PM, andrew clarke wrote:
>> On Sat 2009-12-12 12:06:18 UTC-0500, Robert Fitzpatrick (robert at webtent.com) wrote:
>>
>>    
>>> pgsql# cat /boot/loader.conf
>>> kern.ipc.semmni=32
>>> kern.ipc.semmns=512
>>> hint.apic.0.disabled=1
>>>      
>> According to the loader.conf man page these should all be in the format:
>>
>> kern.ipc.semmni="32"
>> kern.ipc.semmns="512"
>> hint.apic.0.disabled="1"
>>
>> I don't know if this matters.
>>
>> I'm not sure hint.apic.0.disabled is valid for 7.2.  sysctl -a doesn't
>> list this variable on my machine.  Maybe it's only available on some
>> machines.
>>
>>    
>>> The only way I'm able to keep the clock up to date is to sync with
>>> an Internet time server regularly. Anyone have an idea how fix this
>>> issue?
>>>      
>> Can you use ntpd?
>>
>> Regards
>> Andrew
>>    
>
> I'm pulling from a time server now every hour, keeps it from getting
> behind too much. Perhaps that is what I'll end up doing, loading the
> ntp server, I guess that would keep it up to date better? Thanks.

If it is consistently off by a certain amount, then you might want to
look into /usr/sbin/ntptime to set a frequency offset.  If it works,
then you can put it into somewhere like /etc/rc.local.

-- 
Carl Johnson		carlj at peak.org




More information about the freebsd-questions mailing list