Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 15:59:43 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        freebsd-current@freebsd.org
Subject:   calcru: negative time ... messages in 5.0-RELEASE
Message-ID:  <3E3057BF.2090001@potentialtech.com>

next in thread | raw e-mail | index | archive | help
I posted this to -STABLE on Monday, since then I've come to understand
that -STABLE doesn't really include 5.0 (even though it's been released).
That, combined with the fact that I received no answer, has propted me
to post this to -CURRENT.  Following is my original post:

<original post>
We're trying out 5.0-RELEASE on a test machine, and all is working well (so far)
except for the continual "calcru: negative time ..." messages.

I found information about this in the FAQ, but 5.0 doesn't seem to have a
kern.timecounter.method oid.
I also found information in the 5.0DP1 errata that pointed me to the -CURRENT
mailing list, but a search of that list produced very little information, and
the only thing to try (setting kern.timecounter.hardware=TSC) didn't change
anything.

Is there any more information on this?  Is the last paragraph in the FAQ (that
my interrupts are too hosed) applicable?  Any pointers/help is appreciated.
</original post>

Since I posted this, I've gathered a little additional information:
kern.timecounter.hardware is still set to TSC via sysctl.conf.  It appears as
though this has changed behaviour.  We aren't seeing the calcru messages any
more _except_ during boot, where they intermingle with the boot messages.

Does this mean that the calcru problems are occurring during boot, until the
sysctl is changed, and then they stop?  Is this a reliable solution?

dmesg output follows:

Copyright (c) 1992-2003 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 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003
     root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0673000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06730a8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 450130982 Hz
CPU: AMD-K6(tm) 3D processor (450.13-MHz 586-class CPU)
   Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
   Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
   AMD Features=0xffffffff80000800<SYSCALL,3DNow!>
real memory  = 62914560 (60 MB)
avail memory = 54222848 (51 MB)
Initializing GEOMetry subsystem
K6-family MTRR support enabled (2 registers)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <COMPAQ CARS6U2 > on motherboard
     ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE31
Using $PIR table, 7 entries at 0xc00fa040
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0x50000000-0x5fffffff at device 0.0 on pci0
atapci0: <SiS 5591 ATA66 controller> port 0x2040-0x204f,0-0x3,0-0x7,0-0x3,0-0x7 at device 0.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown> at device 1.1 (no driver attached)
ohci0: <SiS 5571 USB controller> mem 0x40200000-0x40200fff irq 11 at device 1.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: device problem, disabling port 1
pcib1: <PCIBIOS PCI-PCI bridge> at device 2.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0x2400-0x24ff mem 0x41000000-0x410000ff irq 3 at device 4.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:c0:ca:14:03:eb
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <multimedia, audio> at device 10.0 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0: <Option ROMs> at iomem 0xec000-0xeffff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
ata1-slave: timeout waiting for interrupt
ata1-slave: ATA identify failed
ad0: 9541MB <QUANTUM FIREBALL CX10.0A> [19386/16/63] at ata0-master UDMA66
acd0: CDROM <Compaq CRD-8322B> at ata1-master PIO4
stray irq 7
Mounting root from ufs:/dev/ad0s1a
calcru: negative time of -1319643 usec for pid 48 (rcorder)
calcru: negative time of -664109 usec for pid 62 (ps)
calcru: negative time of -661655 usec for pid 55 (sh)
calcru: negative time of -673394 usec for pid 70 (sh)
calcru: negative time of -673918 usec for pid 72 (sh)
calcru: negative time of -1364037 usec for pid 81 (fsck)
ad0: UDMA ICRC error cmd=write fsbn 3565758 of 1782879-1782882
  retrying
ad0: UDMA ICRC error cmd=write fsbn 3565758 of 1782879-1782882
  retrying
ad0: UDMA ICRC error cmd=write fsbn 3565758 of 1782879-1782882
  retrying
ad0: UDMA ICRC error cmd=write fsbn 3565758 of 1782879-1782882
  falling back to PIO mode
calcru: negative time of -679350 usec for pid 97 (mount)
calcru: negative time of -684629 usec for pid 103 (sysctl)
calcru: negative time of -682832 usec for pid 119 (dd)
calcru: negative time of -647360 usec for pid 104 (sh)
calcru: negative time of -683260 usec for pid 128 (rm)
calcru: negative time of -684819 usec for pid 131 (rm)
calcru: negative time of -684701 usec for pid 152 (sysctl)
calcru: negative time of -671919 usec for pid 153 (sh)
calcru: negative time of -684558 usec for pid 158 (sh)




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




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