Date: Thu, 8 Feb 2001 23:10:23 -0500 (EST) From: Matt Heckaman <matt@LUCIDA.CA> To: FreeBSD-QUESTIONS <freebsd-questions@freebsd.org> Subject: abnormal oddness to a calcru problem Message-ID: <Pine.BSF.4.31.0102082302350.33823-300000@epsilon.lucida.ca>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi All:
Before you throw this in the RTFMLA pile, I have. What I'm puzzeled by is
some other oddities I've noticed, but let me describe the problem:
I have a machine that was used for the last 8 months and has had no
problems what so ever. Recently, I installed a new graphics card (voodoo
4 4500) and started seeing 'calcru: negative time ...' errors. So while
looking at this, I discovered that suddenly no TSC is shown!
- From 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.2-STABLE #0: Wed Jan 31 04:39:33 EST 2001
root@epsilon.lucida.ca:/usr/src/sys/compile/EPSILON
Timecounter "i8254" frequency 1193182 Hz
^^^^^^^^^^^^^^^^^^^
CPU: Pentium III/Pentium III Xeon/Celeron (548.32-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x673 Stepping = 3
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
Look at one of my other systems, it should look like:
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 400911562 Hz
With TSC frequency being near the reported clock of the CPU. I read that
the calcru problem has something to do with interrupts and the TSC, and
I've read about the sysctl for changing the kernel timing method. What I'm
wondering, is if there isn't something I can do in the bios or whatnot to
make it act normally again... It should be showing me a TSC and working
correctly. This also causes the time to drift more than ntpd can keep up
at times. I've attached my kernel config & full dmesg output..
Also, the http://www.freebsd.org/FAQ/troubleshoot.html#CALCRU-NEGATIVE
page talks about checking the interrupt setting of the graphics card. I'm
not quite sure what exactly is meant by this, nor would I most likely
realize what it should be or should be modified to be.. Some pointers on
this would be very much appreciated.
Regards,
Matt Heckaman
* Matt Heckaman - mailto:matt@lucida.ca http://www.lucida.ca/pgp *
* GPG fingerprint - 53CA 8320 C8F6 32ED 9DDF 036E 3171 C093 4AD3 1364 *
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: http://www.lucida.ca/pgp
iD8DBQE6g22wMXHAk0rTE2QRAkFMAJ9Qj8kXh1nHtzTkdo6hZCEb1YZASgCdGQ3D
otc3h3YIGv0VBqw1cFczHTo=
=jYk6
-----END PGP SIGNATURE-----
[-- Attachment #2 --]
# EPSILON.LUCIDA.CA, 4.2 KERNEL
# Updated: January 11 2001
machine i386
cpu I686_CPU
ident EPSILON
maxusers 512
options NMBCLUSTERS=32768
makeoptions DEBUG=-g
makeoptions KERNEL=EPSILON
# SMP
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
# Main Options
options CD9660 # ISO 9660 Filesystem
options CD9660_ROOT # CD-ROM usable as root. "CD9660"
options COMPAT_43 # Compatible with BSD 4.3
options COMPAT_LINUX # Compatible with Linux
options FFS # Berkeley Fast Filesystem
options FFS_ROOT # FFS usable as root device: keep this!
options INCLUDE_CONFIG_FILE # Include this file in the kernel
options INET # InterNETworking
options KTRACE # ktrace(1) syscall trace support
options MFS # Memory Filesystem
options MD_ROOT # MD is a potential root device
options MSDOSFS # MSDOS Filesystem
options PROCFS # Process filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UCONSOLE # Allow users to grab the console
options USERCONFIG # boot -c editor
options VISUAL_USERCONFIG # visual boot -c editor
# POSIX Options
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
options _KPOSIX_VERSION=199309L
# SYSV Options
options SYSVMSG
options SYSVSEM
options SYSVSHM
options SHMSEG=100
# Firewall Options
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
# Color Options
options SC_NORM_ATTR="(FG_LIGHTCYAN|BG_BLACK)"
options SC_NORM_REV_ATTR="(FG_BLACK|BG_CYAN)"
options SC_KERNEL_CONS_ATTR="(FG_LIGHTCYAN|BG_BLACK)"
options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_CYAN)"
device isa
device eisa
device pci
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
device fd1 at fdc0 drive 1
# ATA and ATAPI devices
device ata
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
options ATA_STATIC_ID # Static device numbering
# SCSI devices
device ahc # AHA2940 and onboard AIC7xxx devices
device scbus # SCSI bus (required)
device da # Direct Access (disks)
device sa # Sequential Access (tape, etc)
device cd # CD
device pass # Passthrough device (Direct SCSI access)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1
device psm0 at atkbdc? irq 12
# The video card driver.
device vga0 at isa?
# syscons is the default console driver, resembling an SCO console
device sc0 at isa?
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
device sio2 at isa? disable port IO_COM3 irq 5
device sio3 at isa? disable port IO_COM4 irq 9
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device ppi # Parallel port interface device
# System Management Bus
device smbus # Bus support, required for smb below.
device smb # standard io through /dev/smb*
device intpm # Intel PIIX4 Power Management Unit
# For PnP/PCI sound cards
device pcm
# PCI Ethernet NICs that use the common MII bus controller code.
device miibus # MII bus support
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Pseudo devices
pseudo-device bpf 4 # Berkeley packet filter
pseudo-device ether # Ethernet support
pseudo-device loop # Network loopback
pseudo-device pty 32 # Pseudo-ttys (telnet etc)
pseudo-device snp 4 # "Snoop" devices.
pseudo-device splash # Splash screen/screen saver
[-- Attachment #3 --]
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.2-STABLE #0: Wed Jan 31 04:39:33 EST 2001
root@epsilon.lucida.ca:/usr/src/sys/compile/EPSILON
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (548.32-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x673 Stepping = 3
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 536862720 (524280K bytes)
avail memory = 518512640 (506360K bytes)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "EPSILON" at 0xc032c000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GW graphics accelerator> at 0.0
pcib2: <DEC 21152 PCI-PCI bridge> at device 2.0 on pci0
pci2: <PCI bus> on pcib2
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 19
intpm0: <Intel 82371AB Power management controller> port 0x850-0x85f irq 9 at device 7.3 on pci0
intpm0: I/O mapped 850
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 800
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xd800-0xd8ff mem 0xfc000000-0xfc000fff irq 17 at device 13.0 on pci0
aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xfc001000-0xfc00107f irq 18 at device 14.0 on pci0
xl0: Ethernet address: 00:10:4b:37:e8:75
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <3Dfx model 0009 graphics accelerator> at 17.0 irq 20
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> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
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>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
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
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging disabled
SMP: AP CPU #1 Launched!
acd0: CDROM <SAMSUNG SC-140B> at ata0-master using PIO4
Waiting 2 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM ATLAS V 9 WLS 0201> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <QUANTUM ATLAS_V_18_WLS 0230> Fixed Direct Access SCSI-3 device
da1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 17510MB (35861388 512 byte sectors: 255H 63S/T 2232C)
calcru: negative time of 434 usec for pid 95639 (ld)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0102082302350.33823-300000>
