Kernel driver not installed (rc=-1908)

Discussions related to using VirtualBox on Mac OS X hosts.

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

Postby socratis » 7. Dec 2017, 23:40

@everyone
Could you post your Mac models in the thread "10.13 Failing installation; Kernel driver not loaded"? Please post the model as it shows in the "System Information" » "Model Identifier", the OSX version that you tried it with, and state if you had a successful installation or not.
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: 17090
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 monkeywithajetpack » 20. Feb 2018, 14:09

I'm having a very similar problem but nothing i've found anywhere helps me to solve it. My particular circumstances are that my macbookpro turned into a giant paperweight and i restored from a time machine backup onto a new machine. I believe I was already in High Sierra 10.13.3 before the failure of the machine.

I've restored all the directories and files to the pre-failure state and I get the Kernel driver not installed error.

There is also this error message:

Failed to open a session for the virtual machine Windows 10.

The virtual machine 'Windows 10' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}



Has a solution been identified to simply install the Kernel somehow?

Thank you and especially so since this seems to be a recurring question and a lot of people are spending time to answer variants.
monkeywithajetpack
 
Posts: 5
Joined: 20. Feb 2018, 14:02

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

Postby socratis » 20. Feb 2018, 14:35

A TimeMachine restore will not restore your system or its kernel extensions completely. You need to re-install VirtualBox:

  1. Download the latest release, or the latest test build, if you don't already have them.

  2. Mount the DMG from the previous step. Run "VirtualBox_Uninstall.tool". Make sure there are no error messages. If there are, please post them, exactly as they appear.

  3. Double-click the "VirtualBox.pkg" to re-install VirtualBox.
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: 17090
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 michaln » 20. Feb 2018, 14:41

I think this is yet another manifestation of the High Sierra kext approval requirement. The approvals are stored in the machine's NVRAM, which means they won't be there on a new system, even if all the files are. Either Apple didn't think of that or they didn't consider it a significant problem.
michaln
Oracle Corporation
 
Posts: 2906
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

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

Postby monkeywithajetpack » 20. Feb 2018, 14:47

Socratis, thank you for your help.

I did as you said and the uninstall went without error.

Upon installing the new 5.26 version the installer completed with a

"The Installation Failed. The installer encountered an error that caused the installation to fail. Please contact the software manufacturer for assistance".

Please advise... (Thank You!)
monkeywithajetpack
 
Posts: 5
Joined: 20. Feb 2018, 14:02

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

Postby Nutellinoit » 20. Feb 2018, 18:55

I think you had the same problem as mine

michaln wrote: the OS is out of available slots for devices.


You need to check your loaded kext

Code: Select all   Expand viewCollapse view
kextstat | grep -v apple


and try to unload the ones stealing device slot
Nutellinoit
 
Posts: 7
Joined: 20. Feb 2018, 11:53

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

Postby socratis » 21. Feb 2018, 00:51

michaln wrote:The approvals are stored in the machine's NVRAM

With all due respect, I highly doubt that. Unless VirtualBox has implemented a way to store the NVRAM, which is not the case AFAIK. Because the approvals work just fine in a VM.
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: 17090
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 michaln » 21. Feb 2018, 01:45

Some information is stored in a database on disk, some in NVRAM. See for example here, with the caveat that I don't know how accurate the information is.
michaln
Oracle Corporation
 
Posts: 2906
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

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

Postby socratis » 21. Feb 2018, 02:29

Right... Leave it to Apple to write a specification. That thing is going to last for 5... 4... 3...

The article was written on 2017-08-29, almost a month before the official release of 10.13 (2017-09-25). Plenty of time to change our minds! Even the author says:
A future update to macOS High Sierra will allow... If that is before or after the official release of macOS High Sierra is not known.
Not too reassuring... ;)

But after that it states, in the Update section:
The configuration is stored in: /var/db/SystemPolicyConfiguration/KextPolicy
I have a "virgin" 10.13 VM where nothing has been ever installed, not even the updates. Or I could create one from scratch. It would be worthwhile to test this location after the installation of VirtualBox, to see if the DB has been altered or not. Either there, or somewhere else in the hard disk. But I can't see any reason to store that information in the NVRAM, it would simply fail on a VM.
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: 17090
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 michaln » 21. Feb 2018, 11:43

If you look around, you will see that there is some relevant information stored in NVRAM. It may not be a problem if you don't have it, but did you consider the possibility that the new system did not start with an empty NVRAM and something in there interferes?

See here or here. I'm not Apple so I don't know how it really works. Based on the available information, I would definitely not assume that NVRAM contents are irrelevant for kext approval.
michaln
Oracle Corporation
 
Posts: 2906
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

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

Postby monkeywithajetpack » 21. Feb 2018, 16:44

monkeywithajetpack wrote:Upon installing the new 5.26 version the installer completed with a

"The Installation Failed. The installer encountered an error that caused the installation to fail. Please contact the software manufacturer for assistance".

Socratis, any further thoughts on how to address this? I could not complete the installation in the manner you suggested.
monkeywithajetpack
 
Posts: 5
Joined: 20. Feb 2018, 14:02

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

Postby socratis » 21. Feb 2018, 21:13

  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.
  5. Post the output of the commands (from /Applications/Utilities/Terminal):

      ls -ale@ /
      ls -ale@ /Applications
      ls -ale@ /Applications/VirtualBox
      ls -ale@ /private/tmp
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: 17090
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 monkeywithajetpack » 22. Feb 2018, 10:14

Socratis,

I'm happy to report that I was able to complete the installation and it's working now. After a restart in preparation for the steps you outlined I was able to 'Allow' in my Security & Privacy section Apps downloaded from Oracle. I had noticed in some previous discussion that this has been an issue for some with High Sierra so had that on my radar screen.

Thanks very much for your help!
monkeywithajetpack
 
Posts: 5
Joined: 20. Feb 2018, 14:02

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

Postby socratis » 22. Feb 2018, 11:31

monkeywithajetpack wrote:I was able to 'Allow' in my Security & Privacy section Apps downloaded from Oracle.
You weren't able to do so before, or you hadn't realized that you had to go through this process?

monkeywithajetpack wrote:this has been an issue for some with High Sierra
Still is. For most of the people. And no one knows the mechanism. I know what caused it: insanity. Sorry, I meant security.
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: 17090
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 monkeywithajetpack » 22. Feb 2018, 12:12

I wasnt able to do it before.
Last edited by socratis on 22. Feb 2018, 12:35, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
monkeywithajetpack
 
Posts: 5
Joined: 20. Feb 2018, 14:02

PreviousNext

Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 15 guests