Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 1999 13:43:26 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "Andy V. Oleynik" <andyo@prime.net.ua>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/12022: System clock timewarps 
Message-ID:  <1047.929619806@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 17 Jun 1999 00:20:02 PDT." <199906170720.AAA28120@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

The TSC doesn't (always) work on K5/model0 I committed a fix for this
to -current recently.

Try to remove/comment out this line in i386/isa/clock.c:

                init_timecounter(&tsc_timecounter);


In message <199906170720.AAA28120@freefall.freebsd.org>, "Andy V. Oleynik" writes:
>The following reply was made to PR kern/12022; it has been noted by GNATS.
>
>From: "Andy V. Oleynik" <andyo@prime.net.ua>
>To: freebsd-gnats-submit@freebsd.org, dwhite@pond.net
>Cc:  
>Subject: Re: kern/12022: System clock timewarps
>Date: Thu, 17 Jun 1999 09:55:20 +0300
>
> I have 2 boxes at work:
> 1. Timecounter "i8254"  frequency 1193182 Hz
>     Timecounter "TSC"  frequency 90040111 Hz
>     CPU: AMD K5 model 0 (90.04-MHz 586-class CPU)
>     Origin = "AuthenticAMD"  Id = 0x501  Stepping=1
>     Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
>     (BIOS reports: AMD-k5-PR90 CPU,
>                                  Award Modular BIOS v4.51PG,
>                                  Award P&P BIOS extension v1.0A,
>                                  M/B 580VPX-ITE8661-2A5LDL1CC-0)
> 2.
>     Sorry, I can't give Timecounters strings 'cos I've removed 3.2-S and
> 
>     installed 2.2.8-R on this PC due the clock bug.
>     CPU: AMD K5 model 0 (74.54-MHz 586-class CPU)
>     Origin = "AuthenticAMD"  Id = 0x501  Stepping=1
>     Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
>     (BIOS reports: AMD-k5-PR75 CPU,
>                                  Award Modular BIOS v4.51PG release
> 03/03/1997S,
>                                  Award P&P BIOS extension v1.0A,
>                                  M/B I430VX-02071997C-00)
> Timecounters on 1st PC:
>     Jun 14 09:58:28 volodya /kernel: Timecounter "i8254"  frequency
> 1193182 Hz
>     Jun 14 09:58:28 volodya /kernel: Timecounter "TSC"  frequency
> 90040208 Hz
>     Jun 14 14:55:40 volodya /kernel: Timecounter "i8254"  frequency
> 1193182 Hz
>     Jun 14 14:55:40 volodya /kernel: Timecounter "TSC"  frequency
> 90040168 Hz
>     Jun 14 14:58:47 volodya /kernel: Timecounter "i8254"  frequency
> 1193182 Hz
>     Jun 14 14:58:47 volodya /kernel: Timecounter "TSC"  frequency
> 90039940 Hz
>     Jun 15 09:20:31 volodya /kernel: Timecounter "i8254"  frequency
> 1193182 Hz
>     Jun 15 09:20:31 volodya /kernel: Timecounter "TSC"  frequency
> 90040205 Hz
>     Jun 15 17:25:56 volodya /kernel: Timecounter "i8254"  frequency
> 1193182 Hz
>     Jun 15 17:25:56 volodya /kernel: Timecounter "TSC"  frequency
> 90039919 Hz
>     Jun 16 09:22:18 volodya /kernel: Timecounter "i8254"  frequency
> 1193182 Hz
>     Jun 16 09:22:18 volodya /kernel: Timecounter "TSC"  frequency
> 90039896 Hz
>     Jun 17 09:46:25 volodya /kernel: Timecounter "i8254"  frequency
> 1193182 Hz
>     Jun 17 09:46:25 volodya /kernel: Timecounter "TSC"  frequency
> 90039989 Hz
>     Jun 17 09:52:11 volodya /kernel: Timecounter "i8254"  frequency
> 1193182 Hz
>     Jun 17 09:52:11 volodya /kernel: Timecounter "TSC"  frequency
> 90040111 Hz
> On both was (on 1st remains) installed 3.2-R upgaded to STABLE.
> Again, kernel clock latancy on both is about 55 min/hour (real 1 hour =
> 5 min on PC).
> APM disabled on both.
> 
> --
> WBW  Andy V. Oleynik
> 
> (prime.net.ua's sysadmin)
> 
> 
> 
> 
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-bugs" in the body of the message
>

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


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




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