Giter Club home page Giter Club logo

dynamic-application-loader-host-interface's Introduction

DISCONTINUATION OF PROJECT

This project will no longer be maintained by Intel.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.

Contact: [email protected]

dynamic-application-loader-host-interface's People

Contributors

haimmousanintel avatar jlahav avatar rdower avatar yaelsm avatar yasminkahlon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynamic-application-loader-host-interface's Issues

JHI_VERSION was not cleared.

LinuxService.cpp:79:24: error: ‘JHI_VERSION’ was not declared in this scope
std::cout<<JHI_VERSION<<std::endl;

install FILES given no DESTINATION

Upon Performing this command, "cmake .;make;sudo make install;sudo systemctl enable jhi"

CMake Error at CMakeLists.txt:274 (install):
cmake .;make;sudo make install;sudo systemctl enable jhi"_

CMake Error at CMakeLists.txt:274 (install):
install FILES given no DESTINATION!

-- Configuring incomplete, errors occurred!
See also "/home/erictran/Downloads/dynamic-application-loader-host-interface/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
This can be replicated by performing the command again, or individually.

Couldn't connect to either BHv1 or BHv2

The JHI service appears to start fine but once I restart AESMD I get the following errors related to JHI:

systemd[1]: Started Intel Dynamic Application Loader Host Interface (JHI).

(...)

jhi[9634]: Error: discoverVmType() failed
jhi[9634]: JHI init failed
jhi[9634]: JHI service release prints are enabled
jhi[9634]: AppletsManager::discoverVmType(), Couldn't connect to either BHv1 or BHv2.
jhi[9634]: Error: discoverVmType() failed
jhi[9634]: JHI init failed
jhi[9634]: JHI service release prints are enabled
jhi[9634]: AppletsManager::discoverVmType(), Couldn't connect to either BHv1 or BHv2.
jhi[9634]: Error: discoverVmType() failed
jhi[9634]: JHI init failed

(...)

jhi[9678]: JHI init at server side failed
jhi[9678]: JHI init failed. Status: 768
aesm_service[9678]: [ADMIN]Platform Services initializing
aesm_service[9678]: [ADMIN]Platform Services initialization failed due to DAL error

The OS is Ubuntu 16.04.

./bist runs into error

Hi, @jlahav and whoever encountered this problem,

On Azure VM after building the jhi service runs into the error:


main@PigramUbuntu1804:~/work/wind/dynamic-application-loader-host-interface/bin_linux$ sudo service jhi restart
main@PigramUbuntu1804:~/work/wind/dynamic-application-loader-host-interface/bin_linux$ sudo service jhi status
● jhi.service - Intel Dynamic Application Loader Host Interface (JHI)
   Loaded: loaded (/lib/systemd/system/jhi.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-09-01 08:23:37 UTC; 5s ago
 Main PID: 45749 (jhid)
    Tasks: 1 (limit: 9487)
   CGroup: /system.slice/jhi.service
           └─45749 /usr/local/sbin/jhid

Sep 01 08:23:37 PigramUbuntu1804 systemd[1]: Starting Intel Dynamic Application Loader Host Interface (JHI)...
Sep 01 08:23:37 PigramUbuntu1804 jhi[45749]: --> jhi start
Sep 01 08:23:37 PigramUbuntu1804 jhi[45749]: <-- jhi start
Sep 01 08:23:37 PigramUbuntu1804 systemd[1]: Started Intel Dynamic Application Loader Host Interface (JHI).
main@PigramUbuntu1804:~/work/wind/dynamic-application-loader-host-interface/bin_linux$ ./bist
Opening Intel SD session... TEE_OpenSDSession failed. Status: TEE_STATUS_NO_FW_CONNECTION
main@PigramUbuntu1804:~/work/wind/dynamic-application-loader-host-interface/bin_linux$ sudo service jhi status
● jhi.service - Intel Dynamic Application Loader Host Interface (JHI)
   Loaded: loaded (/lib/systemd/system/jhi.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-09-01 08:23:37 UTC; 16s ago
 Main PID: 45749 (jhid)
    Tasks: 1 (limit: 9487)
   CGroup: /system.slice/jhi.service
           └─45749 /usr/local/sbin/jhid

Sep 01 08:23:37 PigramUbuntu1804 systemd[1]: Starting Intel Dynamic Application Loader Host Interface (JHI)...
Sep 01 08:23:37 PigramUbuntu1804 jhi[45749]: --> jhi start
Sep 01 08:23:37 PigramUbuntu1804 jhi[45749]: <-- jhi start
Sep 01 08:23:37 PigramUbuntu1804 systemd[1]: Started Intel Dynamic Application Loader Host Interface (JHI).
Sep 01 08:23:49 PigramUbuntu1804 jhi[45749]: JHI service release prints are enabled
Sep 01 08:23:49 PigramUbuntu1804 jhi[45749]: AppletsManager::discoverVmType(), Couldn't connect to either BHv1 or BHv2.
Sep 01 08:23:49 PigramUbuntu1804 jhi[45749]: Error: discoverVmType() failed
Sep 01 08:23:49 PigramUbuntu1804 jhi[45749]: JHI init failed
main@PigramUbuntu1804:~/work/wind/dynamic-application-loader-host-interface/bin_linux$ uname -a
Linux PigramUbuntu1804 5.0.0-1014-azure #14~18.04.1-Ubuntu SMP Fri Aug 2 17:17:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

the Azure VM has /dev/sgx but lspci prompts nothing, anything I missed before running bist?

Thank you and kindest regards,
Main C

Cmake fails with "install FILES given no DESTINATION"

When I execute the first build step as of 9fba7df2d1ce6dde95c639d8ef1afb4509ffba45, I get this:

dynamic-application-loader-host-interface$ cmake .
CMake Error at CMakeLists.txt:274 (install):
  install FILES given no DESTINATION!

What am I missing?

cmake fails on ubuntu linux with errors from install

:~/dynamic-application-loader-host-interface-master$ cmake .
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.3")
CMake Error at CMakeLists.txt:274 (install):
install FILES given no DESTINATION!

-- Configuring incomplete, errors occurred!
See also "/home/user1/dynamic-application-loader-host-interface-master/CMakeFiles/CMakeOutput.log".

Dependencies need to include libsystemd-dev

Latest download produces this error on Ubuntu 16.04

home/mpdemo/dynamic-application-loader-host-interface/service/LinuxService.cpp:39:31: fatal error: systemd/sd-daemon.h: No such file or directory
compilation terminated.
CMakeFiles/jhid.dir/build.make:470: recipe for target 'CMakeFiles/jhid.dir/service/LinuxService.cpp.o' failed
make[2]: *** [CMakeFiles/jhid.dir/service/LinuxService.cpp.o] Error 1
CMakeFiles/Makefile2:252: recipe for target 'CMakeFiles/jhid.dir/all' failed
make[1]: *** [CMakeFiles/jhid.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.