Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 21:41:08 -0700
From:      MKI <mki@mozone.net>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: microuptime() went backwards in 4.4-RC (20010816 snapshot)
Message-ID:  <20010823214108.H1286@cyclonus.mozone.net>
In-Reply-To: <20010823202741.G1286@cyclonus.mozone.net>; from mki@mozone.net on Thu, Aug 23, 2001 at 08:27:41PM -0700
References:  <20010823202741.G1286@cyclonus.mozone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
sorry, more information:

kern.timecounter.method: 1
kern.timecounter.hardware: i8254

running in smp mode on a dual 1ghz pIII gigabyte board

dmesg:
Copyright (c) 1992-2001 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 4.4-RC #1: Sun Aug 19 22:05:20 MST 2001
    mki@cds2.lab:/usr/src/sys/compile/CDS
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (996.55-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1041620992 (1017208K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc02d7000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00f7530
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GM graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip1: <VIA 82C686 ACPI interface> at device 7.4 on pci0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd800-0xd83f mem 0xdfc00000-0xdfcfffff,0xdffce000-0xdffcefff irq 12 at device 14.0 on pci0
fxp0: Ethernet address 00:20:ed:06:98:30
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xdc00-0xdc3f mem 0xdfe00000-0xdfefffff,0xdffcf000-0xdffcffff irq 10 at device 15.0 on pci0
fxp1: Ethernet address 00:20:ed:06:98:31
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 76319MB <WDC WD800BB-00BSA0> [155061/16/63] at ata0-master UDMA66
ad2: 76319MB <WDC WD800BB-00BSA0> [155061/16/63] at ata1-master UDMA66
acd0: CDROM <SR243T> at ata0-slave using PIO4
Mounting root from ufs:/dev/ad0s1a

On Thu, Aug 23, 2001 at 08:27:41PM -0700, mki wrote:
> Hi,
> 
> On a couple of our boxes, we see these popup randomly, sometimes
> way too often:
> 
> microuptime() went backwards (267002.298535 -> 267002.295159)
> microuptime() went backwards (267002.298535 -> 267002.297651)
> microuptime() went backwards (267002.384424 -> 267002.369886)
> microuptime() went backwards (267002.427783 -> 267002.402039)
> microuptime() went backwards (267002.577015 -> 267002.541318)
> microuptime() went backwards (267002.642923 -> 267002.618465)
> microuptime() went backwards (267002.642923 -> 267002.607871)
> microuptime() went backwards (267002.704413 -> 267002.667297)
> microuptime() went backwards (267002.907497 -> 267002.898190)
> microuptime() went backwards (267003.066847 -> 267003.065262)
> calcru: negative time of -161058988 usec for pid 1593 (perl)
> 
> however, when this happens, other than syslogd chewing up the 
> available cpu cycles, all the applications start doing wierd
> things because the time shifts to really odd values.  We have
> to then reset the date and/or reboot to fix it.
> 
> We've tried turning off apm in the kernel, as well as set
> kern.timecounter.method=1, but the problems have persisted.
> 
> Any help would be greatly appreciated.
> 
> -mohan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010823214108.H1286>