Re: warning CPU frequency...
- From: Bill Marcum <marcumbill@xxxxxxxxxxxxx>
- Date: Thu, 21 Jun 2007 12:04:56 GMT
On Thu, 21 Jun 2007 17:28:45 +0900, google-rambo88
<rambo88@xxxxxxxxx> wrote:
Try a newer version of Fedora Core, or ignore it. It's just a warning.
Hi,
I installed fedora core 3 at my embedded board... I got warning message
as follows..
Warning : CPU frequence is 7980000,cpufreq assumed 731000 KHz
Warning : CPU frequence is 7980000,cpufreq assumed 665000 KHz
Warning : CPU frequence is 7980000,cpufreq assumed 598000 KHz
.
, .
I don't know why I got this kind of warning messages? what's wrong?
How can I fix it?
I searched kernel source /usr/src/linux/driver/cpufreq.c where the
message coming out.
I don't know the meaning of the code? Does anyone explain this code?
/**
* cpufreq_notify_transition - call notifier chain and adjust_jiffies on
frequency transition
*
* This function calls the transition notifiers and the "adjust_jiffies"
function. It is called
* twice on all CPU frequency changes that have external effects.
*/
void cpufreq_notify_transition(struct cpufreq_freqs *freqs, unsigned int
state)
{
BUG_ON(irqs_disabled());
freqs->flags = cpufreq_driver->flags;
down_read(&cpufreq_notifier_rwsem);
switch (state) {
case CPUFREQ_PRECHANGE:
/* detect if the driver reported a value as "old
frequency" which
* is not equal to what the cpufreq core thinks
is "old frequency".
*/
if (!(cpufreq_driver->flags & CPUFREQ_CONST_LOOPS)) {
if ((likely(cpufreq_cpu_data[freqs->cpu])) &&
(likely(cpufreq_cpu_data[freqs->cpu]->cur)) && (unlikely(freqs->old !=
cpufreq_cpu_data[freqs->cpu]->cur)))
{
printk(KERN_WARNING "Warning: CPU frequency is %u,
"
"cpufreq assumed %u kHz.\n", freqs->old,
cpufreq_cpu_data[freqs->cpu]->cur);
freqs->old = cpufreq_cpu_data[freqs->cpu]->cur;
}
}
notifier_call_chain(&cpufreq_transition_notifier_list,
CPUFREQ_PRECHANGE, freqs);
adjust_jiffies(CPUFREQ_PRECHANGE, freqs);
break;
case CPUFREQ_POSTCHANGE:
adjust_jiffies(CPUFREQ_POSTCHANGE, freqs);
notifier_call_chain(&cpufreq_transition_notifier_list,
CPUFREQ_POSTCHANGE, freqs);
if (likely(cpufreq_cpu_data[freqs->cpu]))
cpufreq_cpu_data[freqs->cpu]->cur = freqs->new;
break;
}
up_read(&cpufreq_notifier_rwsem);
}
EXPORT_SYMBOL_GPL(cpufreq_notify_transition);
I can see following CPU infomation by runing "cat /proc/cpuinfo"
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 9
model name : VIA Nehemiah
stepping : 10
cpu MHz : 532.242
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr cx8 mtrr pge cmov pat mmx
fxsr sse rng rng_en ace ace_en
bogomips : 1045.84
Thanks...
--
We are so fond of each other because our ailments are the same.
-- Jonathan Swift
.
- References:
- warning CPU frequency...
- From: google-rambo88
- warning CPU frequency...
- Prev by Date: Re: High-performance 2D vector graphics library for Linux and OS X
- Next by Date: Re: Writing in .text section
- Previous by thread: warning CPU frequency...
- Next by thread: Re: CVS fetch the branch name with a tag name
- Index(es):
Relevant Pages
|
|