On Wed, Aug 16, 2023 at 09:28:51AM +0200, Hans de Goede wrote: > Hi Sumitra, > > On 8/15/23 16:43, sumitra sharma wrote: > > Hello Hans, > > > > I am writing in reference to the vboxsf patch [1]. It has been a while since we have talked about this. It is because it took me time to set up the basic environment. I earlier had Windows as my host machine and was working on this project through Virtual Machine. But I see this created many issues and lowered my resources. However, I have changed my host machine to Ubuntu and again started working on the project. > > > > I downloaded and installed the Oracle VirtualBox 7.0, and during the installation, it built and installed the Oracle VM VirtualBox kernel modules: *vboxdrv*, *vboxnetflt*, and *vboxnetadp*. Since they are the out-of-tree Oracle installed modules. I manually removed them and installed and loaded the in-tree vbox modules: *vboxsf*, *vboxguest*, *vboxvideo*. But the VirtualBox still throws the following error: > > > > The VirtualBox Dialogue error: > > > > "The VirtualBox Linux kernel driver is either not loaded or not set up correctly. VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed." > > > > and the command line error: > > > > sumitra@sumitra:/boot$ virtualbox > > WARNING: The vboxdrv kernel module is not loaded. Either there is no module > > available for the current kernel (6.5.0-rc4sumitra+) or it failed to > > load. Please recompile the kernel module and install it by > > > > sudo /sbin/vboxconfig > > > > You will not be able to start VMs until this problem is fixed. > > > > Please let me know if there is some other module missing which hasn't been loaded yet. I would be glad if you could help me set up the vboxsf testing environment. > > The mainline kernel modules only support vbox guest functionality. If you are using Linux as a virtualbox host / hypervisor then you do need the vbox out of tree host modules on the host side for things to work. Hi Hans, Can you please specify what you mean by "vbox guest functionality"? Are you talking about the guest addition utilities which VirtualBox offers and about which you warned not to install them? [*] How can I make the in-tree vbox modules run? Is there something else you like me to set up for this? I want the in-tree vboxsf module to be used by the VirtualBox so that I can test any changes I make in the vboxsf files. Thanks & regards Sumitra [*]: https://lore.kernel.org/lkml/2882298.SvYEEZNnvj@suse/T/#m6136855637d2da03a894edf7d1f869484e626694 > > Regards, > > Hans > >