- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
After installing SGX SDK, PSW, and kernel driver on Ubuntu 16.04. kernel 4.13.0-38-generic. I have run hello_world SGX application successfully. Now when I want to remove the module, even forcefully, it throws me error saying that the module is in use. How can I stop the module and remove from the kernel?
$ sudo modprobe -r -f isgx modprobe: FATAL: Module isgx is in use. $ sudo rmmod isgx rmmod: ERROR: Module isgx is in use $ sudo rmmod -f isgx rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'isgx': Resource temporarily unavailable rmmod: ERROR: could not remove module isgx: Resource temporarily unavailable $ lsmod | grep isgx isgx 49152 1
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi:
Why don't you use uninstall.sh to remove sgx driver, the script is in path "/opt/intel/sgxdriver". You need to stop aesmd service first.
Regards
you
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
you w. wrote:
Why don't you use uninstall.sh to remove sgx driver, the script is in path "/opt/intel/sgxdriver". You need to stop aesmd service first.
I don't find it at the path specified. But stopping aesmd did the trick. Thanks.
