14

A few days ago I realize that the following message appears when booting Ubuntu 20.04 (it didn't appear before):

[   0.113770] x86/cpu: SGX disable by BIOS.

After a little research I found other people having this "problem". On the cases I saw the OS didn't even boot after that error (it seems because the OS doesn't detect the disks) but that's not my case, my disks are detected correctly and Ubuntu 20.04 starts as nothing happens.

So for me isn't really a problem but I'm concerned that it can turn into one. So I want to know if there's a solution. I searched on my BIOS but I didn't see an option that allows me to enable the SGX.

My Motherboard and CPU are 'MSI H510M Pro-E' and 'Intel Core i5 10400'(I use the integraded graphics, specifically are called 'Intel HD Graphics 630')

Rinzwind
  • 293,910
  • 41
  • 570
  • 710
Ruisu Migeru
  • 143
  • 1
  • 1
  • 6
  • 1
    If it works then nothing to worry about. You can ignore it. There are many cases where the graphical desktop doesn't load for many different reasons. This and a lot of other messages - errors, warnings, etc. - are what people see so many wrongly assume their problem is somehow related with those messages. – ChanganAuto Jul 16 '22 at 10:33
  • I have this message every time I boot my system. My system works perfectly. – mook765 Jul 16 '22 at 11:10
  • 2
    "I'm concerned that it can turn into one." It cannot. Also, SGX is deprecated now anyway, so it's not like stuff is going to start needing it. – Joseph Sible-Reinstate Monica Jul 16 '22 at 23:47
  • As @JosephSible-ReinstateMonica already mentioned, SGX got [deprecated in 2021 because a number of vulnerabilities](https://en.wikipedia.org/wiki/Software_Guard_Extensions); so no worries. – Serge Stroobandt Oct 10 '22 at 19:30

4 Answers4

16

x86/cpu: SGX disable by BIOS

It started to show when you upgraded to kernel 5.13.

SGX stands for "intel Software Guard eXtensions and is "a hardware-based isolation and memory encryption mechanism provided by modern Intel® CPUs". In your BIOS you might find a switch with 2 or 3 possible options:

  • Disable
  • Enable: all of the SGX instructions and resources are available to applications
  • Software Controlled: SGX can be enabled by software applications when asking for it.

If the option is not there you might get it through a BIOS upgrade. Otherwise if you want to get rid of it add nosgx to the grub defaults (see How do I add a kernel boot parameter? on how to add a parameter). It is not needed as it is benign so simply ignoring it is also an option.

Rinzwind
  • 293,910
  • 41
  • 570
  • 710
0

For me this hang at SGX was caused by messing with X11/Synaptics config. If you did that, your solution maybe is to delete it's configs through recovery root terminal.

https://askubuntu.com/a/206289 desribes the needed step. You may also revert the changes you've made, seems like a much safer option than deleting it entirely.

I have no idea for why messing with config would have such dire almost untraceable implications. All i did are a couple of changes related to touchpad scroll speed.

0

On my dual boot Acer laptop, I booted on Windows 11, installed the Intel app and enabled SGX as explained here: https://www.intel.com/content/www/us/en/support/articles/000058952/software/intel-security-products.html.

Nothing new appeared in the BIOS, but the x86/cpu: SGX disable by BIOS. message at boot is now gone.

FloT
  • 2,256
  • 4
  • 13
  • 29
-1

I have a ploblem my main monitor says [ 0.116241] x84/cpu: SGX dissabled by bios and its stuck on that but my second monitor runs ubuntu my main montior is plugged into my gpu my second one is plugged into my motherboard please help!