Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401061 - sys-apps/msr-tools - read and write MSRs (machine specific registers) of the CPU
Summary: sys-apps/msr-tools - read and write MSRs (machine specific registers) of the CPU
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Michael Palimaka (kensington)
URL: http://www.kernel.org/pub/linux/utils...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2012-01-27 17:44 UTC by haarp
Modified: 2012-12-11 18:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-apps/msr-tools-1.2 (msr-tools-1.2.ebuild,536 bytes, text/plain)
2012-11-10 20:13 UTC, haarp
Details
sys-apps/msr-tools-1.2 update (msr-tools-1.2.ebuild,680 bytes, text/plain)
2012-11-10 20:21 UTC, haarp
Details
sys-apps/msr-tools-1.2 update2 (msr-tools-1.2.ebuild,824 bytes, text/plain)
2012-11-10 21:01 UTC, haarp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description haarp 2012-01-27 17:44:06 UTC
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.
Comment 1 haarp 2012-01-27 17:46:18 UTC
The debian package of these tools also added manpages:
http://packages.debian.org/search?keywords=msr-tools
Comment 2 haarp 2012-02-15 12:53:16 UTC
Some mirrors also offer v1.2. I don't get why the kernel.org one doesn't though.
Comment 3 haarp 2012-09-13 07:09:54 UTC
postinst should probably mention that CONFIG_X86_MSR needs to be enabled (and the module loaded if applicable) to use these tools.
Comment 4 haarp 2012-11-10 20:13:29 UTC
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.
Comment 5 haarp 2012-11-10 20:21:48 UTC
Created attachment 329142 [details]
sys-apps/msr-tools-1.2 update

update with elog section
Comment 6 haarp 2012-11-10 21:01:22 UTC
Created attachment 329144 [details]
sys-apps/msr-tools-1.2 update2

Added Debian manpages. It's probably not the right way to do it.
Comment 7 haarp 2012-11-10 21:35:51 UTC
I think due to the small sizes of those manpages they'd be better off inside the tree.
Comment 8 Nathan Shearer 2012-12-11 16:06:24 UTC
My laptop becomes very unusable due to CPU throttling. The sooner this can make it into portage the better ^_^
Comment 9 Michael Palimaka (kensington) gentoo-dev 2012-12-11 16:35:34 UTC
(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
Comment 10 Michael Palimaka (kensington) gentoo-dev 2012-12-11 16:42:35 UTC
On closer inspection, the git repo 1.2 tag is identical to the tarball contents, so that won't be a problem.
Comment 11 Michael Palimaka (kensington) gentoo-dev 2012-12-11 17:26:25 UTC
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>.
Comment 12 Julian Ospald 2012-12-11 17:44:39 UTC
are the preprocessor flags overwritten on purpose?
Comment 13 Michael Palimaka (kensington) gentoo-dev 2012-12-11 18:03:35 UTC
(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.