VirtualBox

Ticket #8940 (reopened enhancement)

Opened 3 years ago

Last modified 5 months ago

Use launchd daemon (or launchd agent) instead of deprecated StartupItem for VirtualBox on MacOSX => Fixed in SVN

Reported by: sierkb Owned by:
Priority: major Component: installer
Version: VirtualBox 4.0.8 Keywords:
Cc: Guest type: other
Host type: Mac OS X

Description (last modified by frank) (diff)

VirtualBox on MacOSX uses Startup Items (/Library/StartupItems/) and places files in /Library/StartupItems/VirtualBox .

Startup Items are deprecated since MacOSX 10.4 (and only recommended/allowed for legacy use) in favor of launchd daemons -- even more on MacOSX 10.5 and 10.6 and the forthcoming MacOSX 10.7.

See:

Apple Developer: MacOSX Reference Library: Technical Note TN2083: Daemons and Agents  http://developer.apple.com/library/mac/#technotes/tn2005/tn2083.html

Section "Old Systems and Technology" -> Deprecated Daemonomicon  http://developer.apple.com/library/mac/#technotes/tn2005/tn2083.html#SECOLDDAEMONOMICON

Suggested fix: Don't use a startup item placed in the (deprecated) directory /Library/StartupItems/ .

Instead, use a launchd daemon with a Property List placed in /Library/LaunchDaemons/ or a launchd agent with a Property List placed in /Library/LaunchAgents . For details and differences, see  http://developer.apple.com/library/mac/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794-CH1-SECTION2

 http://developer.apple.com/library/mac/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794-CH1-SUBSECTION2

 http://developer.apple.com/library/mac/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794-CH1-SUBSECTION3

Also see in the same document, section "Daemons"  http://developer.apple.com/library/mac/#technotes/tn2005/tn2083.html#SECDAEMONS

Apple Developer: MacOSX Reference Library: System Startup Programming Topics  http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/index.html

With major changes apparently coming for Mac OS X 10.7, this relatively simple fix should be given priority.

Change History

comment:1 Changed 3 years ago by sierkb

Any progress in this issue?

comment:2 Changed 2 years ago by sierkb

Any progress in this issue? Any estimated time of being fixed in the foreseeable future?

comment:3 Changed 2 years ago by rasur

+1 to this issue.

The problem I face because of this is that I want to run a headless VM (using VBoxheadless) and this fails since the headless vm is started by launchd which requires (but cannot specify any dependencies on) the VB kexts to be loaded.

The VBox kexts are loaded after the vboxheadless startup has already failed.

comment:4 Changed 8 months ago by Keri Henare

StartupItems no longer exist in Mac OS 10.9 Mavericks. StartupItems was deprecated 8 years ago. Host-only adapters (and possibly other functionality) cannot be used in Mac OS 10.9.

Temporary work around: sudo /Library/StartupItems/VirtualBox/VirtualBox start (Must be run after each restart)

comment:5 Changed 8 months ago by frank

  • Description modified (diff)

Thank you for this information!

comment:6 Changed 7 months ago by klaus

For some reason (just as a data point, not as a justification to delay the switching much further) it seems that (limited) support for StartupItems was visible in the latest DPs, but it is failing in strange ways.

comment:7 Changed 6 months ago by ouster

On Mavericks the above method does not work for me, however reinstalling Virtual Box on every reboot does. I consider this a major problem with Virtual Box on OS X Mavericks and should be given high priority.

comment:8 Changed 6 months ago by Keri Henare

Before you can sudo /Library/StartupItems/VirtualBox/VirtualBox start you have to sudo /Library/StartupItems/VirtualBox/VirtualBox stop as it will have been partially started on restart.

comment:9 Changed 6 months ago by frank

  • Summary changed from Use launchd daemon (or launchd agent) instead of deprecated StartupItem for VirtualBox on MacOSX to Use launchd daemon (or launchd agent) instead of deprecated StartupItem for VirtualBox on MacOSX => Fixed in SVN

Will be finally fixed in the next major release.

comment:10 Changed 6 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in VBox 4.3.

comment:11 follow-up: ↓ 13 Changed 6 months ago by ion

