Hello, list! I've a problem with the clock of an old AMD K6-2 machine (dmesg below) since the 4.2-release upgrade. The clock worked fine before with 4.1. Because of this problem I upgraded to 4.2-current, but that didn't help.
192.168.0.21 and 192.168.0.22 are local routers, ntpd can sync their clock without problems, and other local machines sync fine using them. I tried also with pool.ntp.org on the problematic machine, with same results. I see this in the log after removing /var/db/ntpd.drift and setting the clock correctly via BIOS menu while rebooting: 23 04:13:49 darkone ntpd[15666]: ntp engine ready Nov 23 04:14:08 darkone ntpd[15666]: peer 192.168.0.22 now valid Nov 23 04:14:13 darkone ntpd[15666]: peer 192.168.0.21 now valid Nov 23 04:15:06 darkone ntpd[19117]: adjusting local clock by 0.290352s Nov 23 04:18:44 darkone ntpd[19117]: adjusting local clock by 0.175437s Nov 23 04:20:19 darkone ntpd[19117]: adjusting local clock by 0.115706s Nov 23 04:26:40 darkone ntpd[15666]: clock is now synced Nov 23 04:54:07 darkone ntpd[19117]: adjusting clock frequency by -60.029035 to -60.029035ppm Nov 23 05:11:20 darkone ntpd[19117]: adjusting clock frequency by -4.753364 to -64.782399ppm Nov 23 05:38:03 darkone ntpd[19117]: adjusting clock frequency by 4.342937 to -60.439462ppm Nov 23 15:37:50 darkone ntpd[19117]: adjusting clock frequency by 0.427949 to -60.011513ppm Nov 23 18:24:32 darkone ntpd[15666]: reply from 192.168.0.22: negative delay -0.012752s, next query 3082s Nov 23 18:24:48 darkone ntpd[15666]: reply from 192.168.0.21: negative delay -0.005866s, next query 3144s Nov 23 19:45:35 darkone ntpd[15666]: reply from 192.168.0.21: negative delay -0.019764s, next query 3014s Nov 23 20:16:04 darkone ntpd[15666]: reply from 192.168.0.22: negative delay -0.023478s, next query 3113s Nov 23 20:36:04 darkone ntpd[19117]: adjusting local clock by -61.662375s Nov 23 21:07:57 darkone ntpd[19117]: adjusting local clock by -261.236635s Nov 23 21:07:57 darkone ntpd[15666]: clock is now unsynced Nov 23 21:11:08 darkone ntpd[19117]: adjusting local clock by -407.747600s Nov 23 21:14:48 darkone ntpd[19117]: adjusting local clock by -406.641659s Nov 23 21:18:04 darkone ntpd[19117]: adjusting local clock by -405.661457s Nov 23 21:20:12 darkone ntpd[19117]: adjusting local clock by -405.015764s Nov 23 21:22:51 darkone ntpd[19117]: adjusting local clock by -404.219649s Nov 23 21:25:01 darkone ntpd[19117]: adjusting local clock by -403.563826s Nov 23 21:27:38 darkone ntpd[19117]: adjusting local clock by -402.774064s Nov 23 21:31:30 darkone ntpd[19117]: adjusting local clock by -401.608460s Nov 23 21:34:06 darkone ntpd[19117]: adjusting local clock by -400.822696s Nov 23 21:36:48 darkone ntpd[19117]: adjusting local clock by -400.011870s Nov 23 21:38:25 darkone ntpd[19117]: adjusting local clock by -399.520853s ...and so on. Sometimes ntpd can't sync the clock even if the clock is set correctly via BIOS menu and with /var/db/ntpd.drift removed before rebooting, but if I'm lucky, it works for maybe a day. Unfortunately there's no second time source and the BIOS has no ACPI: $ sysctl kern.timecounter kern.timecounter.tick=1 kern.timecounter.timestepwarnings=0 kern.timecounter.hardware=i8254 kern.timecounter.choice=i8254(0) dummy(-1000000) In fact the clock of that machine isn't that bad, it might be off a few seconds or even a minute per day without ntpd running, but not as much as with ntpd running. Is this simply a problem with broken hardware, or is it possible to fix this with the existing clock and software somehow? Thank you for your help! Tas. OpenBSD 4.2-current (GENERIC) #548: Sat Nov 17 22:47:27 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) 502 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX real mem = 536440832 (511MB) avail mem = 510857216 (487MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/05/99, BIOS32 rev. 0 @ 0xfb390, SMBIOS rev. 2.1 @ 0xf0800 (29 entries) bios0: vendor Award Software International, Inc. version "4.51 PG" date 08/05/99 apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb80c pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdde0/112 (5 entries) pcibios0: PCI Exclusive IRQs: 7 9 10 11 pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C586 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT82C598 PCI" rev 0x04 ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00 pci1 at ppb0 bus 1 pcib0 at pci0 dev 7 function 0 "VIA VT82C586 ISA" rev 0x47 pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA33, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <Maxtor 6Y120L0> wd0: 16-sector PIO, LBA, 117246MB, 240121728 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8163B, 0L23> SCSI0 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) "VIA VT82C586 Power" rev 0x10 at pci0 dev 7 function 3 not configured vga1 at pci0 dev 17 function 0 "Matrox MGA 1064SG 220MHz" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) bktr0 at pci0 dev 18 function 0 "Brooktree BT848" rev 0x12: irq 7 bktr0: Hauppauge Model 60104 A1VM bktr0: Detected a MSP3400C-C6 at 0x80 bktr0: Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo. xl0 at pci0 dev 19 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 9, address 00:10:5a:3b:e0:2d exphy0 at xl0 phy 24: 3Com internal media interface 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; 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 fd1 at fdc0 drive 1: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port 0x203 isapnp0: No current device for tag, card 1 sb1 at isapnp0 "Creative SB AWE64 PnP, CTL0045, , Audio" port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.16 midi1 at sb1: <SB MPU-401 UART> audio0 at sb1 opl0 at sb1: model OPL3 midi2 at opl0: <SB Yamaha OPL3> joy0 at isapnp0 "Creative SB AWE64 PnP, CTL7002, PNPB02F, Game" port 0x200/8 "Creative SB AWE64 PnP, CTL0022, , WaveTable" at isapnp0 port 0x620/4 not configured biomask edc5 netmask efc5 ttymask ffc7 mtrr: K6-family MTRR support (2 registers) dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b