36

enter image description here

System information:

  • Intel Core i5-10600K
  • Gigabyte H510M H
  • NVIDIA GTX 1050TI 4GB
  • 500GB x1 NVME SSD (Installed Ubuntu), 2TB x1 HDD, 1TB x1 IDE HDD, and 250GB x1 SSD

Operating system:

  • Ubuntu 22.04
  • kernel 5.15.0-27-generic
karel
  • 114,770
Chinmay Rajyaguru
  • 543
  • 1
  • 4
  • 8

5 Answers5

18

For me the solution was exactly what the error message suggests: to enable SGX in BIOS. I have an HP Elitebook, in the BIOS Security section there is a checkbox:

  • Intel Software Guard Extension (SGX)

I set it to Enable (instead of Disable or Software defined)

szabozoltan
  • 281
  • 1
  • 4
14

You can use sgx software enable to enable Intel SGX on Linux system Where the BIOS supports intel SGX.

This application will enable Intel SGX on Linux systems where the BIOS supports Intel SGX, but does not provide an explicit option to enable it. These systems can only enable Intel SGX via the "software enable" procedure.

I tried it, it works.

Hastur
  • 3,950
6

The SGX technology has a weakness called Poreshadow or L1TF.

https://support.lenovo.com/kr/en/solutions/ps500174-intel-software-guard-extensions-sgx-vulnerabilities https://www.techspot.com/news/93006-intel-sgx-deprecation-impacts-drm-ultra-hd-blu.html

If you are not going to watch 4K bluelay video, turn it off.

  • I assume the disable by bios message means it's getting fully disabled anyway, can just leave it in that state or is something more required? – Britton Kerin Oct 22 '23 at 18:49
5

I had the same problem, but the SGX option literally did not exist in my BIOS, so it was impossible to change that.

A workaround was to reinstall with the "Minimal installation" option (as opposed to "Normal"), as well as not download updates or install third party software.

1

In the case that I encountered, I couldn't solve it with "SGX software enable", but it was resolved when I reinstalled my linux and went to BIOS via

systemctl reboot --firmware-setup
zx485
  • 2,426