Installation from source fails at modprobe phase

Discussions related to using the OSE version of VirtualBox.

Installation from source fails at modprobe phase

Postby mn » 29. Dec 2018, 21:50

I have installed the latest VirtualBox 6 from source on an Ubuntu 18.04. All commands were fine.

Code: Select all   Expand viewCollapse view
$ source ./env.sh
$ kmk all
$ cd out/linux.x86/release/bin/src
mahmood@orca:src$ make
=== Building 'vboxdrv' module ===
make[1]: Entering directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv -j16 modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv'

=== Building 'vboxnetflt' module ===
make[1]: Entering directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt -j16 modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt'

=== Building 'vboxnetadp' module ===
make[1]: Entering directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp -j16 modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp'

=== Building 'vboxpci' module ===
make[1]: Entering directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci -j16 modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci'

mahmood@orca:src$ sudo make install
[sudo] password for mahmood:
make[1]: Entering directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv -j16 modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  INSTALL /home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv/vboxdrv.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:74
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:81
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  4.15.0-36-generic
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxdrv'
make[1]: Entering directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt -j16 modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  INSTALL /home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt/vboxnetflt.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:74
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:81
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  4.15.0-36-generic
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetflt'
make[1]: Entering directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp -j16 modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  INSTALL /home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp/vboxnetadp.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:74
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:81
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  4.15.0-36-generic
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxnetadp'
make[1]: Entering directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci -j16 modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make V= CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci SRCROOT=/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
  INSTALL /home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci/vboxpci.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:74
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:81
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  4.15.0-36-generic
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/mahmood/VirtualBox-6.0.0/out/linux.amd64/release/bin/src/vboxpci'
mahmood@orca:src$


Apart from the SSL error, I think it has been installed successfully.

However, the modprobe command fails

Code: Select all   Expand viewCollapse view
root@orca:src# modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.15.0-36-generic
root@orca:src# ls
build_in_tmp  vboxdrv     vboxnetadp     vboxnetflt     vboxpci
Makefile      vboxdrv.ko  vboxnetadp.ko  vboxnetflt.ko  vboxpci.ko


I also don't see '/sbin/vboxconfig'
What should I do?
mn
 
Posts: 82
Joined: 17. Feb 2013, 21:33

Re: Installation from source fails at modprobe phase

Postby socratis » 30. Dec 2018, 00:57

mn wrote:I have installed the latest VirtualBox 6 from source
Moving to "OSE" from "Linux Hosts" then...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25275
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Installation from source fails at modprobe phase

Postby toracat » 17. Jan 2019, 20:55

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.15.0-36-generic

Sorry if this is an obvious question but do you see vboxdrv.ko (together with 3 other ko's) if you ls /lib/modules/4.15.0-36-generic/ ?
Beginning is easy – Continuing is hard.
toracat
 
Posts: 85
Joined: 8. Dec 2018, 02:39
Location: California, USA
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: RHEL CentOS Scientific Linux

Re: Installation from source fails at modprobe phase

Postby SamASR » 1. Apr 2019, 23:29

Execute "depmod -a", then try "modprobe vboxdrv".
If it doesnt help, then you need to recompile kernel and disable "module signature verification".
SamASR
 
Posts: 14
Joined: 19. Mar 2019, 22:34


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 2 guests