Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6482 Discussions

i'm trying to install drivers for NCS2 with root account, but the terminal still notice: Operation not permitted

HOu00
Beginner
1,884 Views

i dont know what i missed

 

(venv) root@bozz-vBOOK-Plus:/opt/intel/computer_vision_sdk/inference_engine/external/hddl/drivers# sudo ./setup.sh install
Running install for component drv_ion
if [[ "" != "" ]]; then sudo rmmod myd_ion; fi;
make[1]: 进入目录“/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion”
make[1]: 离开目录“/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion”
make[1]: 进入目录“/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion”
echo >>>  /lib/modules/4.18.0-16-generic/build
>>> start building NODEBUG ION driver <<<
make[2]: 进入目录“/usr/src/linux-headers-4.18.0-16-generic”
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/compat_ion.o
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion.o
/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion.c: 在函数‘ion_debug_client_show’中:
/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion.c:914:1: 警告:栈帧有 1048 字节,超过了 1024 字节 [-Wframe-larger-than=]
 }
 ^
symbolmap: 00000001: invalid section
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion_cma_heap.o
symbolmap: 00000001: invalid section
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion_system_heap.o
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion_heap.o
symbolmap: 00000001: invalid section
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion_page_pool.o
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion_driver.o
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/plist.o
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion_carveout_heap.o
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/ion_chunk_heap.o
  LD   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/myd_ion.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/myd_ion.mod.o
  LD   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion/myd_ion.ko
make[2]: 离开目录“/usr/src/linux-headers-4.18.0-16-generic”
>>> end building NODEBUG ION driver <<<

make[1]: 离开目录“/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_ion”
if [[ "" != "" ]]; then sudo rmmod myd_ion; fi;
insmod: ERROR: could not insert module myd_ion.ko: Operation not permitted
Makefile:75: recipe for target 'preinstall' failed
make: *** [preinstall] Error 1
Running install for component drv_vsc
if [[ "" != "" ]]; then sudo rmmod myd_vsc; fi;
make[1]: 进入目录“/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc”
rm -f *.o *.ko *.order *.mod.c *.symvers .*.cmd
rm -rf .tmp_versions
make[1]: 离开目录“/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc”
make[1]: 进入目录“/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc”
make -C /lib/modules/`uname -r`/build M=$PWD
make[2]: 进入目录“/usr/src/linux-headers-4.18.0-16-generic”
  CC   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.o
symbolmap: 00000001: invalid section
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.mod.o
  LD   /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.ko
make[2]: 离开目录“/usr/src/linux-headers-4.18.0-16-generic”
make[1]: 离开目录“/opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc”
if [[ "" != "" ]]; then sudo rmmod myd_vsc; fi;
insmod: ERROR: could not insert module myd_vsc.ko: Operation not permitted
Makefile:43: recipe for target 'preinstall' failed
make: *** [preinstall] Error 1
(venv) root@bozz-vBOOK-Plus:/opt/intel/computer_vision_sdk/inference_engine/external/hddl/drivers# 

 

0 Kudos
6 Replies
HOu00
Beginner
1,884 Views

is it nessary for NCS2 to install myd_ion.ko and myd_vcs.ko these two drivers?

0 Kudos
Shubha_R_Intel
Employee
1,884 Views

Dear 区, 航波, 

My I ask what variant of Linux you are using ? 

Thanks,

Shubha

0 Kudos
HOu00
Beginner
1,884 Views

ubuntu10.04LTS  x86_64  Intel

 

0 Kudos
Shubha_R_Intel
Employee
1,884 Views

Dear 区, 航波,

Ubuntu 10.04 LTS is extremely old and OpenVino requires at least Ubuntu 16.04 .  So most likely even if you were to resolve your driver issue, OpenVino will not work properly on Ubuntu 10.04 . Also, those drivers you are installing are not related to NCS2.

Hope it helps,

Thanks !

Shubha

0 Kudos
HOu00
Beginner
1,884 Views

i solved the problem with disabling secrue boot, and what are the drivers working for ?

0 Kudos
HOu00
Beginner
1,884 Views

and i 'm using 18.04 ubuntu, the 10.04 i sad before was wrong

0 Kudos
Reply