NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/44227: 5.99.25 misdects CPU frequency



>Number:         44227
>Category:       kern
>Synopsis:       5.99.25 misdects CPU frequency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 12 23:10:00 +0000 2010
>Originator:     Arnaud Lacombe
>Release:        5.99.25
>Organization:
n/a
>Environment:
-
>Description:
From http://mail-index.netbsd.org/current-users/2010/04/17/msg013120.htm, dmesg 
says:

NetBSD 5.99.13 (GENERIC) #14: Sun Jun 21 22:34:42 EDT 2009
        al@nybbas:/nbsd/src/build/obj/sys/arch/i386/compile/GENERIC
total memory = 3037 MB
avail memory = 2977 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
LENOVO.                        2743CTO (ThinkPad SL400)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1795MHz, id 0x6fd
cpu1 at mainbus0 apid 1: Intel 686-class, 1795MHz, id 0x6fd

5.99.25 says:

NetBSD 5.99.25 (GENERIC) #0: Tue Apr 27 22:29:06 EDT 2010
        al@nybbas:/nbsd/src/build/obj/sys/arch/i386/compile/GENERIC
total memory = 3037 MB
avail memory = 2977 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
LENOVO.                        2743CTO (ThinkPad SL400)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2154MHz, id 0x6fd
cpu1 at mainbus0 apid 1: Intel 686-class, 2154MHz, id 0x6fd

The CPU frequency is wrong is the second case. I cannot say right now whether 
or not 5.99.41 gets the correct answer.

This may be responsible of the ~16% time drift I'm seeing sometime with 
5.99.25. The error between the 2 frequencies is the same ratio, ~16%.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index