lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:  <loom.20090216T141158-818@post.gmane.org>
Date:	Mon, 16 Feb 2009 14:19:50 +0000 (UTC)
From:	Thomas Renninger <trenn@...e.de>
To:	linux-kernel@...r.kernel.org
Subject:  Re: cpuinfo shows wrong MHz value

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@...r.kernel.org>\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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