On Mon, Jul 18, 2011 at 6:09 PM, Dave Anderson <[email protected]> wrote:
> On Mon, 18 Jul 2011, Mattieu Baptiste wrote:
>
>>Hi all,
>>
>>Time goes too fast on my sparc64/current machine.
>>I use ntpd to sync the time. In my logs, I have these kind of lines,
>>although the machine's time is 4 hours *later* than expected after a
>>day of uptime. It seems that ntpd tries to slow down the time but the
>>clock is too fast.
>>
>>Jul 18 18:01:05 cognac ntpd[4470]: adjusting local clock by -6881.070981s
>>Jul 18 18:02:38 cognac ntpd[4470]: adjusting local clock by -6880.602320s
>>Jul 18 18:06:21 cognac ntpd[4470]: adjusting local clock by -6879.482802s
>>Jul 18 18:09:30 cognac ntpd[4470]: adjusting local clock by -6878.537515s
>>Jul 18 18:12:09 cognac ntpd[4470]: adjusting local clock by -6877.736360s
>>Jul 18 18:14:14 cognac ntpd[4470]: adjusting local clock by -6877.106601s
>>Jul 18 18:16:27 cognac ntpd[4470]: adjusting local clock by -6876.438104s
>>Jul 18 18:19:30 cognac ntpd[4470]: adjusting local clock by -6875.522796s
>>Jul 18 18:20:04 cognac ntpd[4470]: adjusting local clock by -6875.350162s
>>Jul 18 18:21:10 cognac ntpd[4470]: adjusting local clock by -6875.013526s
>>Jul 18 18:23:53 cognac ntpd[4470]: adjusting local clock by -6874.195840s
>>Jul 18 18:26:39 cognac ntpd[4470]: adjusting local clock by -6873.362587s
>>Jul 18 18:30:57 cognac ntpd[4470]: adjusting local clock by -6872.067664s
>>Jul 18 18:35:07 cognac ntpd[4470]: adjusting local clock by -6870.809967s
>>Jul 18 18:36:10 cognac ntpd[4470]: adjusting local clock by -6870.492445s
>>Jul 18 18:39:24 cognac ntpd[4470]: adjusting local clock by -6869.519140s
>>Jul 18 18:42:07 cognac ntpd[4470]: adjusting local clock by -6868.699951s
>>Jul 18 18:45:18 cognac ntpd[4470]: adjusting local clock by -6867.736762s
>>Jul 18 18:48:29 cognac ntpd[4470]: adjusting local clock by -6866.780651s
>
> Note that the magnitude of the correction is decreasing each time, so
> your clock is being corrected -- just rather slowly.  What I expect
> happened is that your clock was way off at boot and you didn't force a
> one-time complete correction (one of the options to ntpd).  Except when
> an initial complete correction is forced, ntpd only makes small
> adjustments to the clock rate, so it's expected that a large error will
> take a long time to correct completely.


No. ntpd slows down the correction but the time continues to drift
more and more.
I started ntpd with the "-s" flag at my last reboot.

When I sent my mail:
uptime: 19:27
real time: ~17:30
machine's time: 18:49
=>gap: 01:19

Now:
uptime: 20:33
real time: 18:29
machine's time: 20:23
=>gap: 01:54


>
>        Dave
>
>>dmesg:
>>
>>console is /pci@1e,600000/isa@7/serial@0,3f8
>>Copyright (c) 1982, 1986, 1989, 1991, 1993
>>       The Regents of the University of California.  All rights reserved.
>>Copyright (c) 1995-2011 OpenBSD. All rights reserved.
 http://www.OpenBSD.org
