<?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 Edigley, in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115954#M1427</link>
    <description>&lt;P&gt;Hi Edigley,&lt;/P&gt;

&lt;P&gt;error 16385 is 0x4001 in hex, which corresponds to &lt;STRONG&gt;SGX_ERROR_SERVICE_UNAVAILABLE&lt;/STRONG&gt;. This suggests that the platform services are not running on their Linux system. From the SDK documentation:&lt;/P&gt;

&lt;P&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;SGX_ERROR_SERVICE_UNAVAILABLE :&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;sgx_create_enclave()&amp;nbsp;needs the AE service to get a launch token. If the service is not available, the enclave may not be launched.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;There is documentation for the Linux SDK here:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-developer-reference" style="font-size: 1em; line-height: 1.5;"&gt;https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-developer-reference&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks and Regards,&lt;/P&gt;

&lt;P&gt;Surenthar Selvaraj&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2016 04:11:26 GMT</pubDate>
    <dc:creator>Surenthar_S_Intel</dc:creator>
    <dc:date>2016-07-07T04:11:26Z</dc:date>
    <item>
      <title>Error code 16385 when creating an enclave</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115952#M1425</link>
      <description>&lt;P&gt;When running the example in&amp;nbsp;SampleCode/LocalAttestation as suggested in &lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=https://github.com/01org/linux-sgx&amp;amp;source=gmail&amp;amp;ust=1467498282706000&amp;amp;usg=AFQjCNEaN_GRj9PYxb6gY4KHSGl8SuPjTA" href="https://github.com/01org/linux-sgx" target="_blank"&gt;&lt;/A&gt;&lt;A href="https://github.com/01org/" target="_blank"&gt;https://github.com/01org/&lt;/A&gt;&lt;WBR /&gt;linux-sgx I came across with the following error:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;root@aca6aa8f028f:/tmp/LocalAttestation# ./app&lt;/P&gt;

	&lt;P&gt;Load Enclave Failure&lt;BR /&gt;
		Avaliable Enclaves&lt;BR /&gt;
		Enclave1 - EnclaveID 0&lt;BR /&gt;
		Enclave2 - EnclaveID 0&lt;BR /&gt;
		Enclave3 - EnclaveID 0Enclave1_test_create_session Ecall failed: Error code is 2002&lt;/P&gt;

	&lt;P&gt;Hit a key....&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;When inspecting the code in SampleCode/LocalAttestation/App/App.cpp, the following line is returning the code &lt;B&gt;16385&lt;/B&gt; as error code.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;sgx_create_enclave(ENCLAVE1_PATH, SGX_DEBUG_FLAG, &amp;amp;launch_token, &amp;amp;launch_token_updated, &amp;amp;e1_enclave_id, NULL );&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;What does this code mean? I've installed everything (sgx-drive/PSW/SDK) without problem.&lt;/P&gt;

&lt;P&gt;PS: Is there any documentation where I can found all the error codes when dealing with SGX Application deployment?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 22:31:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115952#M1425</guid>
      <dc:creator>edigley_f_</dc:creator>
      <dc:date>2016-07-01T22:31:27Z</dc:date>
    </item>
    <item>
      <title>The documentation is hosted</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115953#M1426</link>
      <description>&lt;P&gt;The documentation is hosted on the 01.org page.&amp;nbsp;On &lt;A href="https://github.com/01org/linux-sgx"&gt;https://github.com/01org/linux-sgx&lt;/A&gt; , there is a "Documentation" section that contains a link to &lt;A href="https://01.org/intel-softwareguard-extensions"&gt;https://01.org/intel-softwareguard-extensions&lt;/A&gt;. On that site, you can find the developer reference ( &lt;A href="https://01.org/sites/default/files/documentation/intel_sgx_sdk_developer_reference_for_linux_os_pdf.pdf"&gt;https://01.org/sites/default/files/documentation/intel_sgx_sdk_developer_reference_for_linux_os_pdf.pdf&lt;/A&gt; ) under the "Documentation" tab.&lt;/P&gt;

&lt;P&gt;Looking at the error codes, 0x4001, means "AE service did not respond or the requested service is not supported.".&amp;nbsp; I would check that the AE service is indeed running and the driver is loaded.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 15:59:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115953#M1426</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2016-07-06T15:59:58Z</dc:date>
    </item>
    <item>
      <title>Hi Edigley,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115954#M1427</link>
      <description>&lt;P&gt;Hi Edigley,&lt;/P&gt;

&lt;P&gt;error 16385 is 0x4001 in hex, which corresponds to &lt;STRONG&gt;SGX_ERROR_SERVICE_UNAVAILABLE&lt;/STRONG&gt;. This suggests that the platform services are not running on their Linux system. From the SDK documentation:&lt;/P&gt;

&lt;P&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;SGX_ERROR_SERVICE_UNAVAILABLE :&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;sgx_create_enclave()&amp;nbsp;needs the AE service to get a launch token. If the service is not available, the enclave may not be launched.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;There is documentation for the Linux SDK here:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-developer-reference" style="font-size: 1em; line-height: 1.5;"&gt;https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-developer-reference&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks and Regards,&lt;/P&gt;

&lt;P&gt;Surenthar Selvaraj&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 04:11:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115954#M1427</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-07-07T04:11:26Z</dc:date>
    </item>
    <item>
      <title>I have the same error the run</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115955#M1428</link>
      <description>&lt;P&gt;I have the same error the&amp;nbsp;&lt;SPAN style="color: rgb(36, 41, 46); 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;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px;"&gt;run&amp;nbsp; in Simulation mode works well but in hardware mode i have the same error.&lt;BR /&gt;
	How you fixed that error?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 18:29:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Error-code-16385-when-creating-an-enclave/m-p/1115955#M1428</guid>
      <dc:creator>George_M_1</dc:creator>
      <dc:date>2017-10-29T18:29:27Z</dc:date>
    </item>
  </channel>
</rss>

