Page 1 of 1

Anyone using openzfs and tuntaposx and VirtualBox

PostPosted: Thu Sep 28, 2017 6:54 am
by chunlinyao
Is there anyone using openzfs and tuntaposx and virtualbox on macOS.

When I installed openzfs and tuntaposx, Install Virtualbox will report an error, but all file has installed, the error is because virtualbox can not load the kext. After reboot I can use virtualbox, but I can not access any samba share from mac host. Remove any of the 3 product and reboot will fix the problem.

If there's some openzfs user, would you like to try install tuntaposx and VirtualBox. I don't known if the problem only affect me.
Is it possible that kexts from these 2 product have some conflicts?

Re: Anyone using openzfs and tuntaposx and VirtualBox

PostPosted: Thu Sep 28, 2017 4:13 pm
by lundman
If you use "kextstat", you can see if all 3 modules are loaded, and if one is missing, you can try to load it yourself with kextload $path, and for more verbose information, kextutil $path

There could be a chance that we all define a symbol name, so it can not load due to multiple definitions.

Re: Anyone using openzfs and tuntaposx and VirtualBox

PostPosted: Thu Sep 28, 2017 11:22 pm
by chunlinyao
Confirmed with `sudo kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'`
With openzfs and tuntaposx loaded, I can not load any VirtualBox kexts.

Finally I keep the openzfs(spl.kext, zfs.kext) and tap.kext, removed tun.kext. And modified the virtualbox startup script to not load VBoxNetAdp.kext.
Every things works. I can run vm guests and access samba shares from my macos host.

Re: Anyone using openzfs and tuntaposx and VirtualBox

PostPosted: Fri Sep 29, 2017 6:45 am
by chunlinyao
Some one mentioned there's free device slot limit in macos. It seems this is the cause. see the following links.
https://github.com/osxfuse/osxfuse/issu ... -251965641
https://github.com/osxfuse/osxfuse/issues/358

Re: Anyone using openzfs and tuntaposx and VirtualBox

PostPosted: Thu Oct 05, 2017 12:28 am
by lundman
That is interesting. We should only be using 1 slot, if that is indeed the case. Perhaps there is a boot-args switch to increase the setting?