Re: clock works slowly when I change CPU speed

From: MATOBA Hirozumi <matoba_at_st.rim.or.jp>
Date: Fri, 15 Aug 2003 07:24:59 +0900 (JST)
 On Thu, 2003-08-14 at 19:50, Nate Lawson wrote:
> This indicates that the problem was introduced in a kernel change between
> Aug 2 and Aug 9 and that acpi is not at fault.  Try searching the cvs-all
> archives between those dates (and perhaps narrowing the date more).

I misunderstand Nate Lawson's words at the first time I read, 
but he said about the cvs-all *mailing-list* archive. 
And I found the mail about keyword "clock" in it. 

I will try going back to before this change (by using cvsup etc). 

>> Message-Id: <200308061505.h76F5Sih048392_at_repoman.freebsd.org>
>> From: Poul-Henning Kamp <phk_at_FreeBSD.org>
>> Date: Wed, 6 Aug 2003 08:05:28 -0700 (PDT)
>> To: src-committers_at_FreeBSD.org, cvs-src_at_FreeBSD.org,
>>         cvs-all_at_FreeBSD.org
>> X-FreeBSD-CVS-Branch: HEAD
>> Subject: cvs commit: src/sys/i386/i386 tsc.c src/sys/i386/include clock.h
>>  src/sys/i386/isa clock.c
>> 
>> phk         2003/08/06 08:05:28 PDT
>> 
>>   FreeBSD src repository
>> 
>>   Modified files:
>>     sys/i386/i386        tsc.c 
>>     sys/i386/include     clock.h 
>>     sys/i386/isa         clock.c 
>>   Log:
>>   Dont initialize a TSC timecounter until we know if it is broken or not.
>>   
>>   Revision  Changes    Path
>>   1.201     +6 -0      src/sys/i386/i386/tsc.c
>>   1.45      +1 -0      src/sys/i386/include/clock.h
>>   1.201     +1 -0      src/sys/i386/isa/clock.c

 From: Bob Fleck <bob_at_securesoftware.com>
 Date: Thu, 14 Aug 2003 21:31:13 +0000
| In addition, I had one weird instance where the clock did the opposite
| and increased the speed by the same ratio.  I haven't been able to
| reproduce this yet.  (Maybe starting the system in a lower CPU speed
| setting and then stepping up would cause it.  I will test this.)

I met like as above (but I did not record it in details), 
On BIOS setting of "POWER" (maybe this means APM setting), 
CPU speed setting is "fixed maximum" now on my ThinkPad A22e, 
so booting message of FreeBSD says CPU MHz as maximum speed. 
But when I set temporarily BIOS CPU speed as "medium" or something like that, 
booting message of FreeBSD said CPU MHz as half of maximum speed, 
and snd_ich said "link rate" as *half* of normal frequency. 
    (note that when clock works slowly, 
     snd_ich says "link rate" as *double* of normal frequenccy)

| Let me know if you want me try anything or pass along configuration
| information.

Thank you, but would you wait for my trial of above files about clock?
I will try it at this night JST :-)

-- 
matoba_at_st.rim.or.jp
Received on Thu Aug 14 2003 - 13:25:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:18 UTC