Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5541 Discussions

Failed to setup OpenVINO 2021.1 (or 2) on Ubuntu 18.04 and Docker

Shigeyoshi_O_Intel
586 Views

Hello,

I need your advice to solve setup failure of OpenVINO 2020.1 (or 2) on Ubuntu 18.04 Docker. "install_IVAD_VPU_dependencies.sh" fails because myd_ion and myd_vsc are in use. Can someone suggest me what could be wrong?

Regards,

Ohara

Environment

  • Atom CPU and Myriad-X
  • Yocto Linux 2.5.1 (kernel version: 4.14.67-intel-pk-standard)
  • Docker 18.03.0-ce

On host

  1. %> docker pull openvino/ubuntu18_runtime:2021.1

  2. %>  docker run -it --device /dev/dri:/dev/dri --device /dev/ion:/dev/ion -v /var/tmp:/var/tmp -v /lib/modules:/lib/modules:ro -u root --name ubuntu-openvino -d openvino/ubuntu18_runtime /bin/bash
    • "-v /lib/modules:/lib/modules:ro" is not in document but I added to solve error
  3. %> docker exec -it ubuntu-openvino /bin/bash

On guest

  1. #> apt-get update && apt-get install sudo
  2. #> apt-get install -y lsb-release
  3. source /opt/intel/openvino_2021/bin/setupvars.sh is included in .bashrc and skipped
  4. #> sudo -E /opt/intel/openvino_2021/install_dependencies/install_openvino_dependencies.sh
    #> sudo -E /opt/intel/openvino_2021/install_dependencies/install_NEO_OCL_driver.sh
  5. #> apt-get install module-init-tools
  6. #> apt install pciutils
  7. #> /opt/intel/openvino//deployment_tools/inference_engine/external/hddl/install_IVAD_VPU_dependencies.sh

Failure log

Ubuntu18.04
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-program-options1.65.1 is already the newest version (1.65.1+dfsg-0ubuntu5).
libusb-1.0-0 is already the newest version (2:1.0.21-2).
libelf-dev is already the newest version (0.170-0.4ubuntu0.1).
libjson-c3 is already the newest version (0.12.1-1.3ubuntu0.3).
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.5).
libudev1 is already the newest version (237-3ubuntu10.43).
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
Copying to /etc/udev/rules.d/98-hddlbsl.rules
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Running install for component drv_ion
if [[ "myd_ion 40960 4" != "" ]]; then sudo rmmod myd_ion; fi;
rmmod: ERROR: Module myd_ion is in use
Makefile:63: recipe for target 'preuninstall' failed
make: *** [preuninstall] Error 1
Running install for component drv_vsc
if [[ "myd_vsc 20480 2" != "" ]]; then sudo rmmod myd_vsc; fi;
rmmod: ERROR: Module myd_vsc is in use
Makefile:51: recipe for target 'preuninstall' failed
make: *** [preuninstall] Error 1
sudo ./setup.sh install myd_vsc fail

Labels (1)
0 Kudos
1 Solution
Iffa_Intel
Moderator
545 Views

Greetings,


So you had solved your problem by updating the platform firmware?

If that's the case and if you have no further inquiries, shall I close this thread?


Sincerely,

Iffa


View solution in original post

5 Replies
Rizal_Intel
Moderator
564 Views

Hi Shigeyoshi,


It seems that the module required is being actively used.

Could you try checking other processes that is using the kernel module?


Could you try restarting the device to clear all the processes and try using the docker image again?


Regards,

Rizal


Shigeyoshi_O_Intel
550 Views

Hi Rizal,

It seems I should have updated the platform firmware. Thank you so much for your reply.

Regards,

Ohara

Iffa_Intel
Moderator
546 Views

Greetings,


So you had solved your problem by updating the platform firmware?

If that's the case and if you have no further inquiries, shall I close this thread?


Sincerely,

Iffa


View solution in original post

Shigeyoshi_O_Intel
541 Views

Iffa,

Yes, I close the case. Thank you so much.

Ohara

Iffa_Intel
Moderator
533 Views

Greetings,


Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 


Sincerely,

Iffa


Reply