Hi,

I have some "flapping" in ntp on soekris.
Is it important ?

First soekris (auto reboot each 15 and 45 minutes)
Jun  8 06:17:46 r001 ntpd[17515]: adjusting local clock by 0.364500s
Jun  8 06:47:45 r001 ntpd[26194]: adjusting local clock by 0.439883s
Jun  8 07:17:41 r001 ntpd[22494]: adjusting local clock by 0.513877s
Jun  8 07:47:43 r001 ntpd[30227]: adjusting local clock by 0.585656s
Jun  8 08:17:42 r001 ntpd[4523]: adjusting local clock by 0.661055s
Jun  8 08:47:44 r001 ntpd[23534]: adjusting local clock by -0.270700s
Jun  8 09:17:41 r001 ntpd[26488]: adjusting local clock by -0.191056s
Jun  8 09:47:46 r001 ntpd[23319]: adjusting local clock by 0.875716s
Jun  8 09:51:26 r001 ntpd[23319]: adjusting local clock by 0.816038s
Jun  8 09:55:43 r001 ntpd[23319]: adjusting local clock by -0.320128s
Jun  8 09:59:52 r001 ntpd[23319]: adjusting local clock by -0.695182s
Jun  8 10:01:35 r001 ntpd[23319]: adjusting local clock by -0.338598s
Jun  8 10:05:18 r001 ntpd[23319]: adjusting local clock by 0.156039s

Second soekris (auto reboot each 00 and 30 minutes)
Jun  8 05:32:29 r002 ntpd[22037]: adjusting local clock by 0.915120s
Jun  8 05:36:37 r002 ntpd[22037]: adjusting local clock by 0.626073s
Jun  8 05:40:54 r002 ntpd[22037]: adjusting local clock by -0.447298s
Jun  8 05:44:06 r002 ntpd[22037]: adjusting local clock by -0.466533s
Jun  8 05:47:34 r002 ntpd[22037]: adjusting local clock by 0.135212s
Jun  8 05:58:51 r002 ntpd[22037]: adjusting local clock by 0.131027s
Jun  8 06:02:45 r002 ntpd[15955]: adjusting local clock by 0.961918s
Jun  8 06:32:26 r002 ntpd[22591]: adjusting local clock by 1.017864s
Jun  8 07:02:31 r002 ntpd[21007]: adjusting local clock by 1.060575s
Jun  8 07:05:36 r002 ntpd[21007]: adjusting local clock by 0.529033s
Jun  8 07:29:34 r002 ntpd[21007]: adjusting local clock by -0.530499s
Jun  8 08:02:27 r002 ntpd[787]: adjusting local clock by 1.159095s
Jun  8 08:32:29 r002 ntpd[24889]: adjusting local clock by 0.204871s
Jun  8 09:02:27 r002 ntpd[12635]: adjusting local clock by 0.255003s
Jun  8 09:32:28 r002 ntpd[17403]: adjusting local clock by 0.302008s
Jun  8 10:02:29 r002 ntpd[11060]: adjusting local clock by 0.353288s

I have some other soekris, and I never have so many log message. On these others box there are a "adjusting" message once by week or once a day.
There are too many back and forward adjustements too close in time.

Notice: The auto reboot is done by cron. I just do that because I test my redundant firewall.

I may accept that during reboot the RTC lost it accuracy
But if I take a slice a 30 minutes between 2 reboots, there are strange thing:
Jun  8 09:47:46 r001 ntpd[23319]: adjusting local clock by 0.875716s
Jun  8 09:51:26 r001 ntpd[23319]: adjusting local clock by 0.816038s
Jun  8 09:55:43 r001 ntpd[23319]: adjusting local clock by -0.320128s
Jun  8 09:59:52 r001 ntpd[23319]: adjusting local clock by -0.695182s
Jun  8 10:01:35 r001 ntpd[23319]: adjusting local clock by -0.338598s
Jun  8 10:05:18 r001 ntpd[23319]: adjusting local clock by 0.156039s
It looks like the correction may have been done twice (0.875716s and 0.816038s)
Too much in one direction, then (-0.320128s, -0.695182s, -0.338598s)
The sum of the 5 first lines is 0.338s

Same things with
Jun  8 05:32:29 r002 ntpd[22037]: adjusting local clock by 0.915120s
Jun  8 05:36:37 r002 ntpd[22037]: adjusting local clock by 0.626073s
Jun  8 05:40:54 r002 ntpd[22037]: adjusting local clock by -0.447298s
Jun  8 05:44:06 r002 ntpd[22037]: adjusting local clock by -0.466533s
Jun  8 05:47:34 r002 ntpd[22037]: adjusting local clock by 0.135212s
Jun  8 05:58:51 r002 ntpd[22037]: adjusting local clock by 0.131027s

Cordialement,
Jean-Girard Pailloncy

> cat /etc/ntpd.conf
# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
# sample ntpd configuration file, see ntpd.conf(5)

# Addresses to listen on (ntpd does not listen by default)
#listen on *

# sync to a single server
#server ntp.example.org

# use a random selection of 8 public stratum 2 servers
# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
servers pool.ntp.org

> dmesg
OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC" 586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133799936 (130664K)
avail mem = 115367936 (112664K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/41/22, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c3:d3:50
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c3:d3:51
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c3:d3:52
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
ppb0 at pci0 dev 10 function 0 "Texas Instruments PCI2250 PCI-PCI" rev 0x02
pci1 at ppb0 bus 1
sis3 at pci1 dev 0 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 9, address 00:00:24:c3:e0:14
nsphyter3 at sis3 phy 0: DP83815 10/100 PHY, rev. 1
sis4 at pci1 dev 1 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 5, address 00:00:24:c3:e0:15
nsphyter4 at sis4 phy 0: DP83815 10/100 PHY, rev. 1
"Hifn 7955/7954" rev 0x00 at pci0 dev 14 function 0 not configured
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFH-128>
wd0: 1-sector PIO, LBA, 122MB, 250880 sectors
wd0(pciide0:0:0): using PIO mode 4
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6 revision 3 wdstatus 0 ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 5, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Compaq OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
isa0 at gscpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f9e5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Reply via email to