Compile virtualbox module for homebrew kernel?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    396

    Compile virtualbox module for homebrew kernel?

    My laptop is not well supported by the current kernels, so I had to compile my own, using https://notabug.org/hp/linux-gl702zc
    this kernel. I used the fedora wiki "how to compile your own kernel" and It works great. However, when I try to launch Virtualbox, it complains that its module is missing and says:
    Code:
    WARNING: The vboxdrv kernel module is not loaded. Either there is no module
             available for the current kernel (4.14.2tk20180402) or it failed to
             load. Please try load the kernel module by executing as root
               dnf install akmod-VirtualBox kernel-devel-4.14.2tk20180402
               akmods --kernels 4.14.2tk20180402 && systemctl restart systemd-modules-load.service
    the kernel-devel-4.14.2tk20180402 is my kernel, so I doubt I can dnf install it..
    So I tried the akmods line and it croaks with:
    Code:
    2018/04/17 12:17:42 akmodsbuild: error: Failed build dependencies:
    2018/04/17 12:17:42 akmodsbuild: kernel-devel-uname-r = 4.14.2tk20180402 is needed by VirtualBox-kmod-5.2.8-3.fc27.x86_64
    What shall I do?
    thanks!
    -t

  2. #2
    Join Date
    Oct 2007
    Posts
    396

    Re: Compile virtualbox module for homebrew kernel?

    Followup: I downloaded Virtualbox source -- trying to compile it from scratch
    Followup on the followup: It failed..
    Last edited by tkalfaoglu; 17th April 2018 at 06:11 PM.

  3. #3
    Join Date
    Apr 2018
    Location
    California
    Posts
    32

    Re: Compile virtualbox module for homebrew kernel?

    Have you tried the latest version (5.2.10)?

Similar Threads

  1. [SOLVED]
    VirtualBox complaining about missing kernel module after Kernel update
    By Frank Lorenz in forum Installation, Upgrades and Live Media
    Replies: 11
    Last Post: 21st August 2014, 09:58 PM
  2. Trying To Compile Kernel Module
    By raj0825 in forum Using Fedora
    Replies: 8
    Last Post: 1st May 2011, 08:48 AM
  3. [SOLVED]
    Unable to compile virtualbox kernel module
    By Razorblade in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 5th December 2010, 07:30 AM
  4. Replies: 27
    Last Post: 18th July 2009, 12:05 AM
  5. Can't compile VirtualBox kernel module
    By OstermanA in forum Using Fedora
    Replies: 6
    Last Post: 14th July 2009, 07:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •