From owner-freebsd-sparc64@FreeBSD.ORG Sat Oct 23 23:14:26 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C32F16A4CE for ; Sat, 23 Oct 2004 23:14:26 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id C54F243D5A for ; Sat, 23 Oct 2004 23:14:25 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D02F952C13; Sat, 23 Oct 2004 16:14:54 -0700 (PDT) Date: Sat, 23 Oct 2004 16:14:54 -0700 From: Kris Kennaway To: sparc64@FreeBSD.org Message-ID: <20041023231454.GA11787@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: ntpdate unable to repair clock X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2004 23:14:26 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. Kris # 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 128.205.37.10 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 Abort # 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 128.205.37.10 offset -X0446744069415264286.575965 sec # date Sat Oct 23 16:07:40 PDT 2004 # host localhost localhost.dcsl.Buffalo.EDU has address 127.0.0.1 # 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@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: pcib0: on nexus0 pcib0: Sabre (US-IIe) compatible, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0 dvma: DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 12.0 on pci0 ebus0: : incomplete ebus0: addr 0-0xfffff (no driver attached) eeprom0: addr 0x100000000-0x100001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 83093cec isab0: at device 7.0 on pci0 isa0: on isab0 gem0: mem 0x400000-0x41ffff at device 12.1 on pci0 miibus0: on gem0 ukphy0: 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 gem0: [GIANT-LOCKED] pci0: at device 12.2 (no driver attached) pci0: at device 12.3 (no driver attached) pci0: at device 3.0 (no driver attached) pci0: at device 8.0 (no driver attached) atapci0: 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: at device 19.0 (no driver attached) pcib1: at device 5.0 on pci0 pci1: 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 sym0: [GIANT-LOCKED] 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 sym1: [GIANT-LOCKED] Timecounters tick every 10.000 msec ad0: 14594MB [29651/16/63] at ata2-master UDMA66 acd0: CDRW at ata2-slave PIO4 ad1: 14594MB [29651/16/63] at ata3-master UDMA66 Waiting 3 seconds for SCSI devices to settle --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBeuXuWry0BWjoQKURAo0hAJ49k9/8D8NUIpl3U1xh5C4VSSwgzgCgg6qp jNE9nR/fkikPKSiyKca79fA= =Q91N -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--