Schwarzer Kater: Thanks for that - this worked in general to remove the packages.
But unfortunatley the error did not go away :-/
Announcement
Collapse
No announcement yet.
Intel Software Guard Exentsion SGX - Error at boot screen
Collapse
This topic is closed.
X
X
-
OK, post #11 does definitely not work - as I said: it has been a wihile…
I think last time I did something like this I finally used ppa-purge, and I still cannot think of another solution to revert from Kubuntu backports and/or backports-extra PPA (be sure to "enable" it again if you commented out or deleted something in /etc/apt -> sudo add-apt-repository ppa:kubuntu-ppa/backports && sudo apt update):
If need be sudo apt autoremove && sudo apt autoclean afterwards.Code:sudo apt install ppa-purge sudo ppa-purge ppa:kubuntu-ppa/backports # in case of "normal" backports, otherwise: backports-extra reboot
- Top
- Bottom
- Likes 1
Leave a comment:
-
Of course but "just" for testing purposes it is easier to comment out a single line instead of removing a whole .conf file + adding it again afterwards.
Anyway I just tried what you suggested earlier today and remove the Kubuntu ppa config files.
After andit did not suggest the origin main Kubuntu repository packages.Code:apt update
If I list all installed packages they are being marked asI do not know if it's possible to downgrade those packages manually - only viaCode:Installed, local
package by package but this probably would kill my Kubuntu.Code:apt install --reinstall
- Top
- Bottom
Leave a comment:
-
Why? You can easily add all the stuff again by simply sudo add-apt-repository ppa:kubuntu-ppa/backports && sudo apt update
- Top
- Bottom
- Likes 1
Leave a comment:
-
I think it should be sufficient if I just comment out the repo line instead of removing the whole .conf file?
- Top
- Bottom
Leave a comment:
-
How about removing kubuntu-ppa-ubuntu-backports-jammy.list from /etc/apt/sources.list.d/ and sudo apt update && apt list --upgradable ?
If the output is satisfying: sudo apt full-upgrade && reboot - perhaps sudo apt autoremove && sudo apt autoclean afterwards.
But wait for a second opinion as I haven't done this in a while…
PS: To get rid of the rest of backport's files in /etc/apt/ just sudo rm /etc/apt/trusted.gpg.d/kubuntu-ppa-ubuntu-backports*
- Top
- Bottom
Leave a comment:
-
Schwarzer Kater: I edited the thread title if someone else is searching the net for it.
I had SGX enabled all the years since I have my Dell XPS (~3, 4 years) and it worked without any problems.
Only after my journey to KDE Neon and back to Kubuntu caused my problems.
Personally I think it is due to the installation and update of the Kubuntu KDE ppa packages.
Do you know if there is any possiblity to disable this repository and downgrade those packages back to those which are officially being provided via the Kubuntu repositories?
- Top
- Bottom
Leave a comment:
-
As far as I understand we are still at the beginning of the implementation of SGX and it is mainly targeted at enterprise.
I found something from Intel (the makers of SGX):
https://download.01.org/intel-sgx/la..._for_Linux.pdf
I could not read this properly or try/test something (perhaps I will have time in a week or so) and am sorry if my first comment mislead somebody - my knowledge was from some years ago…
PS: Perhaps you could add something with "SGX" to the title of this thread as the discussion seems to go this way…?
- Top
- Bottom
Leave a comment:
-
Not sure either :-)
I just thought maybe KWallet or other tools which rely on encryption will have a benefit of SGX but if not I am also not having a problem of disabling it.
- Top
- Bottom
Leave a comment:
-
I don't think it is of great use in a private environment with your "everyday programs" afaik - but I could be wrong, of course.Originally posted by Uncut2180 View PostIs there absolutely no usecase where (K)ubuntu makes use of SGX?Last edited by Schwarzer Kater; Dec 10, 2022, 04:38 AM.
- Top
- Bottom
Leave a comment:
-
I just found this --> https://www.kernel.org/doc/html/latest/x86/sgx.html
- Top
- Bottom
Leave a comment:
-
Originally posted by Schwarzer Kater View Post
You won't need SGX on Linux anyhow…
One can also add "nosgx" to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub - don't forget to sudo update-grub afterwards.
Thanks for the info. Is there absolutely no usecase where (K)ubuntu makes use of SGX?
- Top
- Bottom
Leave a comment:
-
Yes, it still boots without any problems. The only difference is that the encryption password at boot is console style instead of a more "beautiful" screen.Originally posted by claydoh View PostDoes this mean it still boots, though? Sometimes some of these messages 'leak' through, and can be ignored.
leave it disabled then
Why aren't you just installing 22.10 directly? The upgrade step is wasted effort and lost time, with no benefit.
I have no idea what the error is coming from, but on upgrades you can boot to a previous kernel, or to recovery mode in the current kernel, and try manually rebuilding the initramfs for the current kernel:
Something like this:
https://askubuntu.com/questions/1277...packing-failed
I have already tried booting a previous kernel and also rebuild initrams (+ grub to be sure).
- Top
- Bottom
Leave a comment:
-
You won't need SGX on Linux anyhow…Originally posted by Uncut2180 View Post[…] Somehow it seems to be related to Software Guard Extensions. As soon as I disable this feature at Bios I do not longer get the error. […]
One can also add "nosgx" to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub - don't forget to sudo update-grub afterwards.
- Top
- Bottom
Leave a comment:
-
Does this mean it still boots, though? Sometimes some of these messages 'leak' through, and can be ignored.Originally posted by Uncut2180 View PostI had some errors preventing a regular boot.
leave it disabled thenOriginally posted by Uncut2180 View PostSomehow it seems to be related to Software Guard Extensions. As soon as I disable this feature at Bios I do not longer get the error.
Why aren't you just installing 22.10 directly? The upgrade step is wasted effort and lost time, with no benefit.Originally posted by Uncut2180 View PostI tried to install Kubuntu 22.04 to upgrade to 22.10
I have no idea what the error is coming from, but on upgrades you can boot to a previous kernel, or to recovery mode in the current kernel, and try manually rebuilding the initramfs for the current kernel:
Something like this:
https://askubuntu.com/questions/1277...packing-failed
- Top
- Bottom
Leave a comment:
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: