On Thu, Nov 24, 2005 at 06:42:40PM +0800, the unit calling itself Uwe Dippel wrote:
I'm not clear on something... does the time drift with OpenBSD *alone*; i.e. without ntpd running? Jay > Another problem on the Proliant ML350: the time isn't calculated properly. > I noticed the problem with (open)ntpd; which continuously wanted to adjust > by thousands and tens of thousands of seconds; after only a few hours of > running. So I turned it off and rebooted. Still, the time runs around > twice as fast as it should. > A small script shows this: (172.16.0.4 is another, trusted OpenBSD machine > without any time problem, running since May, openntpd as well) > > [I tried ntpdate; with a very similar effect, btw] > > # while () > > do > > echo local: `date` > > echo remote `rdate -p 172.16.0.4` > > rdate -s 172.16.0.4 > > echo set to `date` > > echo "------------------------------------" > > sleep 10 > > done > > The time is requested each *20* seconds in reality; and is always of by 10 > seconds: > > local: Thu Nov 24 18:07:14 SGT 2005 > remote Thu Nov 24 18:07:25 SGT 2005 > set to Thu Nov 24 18:07:25 SGT 2005 > ------------------------------------ > local: Thu Nov 24 18:07:35 SGT 2005 > remote Thu Nov 24 18:07:45 SGT 2005 > set to Thu Nov 24 18:07:45 SGT 2005 > ------------------------------------ > ... > > ------------------------------------ > local: Thu Nov 24 18:18:26 SGT 2005 > remote Thu Nov 24 18:18:36 SGT 2005 > set to Thu Nov 24 18:18:36 SGT 2005 > ------------------------------------ > local: Thu Nov 24 18:18:46 SGT 2005 > remote Thu Nov 24 18:18:57 SGT 2005 > set to Thu Nov 24 18:18:57 SGT 2005 > ------------------------------------ > > Of course, hardware comes into mind. So I booted the same box to - oops - > DOS, command-line; and it ran pretty much on time over more than 24 hours > (as good as my watch). > I tried KNOPPIX, 4.0.2 on that box as well, with the same reference, and > it also isn't off more than a second in one hour. Me amateur can only > think of the dual-CPU, hyperthreading. The factor of almost 2 looks > suspicious to me. > > Uwe > > dmesg for the second time, today: > > booting hd0a:/bsd: 4846336+944176 [52+249680+230986]=0x5fb274 > entry point at 0x100120 > m > [ using 481092 bytes of bsd ELF symbol table ] > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2005 OpenBSD. All rights reserved. http://www.OpenBSD.org > > OpenBSD 3.8 (GENERIC.MP) #0: Wed Nov 2 10:11:33 SGT 2005 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP > cpu0: Intel(R) Xeon(TM) CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID > real mem = 2147012608 (2096692K) > avail mem = 1953050624 (1907276K) > using 4278 buffers containing 107454464 bytes (104936K) of memory > mainbus0 (root) > bios0 at mainbus0: AT/286+(00) BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000 > pcibios0 at bios0: rev 2.1 @ 0xf0000/0x2000 > pcibios0: PCI BIOS has 10 Interrupt Routing table entries > pcibios0: no compatible PCI ICU found > pcibios0: Warning, unable to fix up PCI interrupt routing > pcibios0: PCI bus #7 is the last bus > bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000 0xcc000/0x1600 0xee000/0x2000! > mainbus0: Intel MP Specification (Version 1.4) (HP PROLIANT ) > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: apic clock running at 200 MHz > cpu1 at mainbus0: apid 6 (application processor) > cpu1: Intel(R) Xeon(TM) CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz > cpu1: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID > mainbus0: bus 0 is type PCI > mainbus0: bus 1 is type PCI > mainbus0: bus 2 is type PCI > mainbus0: bus 5 is type PCI > mainbus0: bus 6 is type PCI > mainbus0: bus 9 is type PCI > mainbus0: bus 13 is type PCI > mainbus0: bus 16 is type PCI > mainbus0: bus 32 is type ISA > ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins > ioapic1 at mainbus0: apid 9 pa 0xfec10000, version 20, 24 pins > ioapic1: misconfigured as apic 0, remapped to apic 9 > ioapic2 at mainbus0: apid 10 pa 0xfec80000, version 20, 24 pins > ioapic3 at mainbus0: apid 11 pa 0xfec80400, version 20, 24 pins > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "Intel E7710 SMCH" rev 0x0c > ppb0 at pci0 dev 2 function 0 "Intel E7710 MCH PCIE" rev 0x0c > pci1 at ppb0 bus 1 > ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09 > pci2 at ppb1 bus 2 > ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09 > pci3 at ppb2 bus 3 > ppb3 at pci0 dev 4 function 0 "Intel E7710 MCH PCIE" rev 0x0c > pci4 at ppb3 bus 4 > ppb4 at pci0 dev 6 function 0 "Intel E7710 MCH PCIE" rev 0x0c > pci5 at ppb4 bus 5 > ppb5 at pci0 dev 28 function 0 "Intel 6300ESB PCIX" rev 0x02 > pci6 at ppb5 bus 6 > mpt0 at pci6 dev 3 function 0 "Symbios Logic 53c1030" rev 0x08: apic 8 int 5 > (irq 5) > mpt0: sending FW Upload request to IOC (size: 36, img size: 40752) > mpt0: IM support: 0 > scsibus0 at mpt0: 16 targets > sd0 at scsibus0 targ 0 lun 0: <COMPAQ, BF14686842, HPB4> SCSI3 0/direct fixed > sd0: 140014MB, 41991 cyl, 10 head, 682 sec, 512 bytes/sec, 286749488 sec total > mpt0: target 0 Synchronous at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 > mpt1 at pci6 dev 3 function 1 "Symbios Logic 53c1030" rev 0x08: apic 8 int 5 > (irq 5) > mpt1: sending FW Upload request to IOC (size: 36, img size: 40752) > mpt1: IM support: 0 > scsibus1 at mpt1: 16 targets > uhci0 at pci0 dev 29 function 0 "Intel 6300ESB USB" rev 0x02: apic 8 int 16 > (irq 3) > usb0 at uhci0: USB revision 1.0 > uhub0 at usb0 > uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1 at pci0 dev 29 function 1 "Intel 5300ESB USB" rev 0x02: apic 8 int 19 > (irq 7) > usb1 at uhci1: USB revision 1.0 > uhub1 at usb1 > uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > "Intel 6300ESB WDT" rev 0x02 at pci0 dev 29 function 4 not configured > "Intel 6300ESB APIC" rev 0x02 at pci0 dev 29 function 5 not configured > ehci0 at pci0 dev 29 function 7 "Intel 6300ESB USB" rev 0x02: apic 8 int 23 > (irq 7) > usb2 at ehci0: USB revision 2.0 > uhub2 at usb2 > uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1 > uhub2: 4 ports with 4 removable, self powered > ppb6 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x0a > pci7 at ppb6 bus 7 > bge0 at pci7 dev 2 function 0 "Broadcom BCM5705K" rev 0x03, BCM5705 A3 > (0x3003): apic 8 int 7 (irq 7) address 00:13:21:ae:65:65 > brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2 > vga1 at pci7 dev 3 function 0 "ATI Rage XL" rev 0x27 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > vendor "Compaq", unknown product 0x00d7 (class system subclass miscellaneous, > rev 0x01) at pci7 dev 4 function 0 not configured > ichpcib0 at pci0 dev 31 function 0 "Intel 6300ESB LPC" rev 0x02 > pciide0 at pci0 dev 31 function 1 "Intel 6300ESB IDE" rev 0x02: DMA, channel > 0 configured to compatibility, channel 1 configured to compatibility > pciide0: channel 0 disabled (no drives) > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus2 at atapiscsi0: 2 targets > cd0 at scsibus2 targ 0 lun 0: <PHILIPS, DVD8631, BB03> SCSI0 5/cdrom removable > cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 3 > isa0 at ichpcib0 > 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 > sysbeep0 at pcppi0 > npx0 at isa0 port 0xf0/16: using exception 16 > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pccom0: console > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec > biomask 0 netmask 0 ttymask 0 > pctr: user-level cycle counter enabled > dkcsum: sd0 matches BIOS drive 0x80 > root on sd0a > rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 > Automatic boot in progress: starting file system checks. > /dev/rsd0a: file system is clean; not checking > /dev/rsd0j: file system is clean; not checking > /dev/rsd0d: file system is clean; not checking > /dev/rsd0h: file system is clean; not checking > /dev/rsd0e: file system is clean; not checking > /dev/rsd0g: file system is clean; not checking > /dev/rsd0f: file system is clean; not checking > setting tty flags > pf enabled > starting network > starting system logger > starting rpc daemons:. > savecore: no core dump > checking quotas: done. > building ps databases: kvm dev. > clearing /tmp > starting pre-securelevel daemons:. > setting kernel security level: kern.securelevel: 0 -> 1 > creating runtime link editor directory cache. > preserving editor files > starting network daemons: sendmail httpd ftpd inetd sshd. > starting local daemons:. > clamd popa3d authdaemon imap-ssl mysqld . > standard daemons: cron. > Thu Nov 24 17:26:17 SGT 2005 > > OpenBSD/i386 > > ...