Hi, On 8/16/23 13:45, Sumitra Sharma wrote: > 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? [*] Yes. Virtualbox consists of 2 parts: 1. The hypervisor / hw-emulator on which virtual-machines run. This hypervisor itself runs on the host. 2. The guest addition utilities which can be installed inside a guest / virtual-machine running on top of VirtualBox. These allow things like copy and pasting between the guest and host and sharing a folder on the host with the guest. The host always uses out of tree kernel-modules. The guest can use the in tree kernel modules. > How can I make the in-tree vbox modules run? You can use these and specifically the vboxsf and vboxguest modules by installing Fedora 38 Workstation x86_64 as a virtualbox *guest* / inside a virtualbox vm and then share a folder on the host with the guest. Regards, Hans