Results 1 to 7 of 7

Thread: Virtualbox kernel drivers not installed

  1. #1
    Join Date
    Oct 2010
    Location
    Cape Town, South Africa
    Posts
    58

    Default Virtualbox kernel drivers not installed

    Hey.

    I'm having a problem with virtualbox. It gives me this error:
    Kernel driver not installed (rc=-1908)

    The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

    '/etc/init.d/vboxdrv setup'

    as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

    I have no idea what to do or what is wrong.

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Default Re: Virtualbox kernel drivers not installed

    Please wait on giving an answer until moved to the proper forum.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Default Re: Virtualbox kernel drivers not installed

    This message is now ready for comment.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: Virtualbox kernel drivers not installed

    Quote Originally Posted by Kyluke View Post
    Hey.

    I'm having a problem with virtualbox. It gives me this error:
    Kernel driver not installed (rc=-1908)

    The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

    '/etc/init.d/vboxdrv setup'

    as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

    I have no idea what to do or what is wrong.
    I moved your question to the correct forum Kyluke. As to your what you have asked, VirtualBox must compile its driver against the running kernel. This happens when first installed and anytime there after if you update your kernel. You must do up to five more things to fix this issue:

    1) Make sure to do this:

    Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:

    Code:
    Development 
    
    [X] Base Development
    [X] Linux Kernel Development
    [X] C/C++ Development
    Then Press the Accept button on the bottom right and allow these applications to install.

    2) Then try to do this in aterminal session:

    Code:
    sudo /etc/init.d/vboxdrv setup
    3) Next, to automatically load the kernel drivers for you go into:

    Code:
    YaST / Software / Software Management, search on dkms and if you have added in the Packman repository, you find the application and then install it.
    4) Ever so often I get a report that the VirtualBox script is not marked executable so you can try this if that is the case:

    Code:
    sudo chmod +x /usr/lib/virtualbox/VirtualBox
    5) Make sure to consult this article for all things about using VirtualBox:

    http://forums.opensuse.org/content/5...umbleweed.html

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5

    Default Re: Virtualbox kernel drivers not installed

    Hi Kyluke. This is how I do it.

    Code:
    How to install Oracle VirtualBox:
      a) Make sure that your system is up-to-date
      b) Install the packages needed to compile external modules
         # zypper in gcc make kernel-devel
         - Note: In my case, 'make' was already installed
      c) # zypper ar http://download.virtualbox.org/virtualbox/rpm/opensuse/11.4/ virtualbox
         # zypper ref -r virtualbox
         # zypper in VirtualBox-4.1
         - Note: Additional package to install: libpng12-0
      d) YaST > User and Group Management > Users > Edit > Details > Additional Groups > check "vboxusers" > OK > OK
      e) Install VirtualBox ExtensionPack (necessary for USB support)
         $ cd Downloads
         $ wget http://download.virtualbox.org/virtualbox/4.1.12/Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack
         # VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack
      f) Reboot (necessary because of step d)
      g) VirtualBox is now ready to use. After any kernel upgrade, you need to recompile the VBox kernel modules
         # /etc/init.d/vboxdrv setup

  6. #6
    Join Date
    Oct 2010
    Location
    Cape Town, South Africa
    Posts
    58

    Default Re: Virtualbox kernel drivers not installed

    Quote Originally Posted by afshine View Post
    Hi Kyluke. This is how I do it.

    Code:
    How to install Oracle VirtualBox:
      a) Make sure that your system is up-to-date
      b) Install the packages needed to compile external modules
         # zypper in gcc make kernel-devel
         - Note: In my case, 'make' was already installed
      c) # zypper ar http://download.virtualbox.org/virtualbox/rpm/opensuse/11.4/ virtualbox
         # zypper ref -r virtualbox
         # zypper in VirtualBox-4.1
         - Note: Additional package to install: libpng12-0
      d) YaST > User and Group Management > Users > Edit > Details > Additional Groups > check "vboxusers" > OK > OK
      e) Install VirtualBox ExtensionPack (necessary for USB support)
         $ cd Downloads
         $ wget http://download.virtualbox.org/virtualbox/4.1.12/Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack
         # VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack
      f) Reboot (necessary because of step d)
      g) VirtualBox is now ready to use. After any kernel upgrade, you need to recompile the VBox kernel modules
         # /etc/init.d/vboxdrv setup
    When I run g) I get this
    Recompiling VirtualBox vboxadd kernel module, NOT. It has been packaged. done
    and then exit

  7. #7

    Default Re: Virtualbox kernel drivers not installed

    Quote Originally Posted by Kyluke View Post
    When I run g) I get this
    Recompiling VirtualBox vboxadd kernel module, NOT. It has been packaged. done
    and then exit
    I don't know what it means. Never seen it before. You could check out this thread:
    VirtualBox kernel module, NOT. It has been packaged.

Posting Permissions

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