<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi, in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076924#M5426</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;building PCM_Win (pcm.exe) from last version of Intel PCM (ver 2.11) it does not show any issue anymore.&lt;/P&gt;

&lt;P&gt;Maybe some bug has been fixed :-)&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2016 13:31:22 GMT</pubDate>
    <dc:creator>cianfa72</dc:creator>
    <dc:date>2016-04-22T13:31:22Z</dc:date>
    <item>
      <title>Intel PCM v2.10 Windows BSOD</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076919#M5421</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've download Intel PCM v2.10 and built PCM_Win + WinMSRDriver for Win 7 using MS VS Express 2013 IDE.&lt;/P&gt;

&lt;P&gt;The build process complete without any errors or warnings, but trying to execute pcm.exe (with Administrator privileges) results in Windows BSOD (Blue Screen of Dead). pcm.exe and msr.sys driver belong to the same folder.&lt;/P&gt;

&lt;P&gt;Reading (using WinDBG) the minidump generated upon BSOD it seems the culprit is an Access violation due to the execution of rdmsr into msrmain.c deviceControl()&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;1: kd&amp;gt; g
Access violation - code c0000005 (!!! second chance !!!)
msr!deviceControl+0x224:
94cc92a4 0f32            rdmsr&lt;/PRE&gt;

&lt;P&gt;Note that pcm.exe built from the previous version (v 2.9) works without any problem using the same driver (msr.sys)&lt;/P&gt;

&lt;P&gt;Could you help me ? Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 09:29:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076919#M5421</guid>
      <dc:creator>cianfa72</dc:creator>
      <dc:date>2016-04-06T09:29:09Z</dc:date>
    </item>
    <item>
      <title>I think that "Access</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076920#M5422</link>
      <description>&lt;P&gt;I think that "Access violation" exception is misleading. On the other hand I think that, msr!deviceControl address space should be checked to see if it resides in ring 0.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 12:44:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076920#M5422</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2016-04-11T12:44:33Z</dc:date>
    </item>
    <item>
      <title>Thanks for replay</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076921#M5423</link>
      <description>&lt;P&gt;Thanks for replay !&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;msr!deviceControl address space should be checked to see if it resides in ring 0.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;how can I check that running Win 7 target under WinDBG control ?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 13:16:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076921#M5423</guid>
      <dc:creator>cianfa72</dc:creator>
      <dc:date>2016-04-11T13:16:59Z</dc:date>
    </item>
    <item>
      <title>You can use full or kernel</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076922#M5424</link>
      <description>&lt;P&gt;You can use full or kernel dump file and inspect memory addresses &amp;nbsp;range. In addition to that you can issue this command llvm and look for msr!* module address range. You can also issue this command !address&amp;nbsp;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px; background-color: rgb(248, 248, 248);"&gt;94cc92a4 and see which description windbg returned.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 08:10:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076922#M5424</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2016-04-13T08:10:26Z</dc:date>
    </item>
    <item>
      <title>You can also issue this</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076923#M5425</link>
      <description>&lt;BLOCKQUOTE&gt;
	&lt;P&gt;You can also issue this command !address&amp;nbsp;94cc92a4 and see which description windbg returned.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;here what I get running Intel PCM v2.10 into a Win 7 target under the control on WinDBG (basically Win 7 target runs into a VM hosted by VirtualBox)&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;0: kd&amp;gt; 
Access violation - code c0000005 (!!! second chance !!!)
msr!deviceControl+0x224:
94b4d2a4 0f32            rdmsr


0: kd&amp;gt; r
eax=00000000 ebx=00000000 ecx=00000c8f edx=00000000 esi=84420030 edi=8438ef10
eip=94b4d2a4 esp=94c8bab0 ebp=94c8bafc iopl=0         nv up ei pl zr na pe nc
cs=0008  ss=0010  ds=0023  es=0023  fs=0030  gs=0000             efl=00010346
msr!deviceControl+0x224:
94b4d2a4 0f32            rdmsr

0: kd&amp;gt; lmv a msr
start    end        module name
94b49000 94b50000   msr        (private pdb symbols)  C:\Users\20144620\Documents\Visual Studio 2013\Projects\WinMSRDriver\Win7\Win7Debug\x86\msr.pdb
    Loaded symbol image file: msr.sys
    Image path: msr.sys
    Image name: msr.sys
    Timestamp:        Thu Oct 22 16:38:38 2015 (5628F4EE)
    CheckSum:         00003D95
    ImageSize:        00007000
    Translations:     0000.04b0 0000.04e4 0409.04b0 0409.04e4
	
0: kd&amp;gt; !address 94b4d2a4

Usage:                  Module
Base Address:           94b49000
End Address:            94b50000
Region Size:            00007000
VA Type:                DriverImages
Module name:            msr.sys
Module path:            [\??\C:\msr.sys]
0: kd&amp;gt; lmv a msr
start    end        module name
94b49000 94b50000   msr        (private pdb symbols)  C:\Users\20144620\Documents\Visual Studio 2013\Projects\WinMSRDriver\Win7\Win7Debug\x86\msr.pdb
    Loaded symbol image file: msr.sys
    Image path: msr.sys
    Image name: msr.sys
    Timestamp:        Thu Oct 22 16:38:38 2015 (5628F4EE)
    CheckSum:         00003D95
    ImageSize:        00007000
    Translations:     0000.04b0 0000.04e4 0409.04b0 0409.04e4&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:06:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076923#M5425</guid>
      <dc:creator>cianfa72</dc:creator>
      <dc:date>2016-04-13T15:06:05Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076924#M5426</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;building PCM_Win (pcm.exe) from last version of Intel PCM (ver 2.11) it does not show any issue anymore.&lt;/P&gt;

&lt;P&gt;Maybe some bug has been fixed :-)&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:31:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076924#M5426</guid>
      <dc:creator>cianfa72</dc:creator>
      <dc:date>2016-04-22T13:31:22Z</dc:date>
    </item>
    <item>
      <title>Great to hear that PCM works</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076925#M5427</link>
      <description>&lt;P&gt;Great to hear that PCM works again. Thanks a lot for reporting this.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 09:45:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-v2-10-Windows-BSOD/m-p/1076925#M5427</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2016-04-25T09:45:15Z</dc:date>
    </item>
  </channel>
</rss>

