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

DadAN dadans at gmail.com
Sun Feb 15 07:28:40 PST 2009


Hello,

> 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?

You can run it as cron job, for example
1,31    0-5     *       *       *       root    adjkerntz -a

here is my # sysctl -a machdep
machdep.enable_panic_key: 0
machdep.adjkerntz: -3600
machdep.wall_cmos_clock: 1
machdep.disable_rtc_set: 0
machdep.conspeed: 115200
machdep.gdbspeed: 9600
machdep.conrclk: 1843200
machdep.disable_mtrrs: 0
machdep.guessed_bootdev: 2686451712
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 0
machdep.prot_fault_translation: 0
machdep.panic_on_nmi: 1
machdep.tsc_freq: 514994590
machdep.i8254_freq: 1193182
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1016224


-- 
DadAN


More information about the freebsd-hardware mailing list