kernel.org's very own msr-tools allows userspace to read and write MSRs (machine specific registers) of the CPU. Nifty for debugging or overclocking Intel Extreme CPUs.
The debian package of these tools also added manpages: http://packages.debian.org/search?keywords=msr-tools
Some mirrors also offer v1.2. I don't get why the kernel.org one doesn't though.
postinst should probably mention that CONFIG_X86_MSR needs to be enabled (and the module loaded if applicable) to use these tools.
Created attachment 329140 [details] sys-apps/msr-tools-1.2 Made an ebuild. Not sure if or how I could grab the manpages from Debian, though.
Created attachment 329142 [details] sys-apps/msr-tools-1.2 update update with elog section
Created attachment 329144 [details] sys-apps/msr-tools-1.2 update2 Added Debian manpages. It's probably not the right way to do it.
I think due to the small sizes of those manpages they'd be better off inside the tree.
My laptop becomes very unusable due to CPU throttling. The sooner this can make it into portage the better ^_^
(In reply to comment #2) > Some mirrors also offer v1.2. I don't get why the kernel.org one doesn't > though. The GPG key signing 1.2 has been revoked, so while I would like to add this package, I am not comfortable using 1.2 until it returns to kernel.org
On closer inspection, the git repo 1.2 tag is identical to the tarball contents, so that won't be a problem.
Thanks, this is now in portage. + 11 Dec 2012; Michael Palimaka <kensington@gentoo.org> +metadata.xml, + +msr-tools-1.2.ebuild: + New package wrt bug #401061, based on work by haarp <liquitsnake@gmx.net>.
are the preprocessor flags overwritten on purpose?
(In reply to comment #12) > are the preprocessor flags overwritten on purpose? It is my understanding they are not really relevant on a modern system.