Subject: system clock mess on SPARC64 1.6ZK (and 1.6.2)
To: NetBSD Current <current-users@netbsd.org>
From: Timo Schoeler <ml@macfinity.net>
List: current-users
Date: 03/06/2004 17:12:16
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi list,

since i pulled the creator (FFB2+) graphics card out of my U10 (dmesg =20=

attached below) the system clock loses approx. five (5) minutes per =20
hour (!) -- it appears both running 1.6.2 and 1.6ZK.

when i set the correct time via ntpdate and then restart ntpd (4.2 from =20=

pkgsrc) ntpd can't catch up and refuses to sync due to the large =20
difference the system clock 'creates'.

i wonder whether it is known behavior (on SPARC64) or my rtc is =20
wracked...? as soon as build.sh is finished, i'll check up that machine =20=

with Sun's VTS tools to evaluate the status of the machines rtc.

tia, now it's time for dmesg

- -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----=20
- -8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<

console is keyboard/display
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 1.6.2 (GENERIC) #3: Mon Feb  9 18:37:36 CET 2004
     =20
he@kveite.urc.uninett.no:/usr/users/he/build-1-6/obj.sparc64/sys/arch/=20=

sparc64/compile/GENERIC
total memory =3D 384 MB
avail memory =3D 346 MB
using 2470 buffers containing 19760 KB of memory
bootpath: /pci@1f,0/pci@1,1/ide@3,0/disk@0,0
mainbus0 (root): SUNW,Ultra-5_10
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 333 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K =20
external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
DVMA map: c0000000 to e0000000
IOTSB: 1c04000 to 1c84000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev. =20=

0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 1 function 0
ebus0: Sun Microsystems PCIO Ebus2, revision 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, =20
72c000-72c003, 72f000-72f003
power at ebus0 addr 724000-724003 ipl 37 not configured
SUNW,pll at ebus0 addr 504000-504002 not configured
se at ebus0 addr 400000-40007f ipl 43 not configured
com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
com0: console
kbd0 at com0 (console input)
com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
ms0 at com1
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl =20=

39 not configured
clock0 at ebus0 addr 0-1fff: mk48t59: hostid 80b08aa8
flashprom at ebus0 addr 0-fffff not configured
audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, =20
722000-722003 ipl 35 ipl 36: CS4231A
audio0 at audiocs0: full duplex
hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3021
hme0: Ethernet address 08:00:20:b0:8a:a8
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ATI Technologies 3D Rage Pro (VGA display, revision 0x5c) at pci1 dev 2 =20=

function 0 not configured
pciide0 at pci1 dev 3 function 0: CMD Technology PCI0646 (rev. 0x03)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using ivec 1820 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST39140A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 8693 MB, 17662 cyl, 16 head, 63 sec, 512 bytes/sect x 17803440 =20
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data =20
transfers)
pciide0: secondary channel configured to native-PCI mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <CRD-8322B, 1998/09/24, 1.05> type 5 cdrom =20
removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data =20
transfers)
ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI bridge (rev. =20=

0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
tlp0 at pci2 dev 1 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at ivec 10
tlp0: Ethernet address 00:00:cb:56:0d:0d
ukphy0 at tlp0 phy 8: Generic IEEE 802.3u media interface
ukphy0: Am79C873 10/100 media interface (OUI 0x000676, model 0x0000), =20=

rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk0 at pci2 dev 2 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at ivec 14
rtk0: Ethernet address 00:30:84:87:a9:66
ukphy1 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000000, model 0x0000, rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk1 at pci2 dev 3 function 0: RealTek 8139 10/100BaseTX
rtk1: interrupting at ivec 18
rtk1: Ethernet address 00:30:84:87:d1:0f
ukphy2 at rtk1 phy 7: Generic IEEE 802.3u media interface
ukphy2: OUI 0x000000, model 0x0000, rev. 0
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcons at mainbus0 not configured
No counter-timer -- using %tick at 333MHz as system clock.
Kernelized RAIDframe activated
root on wd0a dumps on wd0b
root file system type: ffs
syncing disks... 4 4 done
console is keyboard/display
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 1.6ZK (NELSON) #0: Sat Mar  6 16:21:49 CET 2004
	root@nelson:/usr/obj/sys/arch/sparc64/compile/NELSON
total memory =3D 384 MB
avail memory =3D 365 MB
bootpath: /pci@1f,0/pci@1,1/ide@3,0/disk@0,0
mainbus0 (root): SUNW,Ultra-5_10
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 333 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 =20=

b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
DVMA map: c0000000 to e0000000
IOTSB: a46000 to ac6000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems, Inc. Simba PCI bridge =20=

(rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 1 function 0
ebus0: Sun Microsystems, Inc. PCIO Ebus2, revision 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, =20
72c000-72c003, 72f000-72f003
power at ebus0 addr 724000-724003 ipl 37 not configured
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
com0: console
kbd0 at com0 (console input)
com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
ms0 at com1
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl =20=

39 not configured
clock0 at ebus0 addr 0-1fff: mk48t59: hostid 80b08aa8
flashprom at ebus0 addr 0-fffff not configured
audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, =20
722000-722003 ipl 35 ipl 36: CS4231A
audio0 at audiocs0: full duplex
hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3021
hme0: Ethernet address 08:00:20:b0:8a:a8
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ATI Technologies 3D Rage Pro (VGA display, revision 0x5c) at pci1 dev 2 =20=

function 0 not configured
cmdide0 at pci1 dev 3 function 0
cmdide0: CMD Technology PCI0646 (rev. 0x03)
cmdide0: bus-master DMA support present
cmdide0: primary channel configured to native-PCI mode
cmdide0: using ivec 1820 for native-PCI interrupt
atabus0 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus1 at cmdide0 channel 1
ppb1 at pci0 dev 1 function 0: Sun Microsystems, Inc. Simba PCI bridge =20=

(rev. 0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
tlp0 at pci2 dev 1 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at ivec 10
tlp0: Ethernet address 00:00:cb:56:0d:0d
dmphy0 at tlp0 phy 8: DM9101 (AMD Am79C873) 10/100 media interface, =20
rev. 2
dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk0 at pci2 dev 2 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at ivec 14
rtk0: Ethernet address 00:30:84:87:a9:66
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk1 at pci2 dev 3 function 0: Realtek 8139 10/100BaseTX
rtk1: interrupting at ivec 18
rtk1: Ethernet address 00:30:84:87:d1:0f
ukphy1 at rtk1 phy 7: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000000, model 0x0000, rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcons at mainbus0 not configured
No counter-timer -- using %tick at 333MHz as system clock.
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <ST39140A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 8693 MB, 17662 cyl, 16 head, 63 sec, 512 bytes/sect x 17803440 =20
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data =20
transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <CRD-8322B, 1998/09/24, 1.05> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(cmdide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data =20
transfers)
root on wd0a dumps on wd0b
root file system type: ffs

- -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----=20
- -8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<
- --=20
mit vorzueglichster Hochachtung/best regards,

Timo Sch=F6ler
//macfinity -- finest IT services | Triftstrasse 39 | 13353 Berlin | =20
Germany
Fon ++49 30 25 20 30 20 |=A0Fax ++49 30 25 20 30 19
PGP data http://www.macfinity.net/~tis/contact/PGPPKB_timo.schoeler.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFASfhkpVveXZwM6/ERAs2cAJ9o/gJjlWHGfL6LGdchDqbzGMP8BwCguNPM
mPEUF6QVHP8CP98gp/2FpYA=3D
=3D+zma
-----END PGP SIGNATURE-----