Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Time of day clock runs at twice the speed on (old) laptop
I recently installed 4.0.1 to an old laptop I had around (a really old
one, it's a Siemens Scenic Mobile 350 from 1999) and noticed something
weird: The system clock is running twice as fast as it should.
Exactly twice, as far as I can tell, but only in some ways:
$ date ; sleep 10 ; date
Mon Nov 24 11:44:31 CET 2008
Mon Nov 24 11:44:51 CET 2008
$
And it really does seem to sleep for ten seconds.
Other symptoms are that "midiplay -x" runs twice as fast as it should; and
when trying out minicom, the transfer rate was exactly half of the correct
value (as reported by my 4.0.1 desktop system on the other side) with the
estimated time to finish correspondingly being twice as far in the future
and ticking down at twice the speed.
This is with a 4.0.1 GENERIC_LAPTOP kernel, and a fairly recent 4.0_STABLE
- if that's the correct terminology - gives the same result, both
GENERIC_LAPTOP and a customized kernel.
However, a GENERIC.NOACPI kernel works fine. (It also doesn't interfere
with the sleep/suspend buttons, but that's another story...)
Selected parts of dmesg output: (full dmesg attached)
$ dmesg | grep time
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 32-bit timer
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0: attached to attimer0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
$
Any idea what is going on? I know that there is more than one clock
involved, separate ones for time-of-day and precise delays, but how can
only *one* be off like this? And why isn't the system screaming at me
that the timing sources are so obviously out of sync?
MAgnus
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007
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 4.0.1 (GENERIC_LAPTOP) #0: Tue Oct 7 22:55:29 PDT 2008
builds@wb30:/home/builds/ab/netbsd-4-0-1-RELEASE/i386/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP
total memory = 65084 KB
rbus: rbus_min_start set to 0x20000000
avail memory = 56000 KB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xf0210
PCI BIOS rev. 2.1 found at 0xf0200
pcibios: config mechanism [1][x], special cycles [x][x], last bus 0
PCI IRQ Routing Table rev. 1.0 found at 0xfbad0, size 144 bytes (7 entries)
PCI Interrupt Router at 255:31:7
pci_intr_fixup: no compatible PCI ICU found
------------------------------------------
device vendor product pin PIRQ IRQ stage
------------------------------------------
000:05:0 0x1217 0x6832 A 0x02 9 1 already assigned
000:05:1 0x1217 0x6832 B 0x03 9 1 already assigned
000:06:0 0x10c8 0x0004 A 0x04 - 0
000:15:0 0x10b9 0x5237 A 0x01 10 1 already assigned
------------------------------------------
mainbus0 (root)
pci_addr_fixup: 000:05:0 0x1217 0x6832 new address 0x04000000
pci_addr_fixup: 000:05:1 0x1217 0x6832 new address 0x04001000
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium/MMX (Tillamook) (586-class), 266.62 MHz, id 0x582
cpu0: features 8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8001bf<MMX>
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <Acer ,AN500 ,00000001>, AslId <Acer,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 32-bit timer
mpacpi: could not get bus number, assuming bus 0
PILD: ACPI: Found matching pin for 0.6.INTA at func 0: 9
PILB: ACPI: Found matching pin for 0.5.INTA at func 0: 9
PILC: ACPI: Found matching pin for 0.5.INTB at func 1: 9
PILA: ACPI: Found matching pin for 0.15.INTA at func 0: 10
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0A03 at acpi0 not configured
PNP0F13 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0303 at acpi0 not configured
PNP0700 at acpi0 not configured
PNP0400 at acpi0 not configured
PNP0501 at acpi0 not configured
PNP0C02 at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A): ACPI Battery (Control Method)
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: active cooling level 0: 67.0C
acpitz0: critical 71.0C
apm0 at acpi0: Power Management spec V1.2
acpiacad0: AC adapter online.
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Acer Labs M1531 Host-PCI Bridge (rev. 0xb3)
pcib0 at pci0 dev 2 function 0
pcib0: Acer Labs M1533 PCI-ISA Bridge (rev. 0x0a)
cbb0 at pci0 dev 5 function 0: O2 Micro OZ6832/OZ6833 PCI-CardBus Bridge (rev.
0x34)
cbb1 at pci0 dev 5 function 1: O2 Micro OZ6832/OZ6833 PCI-CardBus Bridge (rev.
0x34)
vga1 at pci0 dev 6 function 0: Neomagic MagicGraph 128XD (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
aceride0 at pci0 dev 11 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0x20)
aceride0: bus-master DMA support present
aceride0: primary channel configured to compatibility mode
aceride0: primary channel interrupting at irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel configured to compatibility mode
aceride0: secondary channel interrupting at irq 15
atabus1 at aceride0 channel 1
Acer Labs M7101 Power Management Controller (miscellaneous bridge, revision
0x09) at pci0 dev 12 function 0 not configured
ohci0 at pci0 dev 15 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev.
0x03)
ohci0: interrupting at irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pms0: Synaptics touchpad version 4.1
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
pcppi0: children must have an explicit unit
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcppi0: attached to attimer0
isapnp0: read port 0x203
ym0 at isapnp0 port 0x220/16,0x530/8,0x388/8,0x330/2,0x370/2 irq 5 drq 0,7
ym0: YAMAHA OPL3-SAx Audio System : OPL3-SA3
audio0 at ym0: full duplex, mmap
opl0 at ym0: model OPL3
midi1 at opl0: OPL3-SA3 Yamaha OPL3 (CPU-intensive output)
mpu0 at ym0
midi2 at mpu0: OPL3-SA3 MPU-401 MIDI UART (CPU-intensive output)
isapnp0: card 2 violates PnP spec; byte 0
isapnp0: No current device for tag, card 2
isapnp0: No current device for tag, card 2
isapnp0: No current device for tag, card 2
isapnp0: No current device for tag, card 2
isapnp0: No current device for tag, card 2
isapnp0: No current device for tag, card 2
isapnp0: No current device for tag, card 2
isapnp0: No current device for tag, card 2
isapnp0: No current device for tag, card 2
isapnp0: Too many tag errors, card 2
cbb0: interrupting at irq 9
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1
pcmcia0 at cardslot0
cbb1: interrupting at irq 9
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2
pcmcia1 at cardslot1
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <TOSHIBA MK4309MAT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4126 MB, 8944 cyl, 15 head, 63 sec, 512 bytes/sect x 8452080 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <CD-220EA, , 1.5A> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(aceride0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
Home |
Main Index |
Thread Index |
Old Index