>>
>>OpenBSD 4.9-current (GENERIC.MP) #1: Fri Jul 15 14:34:10 CEST 2011
>>    [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
>>real mem = 17179869184 (16384MB)
>>avail mem = 16901693440 (16118MB)
>>mainbus0 at root: Sun Fire V440
>>cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1281 MHz
>>cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
>>external (64 b/l)
>>cpu1 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1281 MHz
>>cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
>>external (64 b/l)
>>cpu2 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1281 MHz
>>cpu2: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
>>external (64 b/l)
>>cpu3 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1281 MHz
>>cpu3: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
>>external (64 b/l)
>>"memory-controller" at mainbus0 not configured
>>"memory-controller" at mainbus0 not configured
>>"memory-controller" at mainbus0 not configured
>>"memory-controller" at mainbus0 not configured
>>schizo0 at mainbus0: "Tomatillo", version 4, ign 700, bus A 0 to 0
>>schizo0: dvma map c0000000-dfffffff
>>pci0 at schizo0
>>cas0 at pci0 dev 2 function 0 "Sun Cassini" rev 0x20: ivec 0x718,
>>address 00:03:ba:a4:90:53
>>brgphy0 at cas0 phy 1: BCM5421 10/100/1000baseT PHY, rev. 1
>>"ppm" at mainbus0 not configured
>>schizo1 at mainbus0: "Tomatillo", version 4, ign 740, bus B 0 to 1
>>schizo1: dvma map c0000000-dfffffff
>>pci1 at schizo1
>>ppb0 at pci1 dev 2 function 0 "Intel 21154AE/BE PCI-PCI" rev 0x00
>>pci2 at ppb0 bus 1
>>cas1 at pci2 dev 0 function 0 "Sun Cassini" rev 0x20: ivec 0x740,
>>address 00:03:ba:93:1c:a1
>>brgphy1 at cas1 phy 1: BCM5401 10/100/1000baseT PHY, rev. 3
>>schizo2 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 0
>>schizo2: dvma map c0000000-dfffffff
>>pci3 at schizo2
>>ebus0 at pci3 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
>>"flashprom" at ebus0 addr 0-fffff, 290-290 not configured
>>rtc0 at ebus0 addr 70-71: m5819p
>>pcfiic0 at ebus0 addr 320-321 ivec 0x1b
>>iic0 at pcfiic0
>>"SUNW,i2c-imax" at iic0 addr 0xb not configured
>>"SUNW,i2c-imax" at iic0 addr 0xc not configured
>>admtemp0 at iic0 addr 0x18: max1617
>>"pca9555" at iic0 addr 0x21 not configured
>>"pca9555" at iic0 addr 0x22 not configured
>>"pca9555" at iic0 addr 0x23 not configured
>>"pca9555" at iic0 addr 0x24 not configured
>>"adm1026" at iic0 addr 0x2e not configured
>>admtemp1 at iic0 addr 0x32: max1617
>>admtemp2 at iic0 addr 0x40: max1617
>>admtemp3 at iic0 addr 0x48: max1617
>>lmtemp0 at iic0 addr 0x4e: lm75
>>spdmem0 at iic0 addr 0x5b: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem1 at iic0 addr 0x5c: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem2 at iic0 addr 0x5d: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem3 at iic0 addr 0x5e: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem4 at iic0 addr 0x63: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem5 at iic0 addr 0x64: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem6 at iic0 addr 0x65: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem7 at iic0 addr 0x66: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem8 at iic0 addr 0x6b: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem9 at iic0 addr 0x6c: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem10 at iic0 addr 0x6d: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem11 at iic0 addr 0x6e: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem12 at iic0 addr 0x73: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem13 at iic0 addr 0x74: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem14 at iic0 addr 0x75: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>spdmem15 at iic0 addr 0x76: 1GB DDR SDRAM registered ECC PC2300CL2.5
>>"ics951601" at iic0 addr 0x69 not configured
>>power0 at ebus0 addr 800-82f ivec 0x1a
>>com0 at ebus0 addr 3f8-3ff ivec 0x22: ns16550a, 16 byte fifo
>>com0: console
>>com1 at ebus0 addr 2e8-2ef ivec 0x22: ns16550a, 16 byte fifo
>>"rmc-comm" at ebus0 addr 3e8-3ef ivec 0x22 not configured
>>alipm0 at pci3 dev 6 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz
clock
>>iic1 at alipm0
>>ohci0 at pci3 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
>>0x7a1, version 1.0, legacy support
>>ohci1 at pci3 dev 11 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
>>0x7a5, version 1.0, legacy support
>>pciide0 at pci3 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4:
>>DMA, channel 0 configured to native-PCI, channel 1 configured to
>>native-PCI
>>pciide0: using ivec 0x7a6 for native-PCI interrupt
>>atapiscsi0 at pciide0 channel 0 drive 0
>>scsibus0 at atapiscsi0: 2 targets
>>cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-C2612, 1011> ATAPI
>>5/cdrom removable
>>cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
>>pciide0: channel 1 disabled (no drives)
>>usb0 at ohci0: USB revision 1.0
>>uhub0 at usb0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
>>usb1 at ohci1: USB revision 1.0
>>uhub1 at usb1 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
>>"ppm" at mainbus0 not configured
>>schizo3 at mainbus0: "Tomatillo", version 4, ign 7c0, bus B 0 to 0
>>schizo3: dvma map c0000000-dfffffff
>>pci4 at schizo3
>>cas2 at pci4 dev 1 function 0 "Sun Cassini" rev 0x20: ivec 0x7dc,
>>address 00:03:ba:a4:90:54
>>brgphy2 at cas2 phy 1: BCM5421 10/100/1000baseT PHY, rev. 1
>>mpi0 at pci4 dev 2 function 0 "Symbios Logic 53c1030" rev 0x07: ivec 0x7e3
>>scsibus1 at mpi0: 16 targets, initiator 7
>>sd0 at scsibus1 targ 0 lun 0: <LSILOGIC, 1030 IM IM, 1000> SCSI2 0/direct
fixed
>>sd0: 70007MB, 512 bytes/sector, 143374336 sectors
>>sd1 at scsibus1 targ 2 lun 0: <SEAGATE, ST314670LSUN146G, 065A> SCSI3
>>0/direct fixed t10.SEAGATE_ST314670LSUN146G3KS73HA9
>>sd1: 140009MB, 512 bytes/sector, 286739329 sectors
>>sd2 at scsibus1 targ 3 lun 0: <SEAGATE, ST314670LSUN146G, 065A> SCSI3
>>0/direct fixed t10.SEAGATE_ST314670LSUN146G3KS73JGX
>>sd2: 140009MB, 512 bytes/sector, 286739329 sectors
>>mpi0: target 2 Sync at 160MHz width 16bit offset 63 QAS 1 DT 1 IU 1
>>mpi0: target 3 Sync at 160MHz width 16bit offset 63 QAS 1 DT 1 IU 1
>>mpi0: phys disk 0 Sync at 160MHz width 16bit offset 63 QAS 1 DT 1 IU 1
>>mpi0: phys disk 1 Sync at 160MHz width 16bit offset 63 QAS 1 DT 1 IU 1
>>mpi1 at pci4 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0x7e4
>>scsibus2 at mpi1: 16 targets, initiator 7
>>"i2c" at mainbus0 not configured
>>vscsi0 at root
>>scsibus3 at vscsi0: 256 targets
>>softraid0 at root
>>scsibus4 at softraid0: 256 targets
>>sd3 at scsibus4 targ 1 lun 0: <OPENBSD, SR RAID 0, 004> SCSI2 0/direct
fixed
>>sd3: 280018MB, 512 bytes/sector, 573477376 sectors
>>bootpath: /pci@1f,700000/scsi@2,0/disk@0,0
>>root on sd0a swap on sd0b dump on sd0b
>>
>>
>>
>>
>
> --
> Dave Anderson
> <[email protected]>
>
>



--
Mattieu Baptiste
"/earth is 102% full ... please delete anyone you can."

Reply via email to