Hardware clock is not SYNC'ed with kernel clock by ntpdate?

Won De Erick won.derick at yahoo.com
Fri Feb 13 23:06:09 PST 2009


Hi Oliver,

Thanks for the help.

This file /etc/wall_cmos_clock was missing, so I created an empty one. 
The CMOS clock was successfully updated when I invoked 'adjkerntz -a'.

However, how should I make this automatic, something that will update the CMOS clock everytime the kernel clock is syncronized with a NTP server? Do I need to make changes on the variables below?

# sysctl -a machdep
machdep.adjkerntz: 0
machdep.disable_rtc_set: 0
machdep.wall_cmos_clock: 0
machdep.conrclk: 1843200
machdep.gdbspeed: 9600
machdep.conspeed: 9600
....



--- On Fri, 2/13/09, Oliver Fromme <olli at lurza.secnetix.de> wrote:
> Hello,
> 
> Do you have a file /etc/wall_cmos_clock on your system?
> If so, that would explain the behaviour very well.
> If you want your CMOS clock run at UTC instead of local
> time, you have to remove that file.
> 
> Apart from the Handbook you might also have a look at
> the adjkerntz(8) manual page.  It explains the mechanism
> used to maintain the time zone difference (if any)
> between FreeBSD and the CMOS clock.
> 
> Best regards
>    Oliver
> 
> -- 
> Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29,
> 85567 Grafing b. M.
> Handelsregister: Registergericht Muenchen, HRA 74606, 
> Geschäftsfuehrung:
> secnetix Verwaltungsgesellsch. mbH, Handelsregister:
> Registergericht Mün-
> chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf
> Erb, Ralf Gebhart
> 
> FreeBSD-Dienstleistungen, -Produkte und mehr: 
> http://www.secnetix.de/bsd
> 
> "UNIX was not designed to stop you from doing stupid
> things,
> because that would also stop you from doing clever
> things."
>         -- Doug Gwyn
> _______________________________________________
> freebsd-hardware at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> To unsubscribe, send any mail to
> "freebsd-hardware-unsubscribe at freebsd.org"


      



More information about the freebsd-hardware mailing list