<?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 Re: Re:Returns SGX_ERROR_MODE_INCOMPATIBLE in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1197496#M3860</link>
    <description>&lt;P&gt;Thanks JesusG. It worked &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Aug 2020 06:14:26 GMT</pubDate>
    <dc:creator>k__balaganapathy</dc:creator>
    <dc:date>2020-08-05T06:14:26Z</dc:date>
    <item>
      <title>Returns SGX_ERROR_MODE_INCOMPATIBLE</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1196062#M3849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I'm trying out this example&amp;nbsp;&lt;A href="https://github.com/intel/sgx-ra-sample" target="_blank"&gt;https://github.com/intel/sgx-ra-sample&lt;/A&gt;. I tried to build the client in simulation mode using the configure option&amp;nbsp;&lt;SPAN&gt;--enable-sgx-simulation.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;./configure --with-openssldir=/opt/openssl/1.1.0i&amp;nbsp;&lt;SPAN&gt;--enable-sgx-simulation&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when i run the client, i get the output as:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sgx_create_enclave: trusted_enclave_signed.so: 0000200e&lt;/LI-CODE&gt;
&lt;P&gt;I looked into the doc and found out that the error&amp;nbsp;&lt;SPAN&gt;0x200e means&amp;nbsp;SGX_ERROR_MODE_INCOMPATIBLE which is caused when the target enclave 32/64 bit mode or sim/hw mode is incompatible with the mode of current uRTS.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can anyone help me resolve this? &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 15:15:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1196062#M3849</guid>
      <dc:creator>k__balaganapathy</dc:creator>
      <dc:date>2020-07-30T15:15:29Z</dc:date>
    </item>
    <item>
      <title>Re:Returns SGX_ERROR_MODE_INCOMPATIBLE</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1196429#M3850</link>
      <description>&lt;P&gt;Hello Bala, we are looking into your issue. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that running the sample in simulation mode will fail the attestation, as explained on the webpage: "Note that Remote Attestation will fail for clients running in simulation mode, as this mode has no hardware protection.&lt;SPAN style="font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Jul 2020 18:31:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1196429#M3850</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-07-31T18:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Returns SGX_ERROR_MODE_INCOMPATIBLE</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1196705#M3853</link>
      <description>&lt;P&gt;Hi JesusG, I'm aware&amp;nbsp;&lt;SPAN&gt;that Remote Attestation will fail for clients running in simulation mode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I just wanted to know why its returning this error&amp;nbsp;&lt;SPAN&gt;SGX_ERROR_MODE_INCOMPATIBLE.&amp;nbsp; I've attached the generated make file below. I guess its linking again the right sim libs (sgx_trts_sim, sgx_tservice_sim, sgx_urts_sim, sgx_uae_service_sim).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2020 16:42:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1196705#M3853</guid>
      <dc:creator>k__balaganapathy</dc:creator>
      <dc:date>2020-08-02T16:42:10Z</dc:date>
    </item>
    <item>
      <title>Re:Returns SGX_ERROR_MODE_INCOMPATIBLE</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1197334#M3858</link>
      <description>&lt;P&gt;Hello Bala,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We found a bug in the sample and a temporary workaround that will get you past the simulation mode issue. This is not a permanent fix so you will have to revert the file to the original when you are not running in simulation mode.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Make the following changes in &lt;B&gt;sgx_stub.c&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;line 176: &lt;/B&gt;replace "libsgx_uae_service.so" with "libsgx_uae_service_sim.so"&lt;/P&gt;&lt;P&gt;line 190: replace ""libsgx_urts.so" with ""libsgx_urts_sim.so"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Then you can run:&lt;/P&gt;&lt;P&gt;source /opt/intel/sgxsdk/environment&lt;/P&gt;&lt;P&gt;make clean&lt;/P&gt;&lt;P&gt;make&lt;/P&gt;&lt;P&gt;./run-client&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Aug 2020 17:39:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1197334#M3858</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-08-04T17:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Returns SGX_ERROR_MODE_INCOMPATIBLE</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1197496#M3860</link>
      <description>&lt;P&gt;Thanks JesusG. It worked &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 06:14:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1197496#M3860</guid>
      <dc:creator>k__balaganapathy</dc:creator>
      <dc:date>2020-08-05T06:14:26Z</dc:date>
    </item>
    <item>
      <title>Re:Returns SGX_ERROR_MODE_INCOMPATIBLE</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1197692#M3862</link>
      <description>&lt;P&gt;&lt;B&gt;This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Aug 2020 16:30:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returns-SGX-ERROR-MODE-INCOMPATIBLE/m-p/1197692#M3862</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-08-05T16:30:20Z</dc:date>
    </item>
  </channel>
</rss>