The problem still appears with VirtualBox 4.3 on Mavericks (10.9), official release. Reinstalling VirtualBox 4.3 after each reboot solves the problem.

I took the following steps:

  • I was using 4.2.18 before upgraded Mavericks, on Mountain Lion (10.8)
  • I upgraded to Mavericks, I noticed the issue
  • Found out that a 4.3 version of VirtualBox existed, installed it
  • problem fixed
  • after the first reboot, the problem appeared again
  • reinstalling VirtualBox fixes the issue (the VMs can be started) until the next reboot

comment:12 Changed 6 months ago by tlcarpenter

I installed Mavericks as a guest on a Mavericks host running VB 4.3. During the first boot of the guest, the out-of-box routine kept looping if I tried to manually configure the network settings so I eventually answered 'this computer doesn't connect to a network' (or similar wording). Once I was logged in to the guest, opening OS X's "System Preferences | Network" showed no Ethernet interfaces (nor could I add any by clicking "+"). I think I tried changing the VB guest's "Settings | Network | Adapter 1 | Attached to:" to "NAT" and started the guest but I still saw no Ethernet interfaces in OS X's "System Preferences | Network" nor could I add any, so I shut down the guest. To cut to the chase, I found this project

 https://github.com/pmj/virtio-net-osx

downloaded Virtio-net Driver 0.9.2.pkg to my Mavericks host from

 https://github.com/pmj/virtio-net-osx/blob/master/bin/Virtio-net%20Driver%200.9.2.pkg

and copied the .pkg file to and external USB drive. Then I started the Mavericks guest, copied the .pkg file to the guest from the external USB drive, installed the .pkg file, and manually configured the network settings. I shut down the guest and changed "Adapter 1 | Attached to: " to "Bridged Adapter" and "Adapter 1 | Adapter Type:" to "Paravirtualized Network (virtio-net)", restarted the guest, and now have a functional connection. These notes are taken from memory after spending a number of hours trying to install Mavericks as a fresh install on a new VM - wish I could say with absolute certainty that the sequence of events was exactly as written but it's the best I can do.

comment:13 in reply to: ↑ 11 ; follow-up: ↓ 14 Changed 6 months ago by rwstandridge

I had the same problem. Would work on first install but would fail after reboot. Re-installing made it work again.

I think the upgrade installer just has a bug. I read:

 http://jarneil.wordpress.com/2013/10/24/vritualbox-4-30-on-os-x-10-9-mavericks/

Long story short:

(1) sudo rm -rf /Library/Extensions/VBox* (2) re-install vbox 4.3.0

Replying to ion:

The problem still appears with VirtualBox 4.3 on Mavericks (10.9), official release. Reinstalling VirtualBox 4.3 after each reboot solves the problem.

I took the following steps:

  • I was using 4.2.18 before upgraded Mavericks, on Mountain Lion (10.8)
  • I upgraded to Mavericks, I noticed the issue
  • Found out that a 4.3 version of VirtualBox existed, installed it
  • problem fixed
  • after the first reboot, the problem appeared again
  • reinstalling VirtualBox fixes the issue (the VMs can be started) until the next reboot
Version 0, edited 6 months ago by rwstandridge (next)

comment:14 in reply to: ↑ 13 Changed 6 months ago by ion

Confirmed the workaround suggested by rwstandridge. I'm reopening the ticket in order to draw the attention to the installer issue that leaves the old version of the driver in /Library/Extensions, apparently causing the issue.

Apologies if reopening it is the incorrect course of action for this matter.

Replying to rwstandridge:

I had the same problem. Would work on first install but would fail after reboot. Re-installing made it work again.

I think the upgrade installer just has a bug. I read:

 http://jarneil.wordpress.com/2013/10/24/vritualbox-4-30-on-os-x-10-9-mavericks/

Long story short:

(1) sudo rm -rf /Library/Extensions/VBox*

(2) re-install vbox 4.3.0

Replying to ion:

The problem still appears with VirtualBox 4.3 on Mavericks (10.9), official release. Reinstalling VirtualBox 4.3 after each reboot solves the problem.

