Write to unrecognized MSR on Linux 5.9

See original GitHub issue

I recently updated to kernel 5.9 and started seeing the kernel log this, seems to be caused by throttled:

[  140.603433] msr: Write to unrecognized MSR 0x1a2 by python3
               Please report to x86@kernel.org
[  140.603516] msr: Write to unrecognized MSR 0x64b by python3
               Please report to x86@kernel.org

The article here seems to suggest these logs are just for information purposes and there shouldn’t be any impact on userspace programs. Nevertheless, I wanted to open this issue for tracking this and maybe putting something in the README.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:25
  • Comments:31 (7 by maintainers)

github_iconTop GitHub Comments

16reactions
eXt73commented, Oct 12, 2020

You have to add this to grub:

GRUB_CMDLINE_LINUX=“msr.allow_writes=on”

and update grub 😉

10reactions
bp3tk0vcommented, Oct 21, 2020

This tool started just as a simple way “to fix my own pc”. I agree with you that the right decision would be to use specific sysfs instead of raw MSRs. I would be very glad to upgrade this tool if you are going to help us by submitting the required patches for the kernel.

Cool, I’d be glad to.

So how about you send a mail to x86-at-kernel.org (replace the “-at-” with you know what 😃) with what exactly you’d like to read out/program from/to which MSRs and I’ll CC the relevant people and we’ll start the ball rolling. From initial staring, some of the info you need we export already - it’ll just need to be extended/designed properly so yours and other tools can use it too.

Thx.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1907082 – msr: Write to unrecognized MSR 0x49 by perl
Description of problem: msr: Write to unrecognized MSR 0x49 by perl Version-Release number of selected component (if applicable): Linux knut ...
Read more >
Linux To Begin Tightening Up Ability To Write To ... - Phoronix
The Linux 5.9 kernel is slated to begin introducing new restrictions on allowing writes to CPU model specific registers (MSRs) from ...
Read more >
FS#68321 : [linux] msr spam in dmesg after upgrading to v5.9.1
After upgrading to 5.9.1.arch1-1, I'm being spammed by the msr module every five seconds: [ 1184.272750] msr: Write to unrecognized MSR 0x1a2 by...
Read more >
PSA: Kernel 5.9 and undervolting (with MSR) : r/pop_os - Reddit
kernel: msr: Write to unrecognized MSR 0x150 by wrmsr Please report to x86@kernel.org ... T470p undervolting (linux).
Read more >
x86: report: write to unrecognized MSR - kernel
linux -kernel.vger.kernel.org archive mirror · help / color / mirror / Atom feed. * x86: report: write to unrecognized MSR @ 2021-04-12 22:09...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found