Re: cpuinfo shows wrong MHz value
From: Thomas Renninger
Date: Mon Feb 16 2009 - 09:20:21 EST
Frans Pop <elendil <at> planet.nl> writes:
>
> On Sunday 15 February 2009, Joerg Platte wrote:
> > Looks like p4_clockmod is responsible for these high values. After
> > removing it /proc/cpuinfo shows the correct values:
>
> Can you check whether or not you were also using p4-clockmode with the
> last kernel that did show correct values? The same grep command should
> show this.
>
> It would also help to know which kernel version was the last working one.
> You mentioned 2.6.26, but with some uncertainty. Can you check for 2.6.26
> and possibly for 2.6.27?
>
> Note that p4-clockmode does not really help with power saving, but only
> with thermal management (prevention of overheating).
Right and if, this should not be done via p4_clockmod, but via ACPI throttling
interface. In fact it could be that latest enhancements in the ACPI throttling
area could interfere with the p4_clockmode driver.
> Possibly the
> speedstep or acpi-cpufreq modules will work better for you, but it can
> also be they don't support your processor.
> That does not mean this issue should not be looked into of course.
IMO it's not worth looking into.
The p4_clockmode driver is broken by design (as ACPI can interfere with it).
I submitted a patch to remove it a while ago. The only reason it did not happen,
where some people who had broken HW (e.g. fan or whatever) the machine did not
shut down due to thermal overheating by using it.
There should be a message when this driver is loaded like:
"This driver is broken. Don't use it, don't complain."
Instead of:
printk(KERN_WARNING PFX "Unknown p4-clockmod-capable CPU. "
"Please send an e-mail to <cpufreq@xxxxxxxxxxxxxxx>\n");
I will send a patch to the cpufreq list doing that, soon.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/