I took the following steps:

  • I was using 4.2.18 before upgraded Mavericks, on Mountain Lion (10.8)
  • I upgraded to Mavericks, I noticed the issue
  • Found out that a 4.3 version of VirtualBox existed, installed it
  • problem fixed
  • after the first reboot, the problem appeared again
  • reinstalling VirtualBox fixes the issue (the VMs can be started) until the next reboot

comment:15 Changed 6 months ago by ion

  • Status changed from closed to reopened
  • Resolution fixed deleted

Reopened the ticket to draw the attention to an apparent installer problem that leaves an old version of the driver in place, causing the same problem to appear, after upgrading from 4.2.18 to 4.3. Apologies if reopening it is the incorrect course of action for this matter.

Last edited 6 months ago by ion (previous) (diff)

comment:16 follow-up: ↓ 17 Changed 6 months ago by dj

I can confirm that this workaround also worked for me:

1) sudo rm -rf /Library/Extensions/VBox*

2) re-install VirtualBox 4.3

ion above suggested needing to re-install after each reboot, but I have not found that to be necessary.

Last edited 6 months ago by dj (previous) (diff)

comment:17 in reply to: ↑ 16 Changed 6 months ago by ion

Just to make things clear: reinstall after reboot was needed *before* removing the old, 4.2.18, extensions ("sudo rm -rf /Library/Extensions/VBox*"). After removal, everything worked fine.

Replying to dj:

I can confirm that this workaround also worked for me:

1) sudo rm -rf /Library/Extensions/VBox*

2) re-install VirtualBox 4.3

ion above suggested needing to re-install after each reboot, but I have not found that to be necessary.

comment:18 follow-up: ↓ 19 Changed 6 months ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

The problem with the installer leaving the old kernel extensions at the old place was fixed in 4.3.2. Closing.

comment:19 in reply to: ↑ 18 Changed 6 months ago by rwstandridge

Thanks! I hope I was some small help!

Replying to frank:

The problem with the installer leaving the old kernel extensions at the old place was fixed in 4.3.2. Closing.

comment:20 Changed 5 months ago by johnross.j.c

  • Status changed from closed to reopened
  • Resolution fixed deleted

Hi,

Even after doing the following:

1) sudo rm -rf /Library/Extensions/VBox*

2) re-install VirtualBox 4.3

Plus running the following:

sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist

I still got errors:

Command: ["hostonlyif", "create"]

Failed to create the host-only network interface. VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

(Same case even adding manually through UI)

VirtualBox 4.3.2 vagrant-berkshelf (1.3.4) vagrant-cachier (0.5.0) vagrant-omnibus (1.1.2) Vagrant 1.3.5 Berkshelf (2.0.10) OS X 10.9 (Mavericks)

Thanks.

comment:21 Changed 5 months ago by galitsyn

Could you please attach kextstat output and /var/log/system.log file?

Also, could you please check if running sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart resolves the issue for you?

comment:22 Changed 5 months ago by johnross.j.c

