Kernel driver not installed (rc=-1908)

Discussions related to using VirtualBox on Mac OS X hosts.

Kernel driver not installed (rc=-1908)

Postby Niouk57 » 29. May 2018, 17:42

Hi everyone,

Yesterday I installed Virtualbox on my Mac. Everything worked very well, I installed Kali and since today morning I get this issue when I try to start my machine:
Kernel driver not installed (rc=-1908)

Make sure the kernel module has been loaded successfully.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

And this:
The virtual machine 'Ethique' has terminated unexpectedly during startup with exit code 1 (0x1).

Error Code : NS_ERROR_FAILURE (0x80004005)
Composant : MachineWrap
Interface : IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

I saw a lot of tutorials to fix this issue but I it didn't solved mine... Most of them are for Linux users.
Could you please help me?

Thanks a lot,

Niouk57.
Niouk57
 
Posts: 4
Joined: 29. May 2018, 17:37

Re: Kernel driver not installed (rc=-1908)

Postby socratis » 29. May 2018, 17:50

Let's start with the basics. Run the following in the Terminal and post the output:
    kextstat | grep -v com.apple
Then try to re-install VirtualBox:
  1. Once you start the installer package, press "Cmd+L" to show the installer log window.
  2. Choose to "Show All Logs" from the detail level drop-down list.
  3. Before you finalize the installation, due to error or not, click "Save" on the installer log window.
  4. ZIP it and attach it to your reply.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
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: Kernel driver not installed (rc=-1908)

Postby Niouk57 » 29. May 2018, 17:55

Thanks for the quick response!

What is the output? I pasted
kextstat | grep -v com.apple
on my terminal and it said that
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>

Another question, if I reinstall VB will I loose everything that I've done?
Niouk57
 
Posts: 4
Joined: 29. May 2018, 17:37

Re: Kernel driver not installed (rc=-1908)

Postby Niouk57 » 29. May 2018, 17:58

I reinstalled VB, here is the attachment :

I also have to say that now it is working!
Attachments
Registo do Instalador 29-May-2018.txt
(21.17 KiB) Downloaded 946 times
Niouk57
 
Posts: 4
Joined: 29. May 2018, 17:37

Re: Kernel driver not installed (rc=-1908)

Postby socratis » 29. May 2018, 18:01

Wait a minute... you got nothing from the "kextstat" command? What about after the 2nd installation? Because your installation worked just fine:
May 29 16:57:30 MacBookeVictor2 Installer[663]: Displaying 'Install Succeeded' UI.

And no, you don't lose anything if you re-install VirtualBox.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
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: Kernel driver not installed (rc=-1908)

Postby Niouk57 » 29. May 2018, 18:02

No, I only got this:
Attachments
Captura de ecrã 2018-05-29, às 17.01.37.png
Captura de ecrã 2018-05-29, às 17.01.37.png (66.85 KiB) Viewed 39379 times
Niouk57
 
Posts: 4
Joined: 29. May 2018, 17:37

Re: Kernel driver not installed (rc=-1908)

Postby socratis » 29. May 2018, 18:22

  1. Reboot.
  2. Start VirtualBox. If it crashes, open "Console.app" and look at "~/Library/Logs". Is there a VirtualBox related log with the current date/time? ZIP and attach that file.
  3. Post the output of the following commands:

      ls -alR /Library/Application\ Support/VirtualBox/
      sudo dmesg | grep -i Virtual
      sudo dmesg | grep -i VBox
PS. Next time, if you have to include an image, please downsize it by 50% (at least), or simply change its DPI to 72. Not everyone is blessed with a HiDPI display ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
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: Kernel driver not installed (rc=-1908)

Postby zane.a.karl » 7. Sep 2018, 03:52

I encountered the same error after restoring my new computer (OSX 10.13.2) from a backup that contained my VirtualBox (5.2.18) vm.

After following along this forum post exchange:

[1] I get no output from kextstat | grep -v com.apple exactly as the OP

[2] I attached the installer logs after trying to re-install VBox

[3] I rebooted, looked at the console app logs under ~/Library/Logs, and saw no VBox entries.

[4] I ran the three commands mentioned after and have attached their outputs in a ZIPPED txt file

If anyone was able to solve this problem, any and all advice is very much appreciated!
Attachments
cmd-outputs.zip
(1.67 KiB) Downloaded 481 times
Installer Log 6-Sep-2018.txt.zip
(3.21 KiB) Downloaded 272 times
zane.a.karl
 
Posts: 2
Joined: 7. Sep 2018, 03:43

Re: Kernel driver not installed (rc=-1908)

Postby dsp_sd » 7. Sep 2018, 21:38

Your VirtualBox kernel extensions have been disabled by the new Mac security policy.

Try the solution posted at viewtopic.php?f=39&t=84778&start=15#p412500 :

ilg wrote:If the GUI solution does not work, reboot in Recovery mode and enter:

Code: Select all   Expand viewCollapse view
spctl kext-consent add VB5E2TV963


Reboot in normal mode and install should be ok.

This command does not disable the Apple security mechanism, it simply adds Oracle to the list of approved developers.


When he says 'install should be ok' he means 'just redo the install and let VirtualBox finish it'.
dsp_sd
 
Posts: 3
Joined: 7. Sep 2018, 18:38

Re: Kernel driver not installed (rc=-1908)

Postby zane.a.karl » 8. Sep 2018, 02:48

This worked like a charm!

Note: for future people that find this feed the previous answer worked for me porting my vm over from another mac and had nothing to do with RE-INSTALLING VBox, though I assume that the previous answer would work for that as well.
zane.a.karl
 
Posts: 2
Joined: 7. Sep 2018, 03:43

Re: Kernel driver not installed (rc=-1908)

Postby homersheineken » 23. Oct 2018, 23:29

I had this same error after upgrading to Mojave (10.14) from 10.12.xx.

I reinstalled VM to 5.2.20 from 5.2.6 (I think it was .6) and it works correctly now.

Hope this helps someone.
homersheineken
 
Posts: 1
Joined: 23. Oct 2018, 23:26

Re: Kernel driver not installed (rc=-1908)

Postby socratis » 6. Nov 2018, 16:42

Please continue any "Kernel driver not installed (rc=-1908)" issue in "Installation fails on 10.13.x, 10.14.x (rc=-1908)", this thread is locked.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
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


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: Google [Bot], Murato and 27 guests