From nobody@FreeBSD.ORG  Wed May 24 13:55:25 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 7926837BAAD; Wed, 24 May 2000 13:55:25 -0700 (PDT)
Message-Id: <20000524205525.7926837BAAD@hub.freebsd.org>
Date: Wed, 24 May 2000 13:55:25 -0700 (PDT)
From: jkolb@pristx.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: microuptime() went backwards
X-Send-Pr-Version: www-1.0

>Number:         18798
>Category:       kern
>Synopsis:       microuptime() went backwards
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 24 14:00:01 PDT 2000
>Closed-Date:    Tue May 29 02:22:55 PDT 2001
>Last-Modified:  Tue May 29 02:23:25 PDT 2001
>Originator:     Justin Kolb
>Release:        4.0
>Organization:
Providence Risk & Insurance Services, Inc.
>Environment:
FreeBSD priswb.pristx.com 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000     root@monster.cdrom.com:/usr/src/sys/compile/GENERIC  i386  
>Description:
Infinite and continuous "microuptime() went backwards" log messages.
>How-To-Repeat:
Not sure it has seemed to happen the most when using /stand/sysinstall
to install a package or during the install itself. It is not to my
knowledge reproducible.
>Fix:
Reboot?

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: phk 
State-Changed-When: Sat Jun 10 12:17:24 PDT 2000 
State-Changed-Why:  
Please try with a kernel without APM support. 
please include dmesg & sysctl kern.timecounter output. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18798 

From: Valentin Nechayev <netch@lucky.net>
To: freebsd-gnats-submit@freebsd.org, phk@freebsd.org
Cc:  
Subject: Re: kern/18798: microuptime() went backwards
Date: Mon, 19 Jun 2000 16:11:16 +0300

 phk wrote:
 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: phk
 > State-Changed-When: Sat Jun 10 12:17:24 PDT 2000
 > State-Changed-Why:
 > Please try with a kernel without APM support.
 > please include dmesg & sysctl kern.timecounter output.
 
 I have seen it at our Alpha box:
 
 ==={
 Copyright (c) 1992-2000 The FreeBSD Project.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.0-STABLE #0: Tue May  2 23:54:37 EEST 2000
     root@aleph.carrier.kiev.ua:/var/src/sys/compile/ALEPH
 EB164
 Digital AlphaPC 164SX 533 MHz, 531MHz
 8192 byte page size, 1 processor.
 CPU: PCA56 (21164PC) major=9 minor=2 extensions=0x1<BWX>
 OSF PAL rev: 0x1000600020116
 real memory  = 132268032 (129168K bytes)
 avail memory = 124796928 (121872K bytes)
 Preloaded elf kernel "kernel" at 0xfffffc0000586000.
 md0: Malloc disk
 cia0: Pyxis, pass 1
 cia0: extended capabilities: 1<BWEN>
 pcib0: <2117x PCI host bus adapter> on cia0
 pci0: <PCI bus> on pcib0
 dc0: <Intel 21143 10/100BaseTX> port 0x10100-0x1017f mem 0x82072000-0x820723ff i
 rq 9 at device 5.0 on pci0
 dc0: interrupting at CIA irq 9
 dc0: Ethernet address: 00:80:48:cd:63:0a
 miibus0: <MII bus> on dc0
 amphy0: <Am79C873 10/100 media interface> on miibus0
 amphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 isab0: <Cypress 82C693 PCI-ISA bridge> at device 8.0 on pci0
 isa0: <ISA bus> on isab0
 pci0: <Cypress 82C693 ATA controller> at 8.1
 pci0: <Cypress 82C693 ATA controller> at 8.2
 pci0: <Cypress 82C693 ATA controller> at 8.3
 sym0: <875> port 0x10000-0x100ff mem 0x82071000-0x82071fff,0x82072400-0x820724ff
  irq 8 at device 9.0 on pci0
 sym0: Symbios NVRAM, ID 7, Fast-20, SE, NO parity
 sym0: open drain IRQ line driver, using on-chip SRAM
 sym0: SCAN AT BOOT disabled for targets 2 4 5 6 8 9 10 11 12 13 14 15.
 sym0: SCAN FOR LUNS disabled for targets 2 4 5 6 8 9 10 11 12 13 14 15.
 sym0: interrupting at CIA irq 8
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: interrupting at ISA irq 6
 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> irq 1 on atkbdc0
 atkbd0: interrupting at ISA irq 1
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 sc0: <System console> on isa0
 sc0: VGA <16 virtual consoles, flags=0x200>
 mcclock0: <MC146818A real time clock> at port 0x70-0x71 on isa0
 sio0 at port 0x3f8-0x3ff irq 4 on isa0
 sio0: type 16550A
 sio0: interrupting at ISA irq 4
 sio1: reserved for low-level i/o
 Timecounter "alpha"  frequency 533176256 Hz
 Waiting 5 seconds for SCSI devices to settle
 (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
 Mounting root from ufs:/dev/da0a
 da0 at sym0 bus 0 target 0 lun 0
 da0: <IBM DCAS-34330W S61A> Fixed Direct Access SCSI-2 device
 da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
 da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)
 WARNING: / was not properly dismounted
 dc0: TX underrun -- increasing TX threshold
 dc0: TX underrun -- increasing TX threshold
 dc0: TX underrun -- increasing TX threshold
 dc0: TX underrun -- using store and forward mode
 microuptime() went backwards (1119617.816600 -> 1119617,321192)
 microuptime() went backwards (1119617.816600 -> 1119617,321813)
 microuptime() went backwards (1119617.816600 -> 1119617,420793)
 microuptime() went backwards (1119617.816600 -> 1119617,520401)
 microuptime() went backwards (1119617.816600 -> 1119617,620007)
 microuptime() went backwards (1119617.816600 -> 1119617,664929)
 microuptime() went backwards (1119617.816600 -> 1119617,665738)
 microuptime() went backwards (1119617.816600 -> 1119617,665738)
 microuptime() went backwards (1119617.816600 -> 1119617,719616)
 pid 208 (squid), uid 65530: exited on signal 6
 Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
 Waiting (max 60 seconds) for system process `syncer' to stop...stopped
 
 syncing disks...
 done
 Uptime: 26d8h2m58s
 Rebooting...
 Copyright (c) 1992-2000 The FreeBSD Project.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.0-STABLE #0: Tue May  2 23:54:37 EEST 2000
     root@aleph.carrier.kiev.ua:/var/src/sys/compile/ALEPH
 ===}
 
 Also:
 
 netch@aleph:~>sysctl kern.timecounter
 kern.timecounter.method: 0
 kern.timecounter.hardware: alpha
 netch@aleph:~>
 
 
 --
 NVA
 

From: Poul-Henning Kamp <phk@critter.freebsd.dk>
To: netch@lucky.net
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/18798: microuptime() went backwards 
Date: Mon, 19 Jun 2000 15:20:21 +0200

 Alphas are special in two ways:  The CPU clock is not quartz xtal
 derived, but rather generated by a SAW device which has really
 good applications as thermometer.  This brings the other surprise:
 SMP alpha systems have asynchronous CPU clocks.
 
 I have no suggestions at this time.
 
 --
 Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
 phk@FreeBSD.ORG         | TCP/IP since RFC 956
 FreeBSD coreteam member | BSD since 4.3-tahoe    
 Never attribute to malice what can adequately be explained by incompetence.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: phk 
State-Changed-When: Tue May 29 02:22:55 PDT 2001 
State-Changed-Why:  
Known issue. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18798 
>Unformatted:
