ntpdate unable to repair clock

Kris Kennaway kris at obsecurity.org
Sat Oct 23 16:14:26 PDT 2004

A sparc64 machine I'm using was consistently failing to set the date
properly when updated across the recent RELENG_5 changes that required
date to be reset.  ntpdate claimed to be setting the date correctly,
but date(1) still returned a bogus value.

Setting the date manually and then rerunning ntpdate gave another
bogus offset message, but in fact set it correctly.


# ntpdate beastie
Looking for host beastie and service ntp
host found : beastie.dcsl.buffalo.edu
23 May 06:57:05 ntpdate[831]: adjust time server offset 0.411235 sec
# date
Fri May 23 06:57:08 PST 832153490
# host localhost
/home/ports-sparc64/src/lib/bind/isc/../../../contrib/bind9/lib/isc/timer.c:330: fatal error:
+RUNTIME_CHECK(isc_time_now((&now)) == 0) failed
# date 200410311200.00
Sun Oct 31 12:00:00 PST 2004
# ntpdate beastie
Looking for host beastie and service ntp
host found : beastie.dcsl.buffalo.edu
23 Oct 16:07:17 ntpdate[1010]: step time server offset -X0446744069415264286.575965 sec
# date
Sat Oct 23 16:07:40 PDT 2004
# host localhost
localhost.dcsl.Buffalo.EDU has address
# dmesg
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.3-STABLE #3: Sat Oct 23 14:11:40 EDT 2004
    root at beastie.dcsl.buffalo.edu:/usr/obj/home/ports-sparc64/src/sys/NETBOOT
Timecounter "tick" frequency 502000000 Hz quality 1000
real memory  = 134217728 (128 MB)
avail memory = 116629504 (111 MB)
cpu0: Sun Microsystems UltraSparc-IIe Processor (502.00 MHz CPU)
nexus0: <Open Firmware Nexus device>
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: Sabre (US-IIe) compatible, impl 0, version 0, ign 0x7c0, bus A
pcib0: [FAST]
pcib0: [FAST]
pcib0 dvma: DVMA map: 0xc0000000 to 0xc3ffffff
pci0: <OFW PCI bus> on pcib0
ebus0: <PCI-EBus3 bridge> mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 12.0 on pci0
ebus0: <idprom>: incomplete
ebus0: <flashprom> addr 0-0xfffff (no driver attached)
eeprom0: <EEPROM/clock> addr 0x100000000-0x100001fff on ebus0
eeprom0: model mk48t59
eeprom0: hostid 83093cec
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
gem0: <Sun ERI 10/100 Ethernet Adaptor> mem 0x400000-0x41ffff at device 12.1 on pci0
miibus0: <MII bus> on gem0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gem0: 2kB RX FIFO, 2kB TX FIFO
gem0: Ethernet address: 00:03:ba:09:3c:ec
gem0: if_start running deferred for Giant
pci0: <serial bus, FireWire> at device 12.2 (no driver attached)
pci0: <serial bus, USB> at device 12.3 (no driver attached)
pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
pci0: <multimedia, audio> at device 8.0 (no driver attached)
atapci0: <AcerLabs Aladdin UDMA66 controller> port 0xa20-0xa2f,0xa08-0xa0b,0xa10-0xa17,0xa18-0xa1b,0xa00-0xa07 at
 device 13.0 on pci0
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
pci0: <display, VGA> at device 19.0 (no driver attached)
pcib1: <OFW PCI-PCI bridge> at device 5.0 on pci0
pci1: <OFW PCI bus> on pcib1
sym0: <875> port 0x1000-0x10ff mem 0x4002000-0x4002fff,0x4000000-0x40000ff at device 2.0 on pci1
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym1: <875> port 0x1100-0x11ff mem 0x4006000-0x4006fff,0x4004000-0x40040ff at device 2.1 on pci1
sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
Timecounters tick every 10.000 msec
ad0: 14594MB <ST315320A/3.21> [29651/16/63] at ata2-master UDMA66
acd0: CDRW <LTN486S/YSU1> at ata2-slave PIO4
ad1: 14594MB <ST315320A/3.21> [29651/16/63] at ata3-master UDMA66
Waiting 3 seconds for SCSI devices to settle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20041023/e74cf8e3/attachment.bin

More information about the freebsd-sparc64 mailing list