You are not logged in.

#1 2014-02-01 14:00:30

jvc2014
Member
Registered: 2014-02-01
Posts: 7

[SOLVED] modprobe vboxdrv key has expired

Hi All,

I have been googling this off an on for a couple months. The only thing stopping me from using my Arch box as my daily driver is VirtualBox sad

The kernel modules don't load and modprobe gives:

# sudo modprobe vboxdrv
sh: vboxnetflt: command not found
modprobe: ERROR: Error running install command for vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Key has expired

The bit that I really can't find anything on is "key has expired"...what key?

I have uninstalled and reinstalled virtualbox and virtualbox-host-modules a few times but no joy.

Any help is appreciated, thanks.

Last edited by jvc2014 (2014-02-09 16:13:13)


Kernel: 3.14.1-1-ARCH (x86_64), Board : 0P301D Dell Inc. , RAM: 4GB
CPU: 2x Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz
/ : ATA INTEL SSDSA2MH08  ,   /home : ATA WDC WD2500BEVT-2
Video: Advanced Micro Devices, Inc. [AMD/ATI] RV620 LE [Radeon HD 3450]

Offline

#2 2014-02-01 18:10:51

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] modprobe vboxdrv key has expired

From some quick searching, I think it is related to secure boot. Do you have it enabled?

Also, are you using the virtualbox packages from the official repos?

Offline

#3 2014-02-09 13:05:46

jvc2014
Member
Registered: 2014-02-01
Posts: 7

Re: [SOLVED] modprobe vboxdrv key has expired

Hi, thanks for the reply.

I am using the official kernel and the virtualbox package from the official repos.

I dont *think* secure boot is enabled. Its an old machine (2009). I have searched virtualbox's forum and "key has expired" does not return anything but you have got me thinking that it is a virtualbox problem not an arch problem.

I will look some more and update here if I find anything.

Thanks again.


Kernel: 3.14.1-1-ARCH (x86_64), Board : 0P301D Dell Inc. , RAM: 4GB
CPU: 2x Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz
/ : ATA INTEL SSDSA2MH08  ,   /home : ATA WDC WD2500BEVT-2
Video: Advanced Micro Devices, Inc. [AMD/ATI] RV620 LE [Radeon HD 3450]

Offline

#4 2014-02-09 14:46:32

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] modprobe vboxdrv key has expired

The first error is more interesting than the second. What install commands have you added (likely in /etc/modprobe.d)? Seems like you're trying to trick modprobe into loading multiple modules when you mention one of them.

Offline

#5 2014-02-09 15:24:15

Lekensteyn
Member
From: Netherlands
Registered: 2012-06-19
Posts: 192
Website

Re: [SOLVED] modprobe vboxdrv key has expired

"Command not found" results in the status code 127 which is the errno for "Key has expired". Demonstration:

$ lss;echo $?
bash: lss: command not found
127
$ errno -l | grep 'Key has expired'
EKEYEXPIRED 127 Key has expired

As others have mentioned, you should look in /etc/modprobe.d for hints.

Offline

#6 2014-02-09 16:12:51

jvc2014
Member
Registered: 2014-02-01
Posts: 7

Re: [SOLVED] modprobe vboxdrv key has expired

Ok that fixed it. It was duff command in the .conf file

This was in /etc/modprobe.d/virtualbox.conf

# cat /etc/modprobe.d/virtualbox.conf 
install vboxdrv vboxnetflt

Why, I dont know, must have got it from somewhere

Looked at the ArchWiki again

dropped /etc/modprobe.d/virtualbox.conf

and put the correct command in /etc/modules-load.d/virtualbox.conf

# cat /etc/modules-load.d/virtualbox.conf 
vboxdrv

and now it loads without error...

Thanks guys smile


Kernel: 3.14.1-1-ARCH (x86_64), Board : 0P301D Dell Inc. , RAM: 4GB
CPU: 2x Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz
/ : ATA INTEL SSDSA2MH08  ,   /home : ATA WDC WD2500BEVT-2
Video: Advanced Micro Devices, Inc. [AMD/ATI] RV620 LE [Radeon HD 3450]

Offline

Board footer

Powered by FluxBB