<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Turns out I'm not getting the MSR information...<br>
<br>
I installed the devcpu package, but getting the MSR info is a little
different in FreeBSD than linux.<br>
<br>
I can see /dev/cpu just fine, but there is no device for MSR (like
/dev/cpu/msr...)<br>
<br>
The doc's for the helper tool x86info says that MSR drivers must be
included in the kernel, or loaded as a kernel module.<br>
<br>
I did that with devcpu, but I dont' see any MSR pseudo device.<br>
<br>
I think the only way to read and write the MSR data is to use IOCTL in
FreeBSD....<br>
<br>
In amd_msr.c, the calls to get the MSR data is a nice easy file
open. <br>
<br>
I think I"m gonna have to re-write the amd_msr.c for FreeBSD, or just
add a new file and if_def the build.<br>
<br>
If I get MSR working in FreeBSD, what does that give us? What register
information is needed to be read and set? A whole bunch of "stuff" ? :)<br>
<br>
Larry<br>
<br>
Jordan Crouse wrote:
<blockquote cite="mid20071220190938.GA8453@cosmic.amd.com" type="cite">
<pre wrap="">On 20/12/07 11:02 -0800, Larry Maloney wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I found the following software in the ports collection for FreeBSD:
<a class="moz-txt-link-freetext" href="http://www.freebsd.org/cgi/url.cgi?ports/sysutils/devcpu/pkg-descr">http://www.freebsd.org/cgi/url.cgi?ports/sysutils/devcpu/pkg-descr</a>
Will that give us the MSR's we need?
</pre>
</blockquote>
<pre wrap=""><!---->
That will - but it might be cumbersome for people to install. We need
to figure out if there is a way to make BSD work out of the box.
</pre>
<blockquote type="cite">
<pre wrap="">I guess the GEODE doesn't' use an AMD64 instruction set...?
</pre>
</blockquote>
<pre wrap=""><!---->
Nope - its all 32 bits.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
==============================
Larry P. Maloney
CEO/CTO SoftNet Solutions
Phone: 650-669-1942
Web: <a class="moz-txt-link-abbreviated" href="http://www.softnetsolution.com">www.softnetsolution.com</a></pre>
</body>
</html>