[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
macppc time weirdness?
- To: bugs@openbsd.org
- Subject: macppc time weirdness?
- From: joshua stein <jcs@rt.fm>
- Date: Fri, 2 Jan 2004 11:36:22 -0600
- Content-Disposition: inline
- Mail-Followup-To: bugs@openbsd.org
can anyone else reproduce this on a -current macppc (or other
architectures):
jcs@vorsicht:~> date; sudo rdate -n ntp.dls.net; date
Fri Jan 2 11:51:28 CST 2004
Fri Jan 2 11:30:54 CST 2004
Fri Jan 2 11:51:28 CST 2004
jcs@vorsicht:~> rdate -np ntp.dls.net
Fri Jan 2 11:32:23 CST 2004
jcs@vorsicht:~> sudo date 1132
Fri Jan 2 11:32:00 CST 2004
Exit 2
jcs@vorsicht:~> date
Fri Jan 2 11:52:35 CST 2004
now if i try to set it far back it will go, but is still not
accurate:
jcs@vorsicht:~> date
Fri Jan 2 11:53:06 CST 2004
jcs@vorsicht:~> sudo date 1100
Fri Jan 2 11:00:00 CST 2004
Exit 2
jcs@vorsicht:~> date
Fri Jan 2 11:20:35 CST 2004
kern.securelevel is at 1. this is on a powerbook g4 with a -current
kernel. i have rdate trying to set the time at boot (rdate_flags
set to "-n ntp.dls.net") but it never sets the time correctly (or
gives any indication of a failure).
[ using 335104 bytes of bsd ELF symbol table ]
console out [ATY,Jasper_A]console in [keyboard] ADB found
using parent ATY,JasperParent:: memaddr b8000000 size 8000000, : consaddr bc008000, : ioaddr b0020000, size 20000: memtag 8000, iotag 8000: width 1280 linebytes 1280 height 854 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2003 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 3.4-current (GENERIC) #16: Fri Jan 2 11:45:53 CST 2004
jcs@vorsicht.jcs.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 268435456 (262144K)
avail mem = 237056000 (231500K)
using 1254 buffers containing 13418496 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: Version 8002 (Revision 101): 999 MHz
memc0 at mainbus0: uni-n
mpcpcibr0 at mainbus0: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple UniNorth AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 vendor "ATI", unknown product 0x4e50 rev 0x00, mmio
wsdisplay0 at vgafb0: console (std, vt100 emulation)
mpcpcibr1 at mainbus0: uni-north, Revision 0x5
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple UniNorth PCI" rev 0x00
cbb0 at pci1 dev 19 function 0 "Texas Instruments PCI1510 CardBus" rev 0x00: irq 53
macobio0 at pci1 dev 23 function 0 "Apple Intrepid" rev 0x00
openpic0 at macobio0: version 0x4614
gpio_obio0 at macobio0
gpio_obio1 at gpio_obio0 offset 0x9 irq 47
programmer-switch at gpio_obio0 offset 0x11 not configured
gpio4 at gpio_obio0 offset 0x1e not configured
frequency-gpio at gpio_obio0 offset 0x1a not configured
voltage-gpio at gpio_obio0 offset 0x1b not configured
slewing-done at gpio_obio0 offset 0x12 not configured
gpio5 at gpio_obio0 offset 0x6f not configured
gpio6 at gpio_obio0 offset 0x70 not configured
extint-gpio4 at gpio_obio0 offset 0x5c not configured
gpio11 at gpio_obio0 offset 0x75 not configured
extint-gpio15 at gpio_obio0 offset 0x67 not configured
zsc0 at macobio0: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
adb0 at macobio0 irq 25: via-pmu 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: PowerBook G4 keyboard (Inverted T)
wskbd0 at akbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 4-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: brightness/volume/eject buttons
apm0 at adb0: battery flags 0x5, 100% charged
wdc0 at macobio0 irq 24: DMA transfer
atapiscsi0 at wdc0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, CD-RW CW-8122, BA21> SCSI0 5/cdrom removable
cd0(wdc0:0:0): using BIOS timings, DMA mode 2
ohci0 at pci1 dev 24 function 0 "Apple Intrepid USB" rev 0x00: irq 0, OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0 "Apple Intrepid USB" rev 0x00: irq 0, OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2 at pci1 dev 26 function 0 "Apple Intrepid USB" rev 0x00: irq 29, OHCI version 1.0, legacy support
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ugen0 at uhub2 port 1
ugen0: Apple Computer product 0x8203, rev 1.10/5.26, addr 2
ohci3 at pci1 dev 27 function 0 "NEC USB" rev 0x43: irq 63, OHCI version 1.0
usb3 at ohci3: USB revision 1.0
uhub3 at usb3
uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 3 ports with 3 removable, self powered
ohci4 at pci1 dev 27 function 1 "NEC USB" rev 0x43: irq 63, OHCI version 1.0
usb4 at ohci4: USB revision 1.0
uhub4 at usb4
uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: vendor 0x0461 Targus USB Mouse, rev 1.00/6.01, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
"NEC USB 2.0" rev 0x04 at pci1 dev 27 function 2 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
mpcpcibr2 at mainbus0: uni-north, Revision 0x6
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple UniNorth PCI" rev 0x00
kauaiata0 at pci2 dev 13 function 0 "Apple Intrepid ATA" rev 0x00
wdc1 at kauaiata0 irq 39: DMA transfer
wd0 at wdc1 channel 0 drive 0: <FUJITSU MHT2060AT>
wd0: 16-sector PIO, LBA48, 57231MB, 16383 cyl, 16 head, 63 sec, 117210240 sectors
ata6 conf old: 0x6149246, 2921new : 0x4149148, 2921
wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
"Apple UniNorth Firewire" rev 0x81 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple GMAC Ethernet" rev 0x80
gem0: address 00:0a:95:db:6a:3a
ukphy0 at gem0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x005043, model 0x000c, rev. 1
gem0: using irq 41 for interrupt
bootpath: '/pci@f4000000/ata-6@d/disk@0/bsd'
boot device: wd0.
root on wd0a
rootdev=0x0 rrootdev=0xb00 rawdev=0xb02