Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2009 23:06:07 -0800 (PST)
From:      Won De Erick <won.derick@yahoo.com>
To:        freebsd-hardware@FreeBSD.ORG
Subject:   Re: Hardware clock is not SYNC'ed with kernel clock by ntpdate?
Message-ID:  <800496.48763.qm@web45816.mail.sp1.yahoo.com>
In-Reply-To: <200902131045.n1DAjtxw031128@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Oliver,

Thanks for the help.

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

However, how should I make this automatic, something that will update the C=
MOS 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@lurza.secnetix.de> wrote:
> Hello,
>=20
> 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.
>=20
> 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.
>=20
> Best regards
>    Oliver
>=20
> --=20
> Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29,
> 85567 Grafing b. M.
> Handelsregister: Registergericht Muenchen, HRA 74606,=20
> Gesch=E4ftsfuehrung:
> secnetix Verwaltungsgesellsch. mbH, Handelsregister:
> Registergericht M=FCn-
> chen, HRB 125758,  Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf
> Erb, Ralf Gebhart
>=20
> FreeBSD-Dienstleistungen, -Produkte und mehr:=20
> http://www.secnetix.de/bsd
>=20
> "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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> To unsubscribe, send any mail to
> "freebsd-hardware-unsubscribe@freebsd.org"=0A=0A=0A      




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?800496.48763.qm>