Mhh thanks, totally forgot about that good old rdate. That did it and now ntp is happy in sync.
>-------- Original Message -------- >Subject: Re: NTP issue on Lanner FW-7526B >Local Time: December 8, 2017 7:22 PM >UTC Time: December 8, 2017 6:22 PM >From: [email protected] >To: [email protected] > >It is adjusting the time, but your clock is way off, so it try to do it > slowly as to not mess any logs, but if you want to adjust it al at once > and don't care about that for now > > rdate -n4 pool.ntp.org > > Simple. > > > > On 12/8/17 9:58 AM, mabi wrote: >>Hi, >>I have a new Lanner FW-7526B firewall loaded with OpenBSD 6.2. I must say >>it's a nice small firewall but unfortunately the ntp daemon does not seem to >>manage to set the time correctly with this hardware. The time is off by >>approximately 1:20h and every 2-3 minutes I see the following log entries: >>Dec 9 14:26:10 fw ntpd[828]: adjusting local clock by -85381.687984s >> Dec 9 14:29:53 fw ntpd[828]: adjusting local clock by -85380.584607s >> Dec 9 14:31:33 fw ntpd[828]: adjusting local clock by -85380.084014s >> Dec 9 14:33:12 fw ntpd[828]: adjusting local clock by -85379.589606s >>ntpctl reports: >>4/4 peers valid, constraint offset -85442s, clock unsynced, clock offset is >>-85378257.156ms >>Any ideas what could be wrong here? I use the default ntp.conf file delivered >>with OpenBSD 6.2. >>In case I pasted below the dmesg output. >>Regards, >> Mabi >>OpenBSD 6.2 (GENERIC.MP) #0: Thu Oct 12 19:53:18 CEST 2017 >>[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP >> real mem = 8559403008 (8162MB) >> avail mem = 8292978688 (7908MB) >> mpath0 at root >> scsibus0 at mpath0: 256 targets >> mainbus0 at root >> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7f520000 (53 entries) >> bios0: vendor American Megatrends Inc. version "5.6.5" date 02/26/2016 >> acpi0 at bios0: rev 2 >> acpi0: sleep states S0 S5 >> acpi0: tables DSDT FACP FPDT MCFG WDAT UEFI APIC BDAT HPET SSDT SPCR HEST >> BERT ERST EINJ >> acpi0: wakeup devices PS2K(S0) PS2M(S0) PEX1(S0) PEX2(S0) PEX3(S0) PEX4(S0) >> EHC1(S0) >> acpitimer0 at acpi0: 3579545 Hz, 24 bits >> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >> cpu0 at mainbus0: apid 0 (boot processor) >> cpu0: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.32 MHz >> cpu0: >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT >> cpu0: 1MB 64b/line 16-way L2 cache >> cpu0: TSC frequency 1750324380 Hz >> cpu0: smt 0, core 0, package 0 >> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges >> cpu0: apic clock running at 83MHz >> cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3, IBE >> cpu1 at mainbus0: apid 2 (application processor) >> cpu1: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz >> cpu1: >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT >> cpu1: 1MB 64b/line 16-way L2 cache >> cpu1: smt 0, core 1, package 0 >> cpu2 at mainbus0: apid 4 (application processor) >> cpu2: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz >> cpu2: >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT >> cpu2: 1MB 64b/line 16-way L2 cache >> cpu2: smt 0, core 2, package 0 >> cpu3 at mainbus0: apid 6 (application processor) >> cpu3: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz >> cpu3: >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT >> cpu3: 1MB 64b/line 16-way L2 cache >> cpu3: smt 0, core 3, package 0 >> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins >> acpihpet0 at acpi0: 14318179 Hz >> acpiprt0 at acpi0: bus 0 (PCI0) >> acpiprt1 at acpi0: bus 1 (PEX1) >> acpiprt2 at acpi0: bus 2 (PEX2) >> acpiprt3 at acpi0: bus 3 (PEX3) >> acpiprt4 at acpi0: bus 4 (PEX4) >> acpicpu0 at acpi0: C1(@1 halt!) >> acpicpu1 at acpi0: C1(@1 halt!) >> acpicpu2 at acpi0: C1(@1 halt!) >> acpicpu3 at acpi0: C1(@1 halt!) >> "PNP0003" at acpi0 not configured >> "PNP0F03" at acpi0 not configured >> "PNP0C33" at acpi0 not configured >> pci0 at mainbus0 bus 0 >> pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x1f0d rev >> 0x02 >> ppb0 at pci0 dev 1 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi >> pci1 at ppb0 bus 1 >> em0 at pci1 dev 0 function 0 "Intel I210 Fiber" rev 0x03: msi, address >> <EDITED> >> ppb1 at pci0 dev 2 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi >> pci2 at ppb1 bus 2 >> em1 at pci2 dev 0 function 0 "Intel I210 Fiber" rev 0x03: msi, address >> <EDITED> >> ppb2 at pci0 dev 3 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi >> pci3 at ppb2 bus 3 >> ppb3 at pci0 dev 4 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi >> pci4 at ppb3 bus 4 >> athn0 at pci4 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 2 int 23 >> athn0: AR9280 rev 2 (2T2R), ROM rev 16, address <EDITED> >> vendor "Intel", unknown product 0x1f18 (class processor subclass >> Co-processor, rev 0x02) at pci0 dev 11 function 0 not configured >> pchb1 at pci0 dev 14 function 0 "Intel Atom C2000 RAS" rev 0x02 >> "Intel Atom C2000 RCEC" rev 0x02 at pci0 dev 15 function 0 not configured >> "Intel Atom C2000 SMBus" rev 0x02 at pci0 dev 19 function 0 not configured >> em2 at pci0 dev 20 function 0 "Intel I354 SGMII" rev 0x03: msi, address >> <EDITED> >> em3 at pci0 dev 20 function 1 "Intel I354 SGMII" rev 0x03: msi, address >> <EDITED> >> em4 at pci0 dev 20 function 2 "Intel I354 SGMII" rev 0x03: msi, address >> <EDITED> >> em5 at pci0 dev 20 function 3 "Intel I354 SGMII" rev 0x03: msi, address >> <EDITED> >> ehci0 at pci0 dev 22 function 0 "Intel Atom C2000 USB" rev 0x02: apic 2 int >> 23 >> usb0 at ehci0: USB revision 2.0 >> uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev >> 2.00/1.00 addr 1 >> ahci0 at pci0 dev 24 function 0 "Intel Atom C2000 AHCI" rev 0x02: msi, AHCI >> 1.3 >> ahci0: port 1: 6.0Gb/s >> scsibus1 at ahci0: 32 targets >> sd0 at scsibus1 targ 1 lun 0: <ATA, TS32GMSA370, N112> SCSI3 0/direct fixed >> t10.ATA_TS32GMSA370_D941170451_ >> sd0: 30533MB, 512 bytes/sector, 62533296 sectors, thin >> pcib0 at pci0 dev 31 function 0 "Intel Atom C2000 PCU" rev 0x02 >> ichiic0 at pci0 dev 31 function 3 "Intel Atom C2000 PCU SMBus" rev 0x02: >> apic 2 int 18 >> iic0 at ichiic0 >> spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-10600 SO-DIMM >> isa0 at pcib0 >> isadma0 at isa0 >> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo >> com0: console >> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo >> pckbc0 at isa0 port 0x60/5 irq 1 irq 12 >> pckbd0 at pckbc0 (kbd slot) >> wskbd0 at pckbd0 mux 1 >> pcppi0 at isa0 port 0x61 >> spkr0 at pcppi0 >> lpt0 at isa0 port 0x378/4 irq 7 >> wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73 >> lm1 at wbsio0 port 0xa00/8: W83627DHG >> vmm0 at mainbus0: VMX/EPT >> uhub1 at uhub0 port 1 configuration 1 interface 0 "Intel product 0x07db" rev >> 2.00/0.02 addr 2 >> vscsi0 at root >> scsibus2 at vscsi0: 256 targets >> softraid0 at root >> scsibus3 at softraid0: 256 targets >> root on sd0a (1394ba51889b153b.a) swap on sd0b dump on sd0b >> >