Index Refs Address            Size       Wired      Name (Version) <Linked Against>[[BR]]
    1   83 0xffffff80df4c1000 0x8d80     0x8d80     com.apple.kpi.bsd (13.0.0)[[BR]]
    2    6 0xffffff80df4ca000 0x28c0     0x28c0     com.apple.kpi.dsep (13.0.0)[[BR]]
    3  108 0xffffff80df504000 0x1dfb0    0x1dfb0    com.apple.kpi.iokit (13.0.0)[[BR]]
    4  114 0xffffff80df4cd000 0xbf40     0xbf40     com.apple.kpi.libkern (13.0.0)[[BR]]
    5  101 0xffffff80df522000 0x2d10     0x2d10     com.apple.kpi.mach (13.0.0)[[BR]]
    6   45 0xffffff80df525000 0x7d40     0x7d40     com.apple.kpi.private (13.0.0)[[BR]]
    7   59 0xffffff80df52d000 0x48e0     0x48e0     com.apple.kpi.unsupported (13.0.0)[[BR]]
    8    2 0xffffff7f807a5000 0x47000    0x47000    com.apple.kec.corecrypto (1.0) <7 6 5 4 3 1>[[BR]]
    9    0 0xffffff7f807ec000 0xb000     0xb000     com.apple.kec.pthread (1) <7 6 5 4 1>[[BR]]
   10   18 0xffffff7f807f7000 0x7000     0x7000     com.apple.iokit.IOACPIFamily (1.4) <7 6 4 3>[[BR]]
   11   27 0xffffff7f807fe000 0x28000    0x28000    com.apple.iokit.IOPCIFamily (2.8) <7 6 5 4 3>[[BR]]
   12    2 0xffffff7f80826000 0x59000    0x59000    com.apple.driver.AppleACPIPlatform (2.0) <11 10 7 6 5 4 3 1>[[BR]]
   13    1 0xffffff7f8087f000 0xa000     0xa000     com.apple.driver.AppleFDEKeyStore (28.30) <8 7 6 5 4 3 1>[[BR]]
   14    0 0xffffff7f80889000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (216.0.0) <7 6 5 4 3 1>[[BR]]
   15    0 0xffffff7f808ba000 0x12000    0x12000    com.apple.driver.AppleKeyStore (2) <8 7 6 5 4 3 1>[[BR]]
   16   11 0xffffff7f808cc000 0x25000    0x25000    com.apple.iokit.IOStorageFamily (1.9) <7 6 5 4 3 1>[[BR]]
   17    0 0xffffff7f808f1000 0x18000    0x18000    com.apple.driver.DiskImages (371.1) <16 7 6 5 4 3 1>[[BR]]
   18    1 0xffffff7f80909000 0xf000     0xf000     com.apple.iokit.IOReportFamily (21) <5 4 3>[[BR]]
   19    0 0xffffff7f80918000 0x8000     0x8000     com.apple.nke.applicationfirewall (153) <7 6 5 4 3 1>[[BR]]
   20    2 0xffffff7f80922000 0x5000     0x5000     com.apple.kext.AppleMatch (1.0.0d1) <4 1>[[BR]]
   21    1 0xffffff7f80927000 0x13000    0x13000    com.apple.security.sandbox (278.10) <20 7 6 5 4 3 2 1>[[BR]]
   22    0 0xffffff7f8093a000 0x7000     0x7000     com.apple.security.quarantine (3) <21 20 7 6 5 4 2 1>[[BR]]
   23    0 0xffffff7f80942000 0x3000     0x3000     com.apple.security.TMSafetyNet (7) <7 6 5 4 2 1>[[BR]]
   24    0 0xffffff7f80945000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (216.0.0) <7 6 5 4 3 1>[[BR]]
   25    0 0xffffff7f80949000 0x3000     0x3000     com.apple.driver.AppleAPIC (1.7) <4 3>[[BR]]
   26    3 0xffffff7f8094d000 0x3000     0x3000     com.apple.iokit.IOSMBusFamily (1.1) <5 4 3>[[BR]]
   27    0 0xffffff7f80950000 0x7000     0x7000     com.apple.driver.AppleACPIEC (2.0) <26 12 10 5 4 3>[[BR]]
   28    0 0xffffff7f80959000 0x4000     0x4000     com.apple.driver.AppleSMBIOS (2.0) <7 4 3>[[BR]]
   29    7 0xffffff7f8095e000 0x71000    0x71000    com.apple.iokit.IOHIDFamily (2.0.0) <13 7 6 5 4 3 2 1>[[BR]]
   30    0 0xffffff7f809cf000 0x4000     0x4000     com.apple.driver.AppleACPIButtons (2.0) <29 12 10 7 6 5 4 3 1>[[BR]]
   31    0 0xffffff7f809d5000 0x3000     0x3000     com.apple.driver.AppleHPET (1.8) <10 7 5 4 3>[[BR]]
   32    0 0xffffff7f809d9000 0x7000     0x7000     com.apple.driver.AppleRTC (2.0) <10 5 4 3 1>[[BR]]
   33    1 0xffffff7f809e2000 0x4000     0x4000     com.apple.driver.AppleEFIRuntime (2.0) <7 6 5 4 3>[[BR]]
   34    0 0xffffff7f809e6000 0x8000     0x8000     com.apple.driver.AppleSmartBatteryManager (161.0.0) <26 10 5 4 3 1>[[BR]]
   36   16 0xffffff7f809f7000 0x5e000    0x5e000    com.apple.iokit.IOUSBFamily (650.4.4) <11 7 5 4 3 1>[[BR]]
   37    0 0xffffff7f80a55000 0xd000     0xd000     com.apple.driver.AppleUSBOHCI (650.4.1) <36 11 5 4 3 1>[[BR]]
   38    0 0xffffff7f80a66000 0x18000    0x18000    com.apple.driver.AppleUSBEHCI (650.4.1) <36 11 7 5 4 3 1>[[BR]]
   39    0 0xffffff7f80a86000 0xf000     0xf000     com.apple.driver.NVSMU (2.2.9) <11 5 4 3>[[BR]]
   40    3 0xffffff7f80a95000 0x16000    0x16000    com.apple.iokit.IOAHCIFamily (2.6.0) <5 4 3 1>[[BR]]
   41    0 0xffffff7f80aab000 0x1a000    0x1a000    com.apple.driver.AppleAHCIPort (2.9.5) <40 11 5 4 3 1>[[BR]]
   42    0 0xffffff7f80acc000 0x9000     0x9000     com.apple.driver.AppleEFINVRAM (2.0) <33 7 6 5 4 3>[[BR]]
   43    0 0xffffff7f80ad5000 0x3000     0x3000     com.apple.iokit.IOUSBUserClient (650.4.4) <36 7 5 4 3 1>[[BR]]
   44    0 0xffffff7f80ad8000 0x17000    0x17000    com.apple.driver.AppleUSBHub (650.4.4) <36 5 4 3 1>[[BR]]
   45    7 0xffffff7f80af4000 0x2c000    0x2c000    com.apple.iokit.IONetworkingFamily (3.2) <7 6 5 4 3 1>[[BR]]
   46    1 0xffffff7f80b20000 0x7000     0x7000     com.apple.driver.mDNSOffloadUserClient (1.0.1b4) <45 4 3 1>[[BR]]
   47    1 0xffffff7f80b27000 0x5000     0x5000     com.apple.iokit.IOEthernetAVBController (1.0.3b3) <45 5 4 3 1>[[BR]]
   48    0 0xffffff7f80b2c000 0x39000    0x39000    com.apple.iokit.AppleBCM5701Ethernet (3.6.9b9) <47 46 45 11 10 6 5 4 3 1>[[BR]]
   49    2 0xffffff7f80b66000 0x73000    0x73000    com.apple.iokit.IOFireWireFamily (4.5.5) <5 4 3 1>[[BR]]
   50    0 0xffffff7f80bd9000 0x27000    0x27000    com.apple.driver.AppleFWOHCI (4.9.9) <49 11 7 6 5 4 3 1>[[BR]]
   51    1 0xffffff7f80c11000 0x78000    0x78000    com.apple.iokit.IO80211Family (600.34) <45 7 6 5 4 3 1>[[BR]]
   52    0 0xffffff7f80c89000 0x1f4000   0x1f4000   com.apple.driver.AirPort.Brcm4331 (700.20.22) <51 45 11 7 5 4 3 1>[[BR]]
   53    1 0xffffff7f80eb4000 0x6000     0x6000     com.apple.driver.AppleUSBComposite (650.4.0) <36 4 3 1>[[BR]]
   54    0 0xffffff7f80eba000 0x5000     0x5000     com.apple.driver.AppleUSBMergeNub (650.4.0) <53 36 4 3 1>[[BR]]
   55    6 0xffffff7f80ebf000 0x2a000    0x2a000    com.apple.iokit.IOSCSIArchitectureModelFamily (3.6.0) <5 4 3 1>[[BR]]
   56    0 0xffffff7f80ee9000 0xc000     0xc000     com.apple.iokit.IOAHCISerialATAPI (2.6.0) <55 40 5 4 3 1>[[BR]]
   57    0 0xffffff7f80ef5000 0x17000    0x17000    com.apple.iokit.IOAHCIBlockStorage (2.4.0) <40 16 6 5 4 3 1>[[BR]]
   58    0 0xffffff7f808b4000 0x3000     0x3000     com.apple.AppleFSCompression.AppleFSCompressionTypeDataless (1.0.0d1) <7 6 4 3 2 1>[[BR]]
   59    0 0xffffff7f80a7e000 0x4000     0x4000     com.apple.AppleFSCompression.AppleFSCompressionTypeZlib (1.0.0d1) <6 4 3 2 1>[[BR]]
   60    0 0xffffff7f80c00000 0x9000     0x9000     com.apple.BootCache (35) <7 6 5 4 3 1>[[BR]]
   61    0 0xffffff7f80a62000 0x3000     0x3000     com.apple.driver.XsanFilter (404) <16 5 4 3 1>[[BR]]
   62    1 0xffffff7f80e7d000 0x14000    0x14000    com.apple.iokit.IOSCSIBlockCommandsDevice (3.6.0) <55 16 5 4 3 1>[[BR]]
   63    1 0xffffff7f80e91000 0x11000    0x11000    com.apple.iokit.IOUSBMassStorageClass (3.6.0) <55 36 16 5 4 3 1>[[BR]]
   64    0 0xffffff7f80ea2000 0x8000     0x8000     com.apple.driver.AppleUSBCardReader (3.3.5) <63 62 55 36 16 5 4 3 1>[[BR]]
   66    4 0xffffff7f80c09000 0x8000     0x8000     com.apple.iokit.IOUSBHIDDriver (650.4.4) <36 29 5 4 3 1>[[BR]]
   67    0 0xffffff7f80ac5000 0x4000     0x4000     com.apple.driver.AppleUSBTCKeyboard (240.2) <66 36 29 7 6 5 4 3 1>[[BR]]
   68    0 0xffffff7f80eaa000 0x4000     0x4000     com.apple.driver.AppleIRController (325.7) <66 36 29 5 4 3>[[BR]]
   69    3 0xffffff7f80f0c000 0xd000     0xd000     com.apple.iokit.IOCDStorageFamily (1.7.1) <16 5 4 3 1>[[BR]]
   70    2 0xffffff7f80f19000 0xb000     0xb000     com.apple.iokit.IODVDStorageFamily (1.7.1) <69 16 5 4 3 1>[[BR]]
   71    1 0xffffff7f80f24000 0x9000     0x9000     com.apple.iokit.IOBDStorageFamily (1.7) <70 69 16 5 4 3 1>[[BR]]
   72    0 0xffffff7f80f2d000 0x1a000    0x1a000    com.apple.iokit.IOSCSIMultimediaCommandsDevice (3.6.0) <71 70 69 55 16 5 4 3 1>[[BR]]
   73    0 0xffffff7f80f47000 0x7000     0x7000     com.apple.iokit.SCSITaskUserClient (3.6.0) <55 16 5 4 3 1>[[BR]]
   75    0 0xffffff7f80f4e000 0x13000    0x13000    com.apple.driver.AppleUSBMultitouch (240.6) <66 36 29 6 5 4 3 1>[[BR]]
   76    0 0xffffff7f80a82000 0x3000     0x3000     com.apple.driver.AppleUSBTCButtons (240.2) <66 36 29 7 6 5 4 3 1>[[BR]]
   77    1 0xffffff7f80aef000 0x5000     0x5000     com.apple.kext.triggers (1.0) <7 6 5 4 3 1>[[BR]]
   78    0 0xffffff7f80f61000 0x9000     0x9000     com.apple.filesystems.autofs (3.0) <77 7 6 5 4 3 1>[[BR]]
   79    4 0xffffff7f80f6a000 0xe000     0xe000     com.apple.driver.AppleSMC (3.1.6d1) <10 7 5 4 3>[[BR]]
   80    0 0xffffff7f80f78000 0x7000     0x7000     com.apple.driver.SMCMotionSensor (3.0.4d1) <79 5 4 3>[[BR]]
   82   12 0xffffff7f80f7f000 0x37000    0x37000    com.apple.iokit.IOGraphicsFamily (2.3.6) <11 7 5 4 3 1>[[BR]]
   83    2 0xffffff7f80fb6000 0xe000     0xe000     com.apple.driver.AppleSMBusController (1.0.11d1) <26 11 10 5 4 3>[[BR]]
   84    0 0xffffff7f80fc4000 0xd000     0xd000     com.apple.driver.AppleMCCSControl (1.1.12) <83 82 11 10 7 5 4 3 1>[[BR]]
   85    4 0xffffff7f80fd1000 0x8000     0x8000     com.apple.driver.IOPlatformPluginFamily (5.5.1d27) <10 7 6 5 4 3>[[BR]]
   86    0 0xffffff7f80fd9000 0x3000     0x3000     com.apple.driver.AppleLPC (1.7.0) <85 11 5 4 3>[[BR]]
   87    0 0xffffff7f80ac9000 0x3000     0x3000     com.apple.driver.AppleSMBusPCI (1.0.12d1) <11 5 4 3>[[BR]]
   88    1 0xffffff7f80fdc000 0x12000    0x12000    com.apple.driver.IOPlatformPluginLegacy (1.0.0) <85 10 7 6 5 4 3>[[BR]]
   89    0 0xffffff7f80fee000 0x10000    0x10000    com.apple.driver.ACPI_SMC_PlatformPlugin (1.0.0) <88 85 79 11 10 7 6 5 4 3>[[BR]]
   90    0 0xffffff7f80ffe000 0x3000     0x3000     com.apple.driver.AppleHWAccess (1) <7 5 4 3>[[BR]]
   91    0 0xffffff7f81001000 0x5000     0x5000     com.apple.driver.AppleSMCLMU (2.0.4d1) <82 79 5 4 3>[[BR]]
   92    2 0xffffff7f81006000 0xc000     0xc000     com.apple.iokit.IOHDAFamily (2.5.2fc2) <5 4 3 1>[[BR]]
   93    1 0xffffff7f81012000 0x18000    0x18000    com.apple.driver.AppleHDAController (2.5.2fc2) <92 82 11 7 6 5 4 3 1>[[BR]]
   94    0 0xffffff7f8102a000 0xd000     0xd000     com.apple.iokit.IOFireWireIP (2.2.5) <49 45 5 4 3 1>[[BR]]
   95    1 0xffffff7f81037000 0x1b000    0x1b000    com.apple.iokit.IOBluetoothHostControllerUSBTransport (4.2.0f6) <36 11 10 7 5 4 3 1>[[BR]]
   96    0 0xffffff7f81052000 0x7000     0x7000     com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport (4.2.0f6) <95 36 11 10 7 5 4 3>[[BR]]
   97    6 0xffffff7f81059000 0xe000     0xe000     com.apple.iokit.IONDRVSupport (2.3.6) <82 11 7 5 4 3>[[BR]]
   98    1 0xffffff7f81067000 0x5000     0x5000     com.apple.driver.AppleBacklightExpert (1.0.4) <97 82 11 5 4 3>[[BR]]
   99    0 0xffffff7f8106c000 0x5000     0x5000     com.apple.driver.AppleBacklight (170.3.5) <98 97 82 11 5 4 3>[[BR]]
  100    0 0xffffff7f81071000 0x16000    0x16000    com.apple.driver.AppleMikeyDriver (2.5.2fc2) <83 10 5 4 3 1>[[BR]]
  101    0 0xffffff7f81087000 0x5000     0x5000     com.apple.Dont_Steal_Mac_OS_X (7.0.0) <79 7 4 3 1>[[BR]]
  102    2 0xffffff7f8108c000 0x11000    0x11000    com.apple.kext.OSvKernDSPLib (1.14) <5 4>[[BR]]
  103    3 0xffffff7f8109d000 0x2f000    0x2f000    com.apple.iokit.IOAudioFamily (1.9.4fc11) <102 5 4 3 1>[[BR]]
  104    1 0xffffff7f810cc000 0x2f000    0x2f000    com.apple.vecLib.kext (1.0.0) <6 5 4 3>[[BR]]
  105    1 0xffffff7f810fb000 0xca000    0xca000    com.apple.driver.DspFuncLib (2.5.2fc2) <104 103 102 6 5 4 3 1>[[BR]]
  106    0 0xffffff7f811c5000 0x8f000    0x8f000    com.apple.driver.AppleHDA (2.5.2fc2) <105 103 97 93 92 82 6 5 4 3 1>[[BR]]
  108    2 0xffffff7f81254000 0x26f000   0x26f000   com.apple.nvidia.classic.NVDAResmanTesla (8.1.8) <97 82 11 5 4 3 1>[[BR]]
  109    0 0xffffff7f814c3000 0x2ad000   0x2ad000   com.apple.nvidia.classic.NVDANV50HalTesla (8.1.8) <108 11 4 3>[[BR]]
  110    0 0xffffff7f81770000 0xcb000    0xcb000    com.apple.GeForceTesla (8.1.8) <108 97 82 11 7 6 5 4 3 1>[[BR]]
  113    0 0xffffff7f81851000 0x3000     0x3000     com.apple.driver.AppleMikeyHIDDriver (124) <29 7 4 3 1>[[BR]]
  114    0 0xffffff7f81854000 0x9d000    0x9d000    com.apple.iokit.IOBluetoothFamily (4.2.0f6) <36 18 7 5 4 3 1>[[BR]]
  117    1 0xffffff7f818fc000 0x4000     0x4000     com.apple.AppleGraphicsDeviceControl (3.4.12) <7 6 5 4 3 1>[[BR]]
  118    0 0xffffff7f81900000 0x12000    0x12000    com.apple.driver.AGPM (100.14.11) <117 97 85 82 11 5 4 3>[[BR]]
  119    0 0xffffff7f81912000 0x5000     0x5000     com.apple.driver.AppleUpstreamUserClient (3.5.13) <82 11 10 7 5 4 3 1>[[BR]]
  120    1 0xffffff7f81917000 0xe000     0xe000     com.apple.iokit.IOSerialFamily (10.0.7) <7 6 5 4 3 1>[[BR]]
  121    0 0xffffff7f81925000 0xa000     0xa000     com.apple.iokit.IOBluetoothSerialManager (4.2.0f6) <120 7 5 4 3 1>[[BR]]
  122    0 0xffffff7f8192f000 0x12000    0x12000    com.apple.iokit.IOSurface (91) <7 5 4 3 1>[[BR]]
  123    0 0xffffff7f81941000 0x7000     0x7000     com.apple.iokit.IOUserEthernet (1.0.0d1) <45 6 5 4 3 1>[[BR]]
  124    0 0xffffff7f81948000 0x45000    0x45000    org.virtualbox.kext.VBoxDrv (4.3.2) <7 5 4 3 1>[[BR]]
  125    0 0xffffff7f8198d000 0x5000     0x5000     com.apple.driver.AppleHWSensor (1.9.5d0) <5 4 3>[[BR]]
  126    0 0xffffff7f81992000 0x5000     0x5000     com.apple.driver.AudioAUUC (1.60) <103 82 11 10 7 5 4 3 1>[[BR]]
  130    0 0xffffff7f819aa000 0x11000    0x11000    org.fuse4x.kext.fuse4x (0.9.2) <7 5 4 3 1>[[BR]]
  132    0 0xffffff7f8183b000 0xd000     0xd000     com.apple.nke.asp-tcp (8.0.0) <7 6 5 4 3 1>[[BR]]
  133    1 0xffffff7f819bb000 0x11000    0x11000    com.apple.security.SecureRemotePassword (1.0) <4 1>[[BR]]
  134    0 0xffffff7f819cc000 0x4f000    0x4f000    com.apple.filesystems.afpfs (11.0) <133 7 6 5 4 3 1>[[BR]]
Last edited 5 months ago by galitsyn (previous) (diff)

comment:23 Changed 5 months ago by johnross.j.c

As for sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

Unloading VBoxDrv.kex
(kernel) Can't remove kext org.virtualbox.kext.VBoxDrv; services failed to terminate - 0xe00002c7.
Failed to unload org.virtualbox.kext.VBoxDrv - (iokit/common) unsupported function.
Error: Failed to unload VBoxDrv.kext
Fatal error: VirtualBox

comment:24 Changed 5 months ago by galitsyn

It looks very likely that you have VBox process(es) running while attempting to unload VBoxDrv.kext.

Please check ps -Af | grep -i vbox output and if there are some processes just do pkill -9 VBox. Then re-do sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart.

comment:25 Changed 5 months ago by hanxue

Following this issue - affecting Vagrant on OS X Mavericks  https://github.com/mitchellh/vagrant/issues/1671

comment:26 Changed 5 months ago by johnross.j.c

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

fixed it after machine reboot. It has to do with locked VBox kext.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use