You are not logged in.

#1 2019-06-28 15:18:33

zheiling
Member
From: Kiev
Registered: 2018-07-07
Posts: 19

[SOLVED] Custom kernel: can't load virtualbox modules.

After compiling and installing custom kernel (linux-clear) virtualbox can't load.
In the beginning, the problem was because modules were unsigned.
But after I signed them with generated during kernel compilation certificates, the next problem has occurred.
Systemctl module-load log:

   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2019-06-28 18:06:49 EEST; 9min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 686 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 686 (code=exited, status=1/FAILURE)

Jun 28 18:06:49 ZhylinLaptop systemd[1]: Starting Load Kernel Modules...
Jun 28 18:06:49 ZhylinLaptop systemd-modules-load[686]: Module 'vboxguest' is builtin
Jun 28 18:06:49 ZhylinLaptop systemd-modules-load[686]: Failed to insert module 'vboxsf': Invalid argument
Jun 28 18:06:49 ZhylinLaptop systemd-modules-load[686]: Failed to insert module 'vboxdrv': Invalid argument
Jun 28 18:06:49 ZhylinLaptop systemd-modules-load[686]: Failed to insert module 'vboxpci': Invalid argument
Jun 28 18:06:49 ZhylinLaptop systemd-modules-load[686]: Failed to insert module 'vboxnetadp': Invalid argument
Jun 28 18:06:49 ZhylinLaptop systemd-modules-load[686]: Failed to insert module 'vboxnetflt': Invalid argument
Jun 28 18:06:49 ZhylinLaptop systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jun 28 18:06:49 ZhylinLaptop systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jun 28 18:06:49 ZhylinLaptop systemd[1]: Failed to start Load Kernel Modules.

Last edited by zheiling (2019-07-25 20:42:15)

Offline

#2 2019-06-28 19:55:15

andrewclive
Member
Registered: 2019-05-19
Posts: 29

Re: [SOLVED] Custom kernel: can't load virtualbox modules.

Hello zheiling,
I'm no expert but you probably need to install the virtualbox-host-dkms package and the correct linux headers. https://wiki.archlinux.org/index.php/Vi … e_packages
Hope this helps.

Offline

#3 2019-07-25 20:40:34

zheiling
Member
From: Kiev
Registered: 2018-07-07
Posts: 19

Re: [SOLVED] Custom kernel: can't load virtualbox modules.

Found a solution: parameter module.sig_unenforce have to be disabled by bootloader and modules built without a sign.

Last edited by zheiling (2019-07-25 20:41:09)

Offline

Board footer

Powered by FluxBB