Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to sign the Kernel?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

How to sign the Kernel?

#1 Post by hack3rcon »

Hello,
I want to use the new version of VirtualBox and my system using EUFI. The VirtualBox show me an error and can't launch. Someone told me that I must use sign the Kernel.
Any idea?

Thank you.

peer
Posts: 449
Joined: 2017-03-26 10:14
Has thanked: 8 times
Been thanked: 22 times

Re: How to sign the Kernel?

#2 Post by peer »

I have got the same question;
Problem arose after update yesterday on my debian testing kde

kernel 5.2.03: virtualbox works ok
kernel 5.3.02: virtualbox does not work

Virtualbox asked me to execute a s root: '/sbin/vboxconfig' . Here is the output:

Code: Select all

root@debian:~# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How to sign the Kernel?

#3 Post by Head_on_a_Stick »

Debian's kernels are already signed (with Microsoft's key) but you can use sbsigntool.
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How to sign the Kernel?

#4 Post by stevepusser »

What version of Virtual Box, and how did you get it?

Both vital to any meaningful answer, yet left out of both questions, for some reason.
MX Linux packager and developer

peer
Posts: 449
Joined: 2017-03-26 10:14
Has thanked: 8 times
Been thanked: 22 times

Re: How to sign the Kernel?

#5 Post by peer »

I use virtualbox 6.0.12 r133076 (Qt5.12.5).
I downloaded it from the virtualbox website and and installed it long time ago. I updated it one or two months ago again with the latest version.

This latest version works with kernel 5.2.03 but not with kernel 5.3.02.

I think my situation is the same as the described in the question of hack3rcon who originally posted the question.

edit:
I just checked the virtualbox website and noticed that I did not have the latest version. So I downloaded the latest version (133895) and virtualbox works again in kernel 5.2.02. My problem is solved but I do not know if hack3rconś problem is solved.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How to sign the Kernel?

#6 Post by stevepusser »

If you need a version that builds against the 5.4 kernels, such as the current Liqourix kernel or the upstream Debian one I've just backported here: https://build.opensuse.org/package/show ... source-5.4

I have a patched version of 6.0.14 that does build and work on those kernels: https://build.opensuse.org/project/show ... box-buster

(The patch seems to say that this version will only build against 4.16 through 5.4 kernels, though)
MX Linux packager and developer

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: How to sign the Kernel?

#7 Post by hack3rcon »

peer wrote:I use virtualbox 6.0.12 r133076 (Qt5.12.5).
I downloaded it from the virtualbox website and and installed it long time ago. I updated it one or two months ago again with the latest version.

This latest version works with kernel 5.2.03 but not with kernel 5.3.02.

I think my situation is the same as the described in the question of hack3rcon who originally posted the question.

edit:
I just checked the virtualbox website and noticed that I did not have the latest version. So I downloaded the latest version (133895) and virtualbox works again in kernel 5.2.02. My problem is solved but I do not know if hack3rconś problem is solved.
My Kernel version is:

Code: Select all

4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: How to sign the Kernel?

#8 Post by hack3rcon »

stevepusser wrote:What version of Virtual Box, and how did you get it?

Both vital to any meaningful answer, yet left out of both questions, for some reason.
I'm using the last version of VirtualBox(virtualbox-6.0_6.0.14-133895_Debian_buster_amd64).

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: How to sign the Kernel?

#9 Post by hack3rcon »

How can I sign "vboxdrv, vboxnetflt, vboxnetadp, vboxpci" with "sbsign" tool?

Post Reply