[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with ntp & date
- To: misc@openbsd.org
- Subject: Problems with ntp & date
- From: Marco Peereboom <slash@peereboom.us>
- Date: Tue, 2 Sep 2003 07:34:31 -0500
- Content-Disposition: inline
- Organization: Peereboom dot US
- User-Agent: KMail/1.5.2
I have been having some issues lately with ntp and date. This morning my
firewall had its date reset to oct 10 1944. Granted that it has a crappy
clock it has always been a dependable machine that had an uptime of over a
year with 3.2 running. I upgraded it to the 3.4 snapshot du-jour yesterday.
As a separate incident I had the same identical problem on another box. This
box actually froze (yes froze, even ddb would not come up) when I tried to
correct the date. I had to reset this box and set the date after a lot of
fsck. If anyone cares send me a private note and I'll send you the details on
this box.
Anyone any ideas?
Here is an excerpt from /var/log/messages (note the dates going from sep 2 to
oct 10):
Sep 2 00:25:56 vuurmuur ntpd[9009]: time reset -0.545620 s
Sep 2 00:25:56 vuurmuur ntpd[9009]: time reset -0.545620 s
Sep 2 00:44:09 vuurmuur ntpd[9009]: time reset -0.663679 s
Sep 2 00:44:09 vuurmuur ntpd[9009]: time reset -0.663679 s
Sep 2 00:44:09 vuurmuur ntpd[9009]: frequency error -645 PPM exceeds
tolerance 500 PPM
Sep 2 00:44:09 vuurmuur ntpd[9009]: frequency error -645 PPM exceeds
tolerance 500 PPM
Oct 10 11:51:12 vuurmuur ntpd[9009]: time reset +0.614685 s
Oct 10 11:51:12 vuurmuur ntpd[9009]: time reset +0.614685 s
Oct 10 11:51:12 vuurmuur ntpd[9009]: frequency error 520 PPM exceeds tolerance
500 PPM
Oct 10 11:51:12 vuurmuur ntpd[9009]: frequency error 520 PPM exceeds tolerance
500 PPM
Oct 10 11:51:13 vuurmuur named[7923]:
/usr/src/usr.sbin/bind/lib/isc/unix/time.c:239: INSIST(t1->nanoseconds <
1000000000 && t2->nanoseconds < 1000000000) failed
Oct 10 11:51:13 vuurmuur named[7923]:
/usr/src/usr.sbin/bind/lib/isc/unix/time.c:239: INSIST(t1->nanoseconds <
1000000000 && t2->nanoseconds < 1000000000) failed
Oct 10 11:51:13 vuurmuur named[7923]:
/usr/src/usr.sbin/bind/lib/isc/unix/time.c:239: INSIST(t1->nanoseconds <
1000000000 && t2->nanoseconds < 1000000000) failed
[root@vuurmuur /var/log] dmesg
OpenBSD 3.4-beta (GENERIC) #148: Sun Aug 24 12:13:09 MDT 2003
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium Pro ("GenuineIntel" 686-class, 256KB L2 cache) 199 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV
real mem = 133808128 (130672K)
avail mem = 118128640 (115360K)
using 1659 buffers containing 6795264 bytes (6636K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/03/97, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.1
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI BIOS has 8 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:13:0 ("Intel 82371SB PCI-ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 13 function 0 "Intel 82371SB PCI-ISA" rev 0x01
pciide0 at pci0 dev 13 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 83201A6>
wd0: 16-sector PIO, LBA, 3060MB, 6218 cyl, 16 head, 63 sec, 6267744 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SC-140B, d005> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb0 at pci0 dev 14 function 0 "DEC 21052 PCI-PCI" rev 0x02
pci1 at ppb0 bus 1
fxp0 at pci1 dev 9 function 0 "Intel 82557" rev 0x05: irq 11, address
00:90:27:45:f8:ad
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
fxp1 at pci1 dev 10 function 0 "Intel 82557" rev 0x05: irq 10, address
00:a0:c9:d5:e2:61
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
fxp2 at pci1 dev 11 function 0 "Intel 82557" rev 0x05: irq 10, address
00:90:27:62:0d:96
inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 0
vga1 at pci0 dev 16 function 0 "S3 ViRGE" rev 0x06
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
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, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c040 netmask cc40 ttymask dcc2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302