<!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">
I found another packaged called devmsr (just development version, not
part of ports yet)<br>
<br>
It is suppose to give an interface of /dev/cpu0/msr<br>
<br>
I installed, and ran x86info and got information back about MSR.<br>
<br>
Here is the output of x86info:<br>
<br>
x86info v1.20.&nbsp; Dave Jones 2001-2006<br>
Feedback to <a class="moz-txt-link-rfc2396E" href="mailto:davej@redhat.com">&lt;davej@redhat.com&gt;</a>.<br>
<br>
Found 1 CPU<br>
--------------------------------------------------------------------------<br>
eax in: 0x00000000, eax = 00000001 ebx = 68747541 ecx = 444d4163 edx =
69746e65<br>
eax in: 0x00000001, eax = 000005a2 ebx = 00000400 ecx = 00000000 edx =
0088a93d<br>
<br>
eax in: 0x80000000, eax = 80000006 ebx = 68747541 ecx = 444d4163 edx =
69746e65<br>
eax in: 0x80000001, eax = 000005a2 ebx = 00000000 ecx = 00000000 edx =
c0c0a13d<br>
eax in: 0x80000002, eax = 646f6547 ebx = 4d542865 ecx = 6e492029 edx =
72676574<br>
eax in: 0x80000003, eax = 64657461 ebx = 6f725020 ecx = 73736563 edx =
6220726f<br>
eax in: 0x80000004, eax = 4d412079 ebx = 43502044 ecx = 00000053 edx =
00000000<br>
eax in: 0x80000005, eax = 00000000 ebx = ff10ff10 ecx = 40100120 edx =
40100120<br>
eax in: 0x80000006, eax = 0000f004 ebx = 00002040 ecx = 00804120 edx =
00000000<br>
<br>
Family: 5 Model: 10 Stepping: 2<br>
CPU Model : Unknown CPU<br>
Processor name string: Geode(TM) Integrated Processor by AMD PCS<br>
<br>
Feature flags:<br>
&nbsp;fpu de pse tsc msr cx8 sep pge cmov clflsh mmx<br>
Extended feature flags:<br>
&nbsp;mmxext 3dnowext 3dnow<br>
MSR: 0xc0000082=0x00000000 : 00000000 00000000 00000000 00000000<br>
Write allocate disabled<br>
Data prefetch disabled.<br>
EWBE mode: strong ordering (slowest performance)<br>
<br>
Instruction TLB: Fully associative. 16 entries.<br>
Data TLB: Fully associative. 16 entries.<br>
L1 Data cache:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size: 64Kb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16-way associative.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lines per tag=1 line size=32 bytes.<br>
L1 Instruction cache:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size: 64Kb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16-way associative.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lines per tag=1 line size=32 bytes.<br>
L2 (on CPU) cache:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size: 128Kb&nbsp;&nbsp;&nbsp;&nbsp; 4-way associative.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lines per tag=1 line size=32 bytes.<br>
<br>
<br>
500MHz processor (estimate).<br>
<br>
So I installed devmsr, and then just changed amd_msr.c to read
/dev/cpu0/msr instead of /dev/cpu/0/msr<br>
<br>
When I ran the driver, without the "NoAccel" set to true, there is NO
complaint about missing MSR info in the log file.<br>
<br>
Then, I commented out the "NoAccel" option, ran the Xorg with the amd
driver, and the desktop is the same.&nbsp; I can see<br>
a cursor jsut fine, and a black background, but the 3 icons on the
desktop are all screwed up.&nbsp; (xfce)<br>
<br>
Then I noticed something that I hadn't before.&nbsp; I was missing xrdb.&nbsp; So
Installed that.<br>
<br>
Then I ran the driver again, and this time the driver locks up on me.<br>
<br>
Is this just coincidental? Could there be something with the RGB
pallette snooping (sorry if that's the wrong term) that<br>
could be making problems?<br>
<br>
Also, I'm not 100% that the amd_msr.c is reading the MSR correctly.&nbsp;
Maybe it is, I'm not sure though.<br>
<br>
Just because there is no error in the log that says that MSR isn't
opened, doesn't mean it's getting read correctly.<br>
<br>
Can anyone tell from my log file?<br>
<br>
Larry<br>
Larry<br>
<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>