You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
A Debian user reported the following error: running "rdmsr MSR_K8_TOP_MEM2" doesn't return an error. Instead, it returned "0" for him, and on my system it returns "ff". Both of these could be plausible answers.
Instead, rdmsr should probably return an error when strtoul() returns MSR 0. According to an MSR data sheet that I found at http://www.cs.inf.ethz.ch/stricker/lab/doc/intel-part4.pdf , MSR 0 seems to only be available on original Pentium chips. Given that it's been almost 20 years since Pentium II was released, I'm hoping that it's safe to assume that a user asking for MSR 0 is an error. Likewise, similar behavior should probabably be done for wrmsr - returning an error when attempting to write to MSR 0.
A Debian user reported the following error: running "rdmsr MSR_K8_TOP_MEM2" doesn't return an error. Instead, it returned "0" for him, and on my system it returns "ff". Both of these could be plausible answers.
Instead, rdmsr should probably return an error when strtoul() returns MSR 0. According to an MSR data sheet that I found at http://www.cs.inf.ethz.ch/stricker/lab/doc/intel-part4.pdf , MSR 0 seems to only be available on original Pentium chips. Given that it's been almost 20 years since Pentium II was released, I'm hoping that it's safe to assume that a user asking for MSR 0 is an error. Likewise, similar behavior should probabably be done for wrmsr - returning an error when attempting to write to MSR 0.
Here's the original Debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790075
The text was updated successfully, but these errors were encountered: