Re: Inbox vboxsf not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 8/27/23 14:54, sumitra sharma wrote:
> 
> 
> On Wed, Aug 16, 2023 at 11:03 PM Hans de Goede <hdegoede@xxxxxxxxxx <mailto:hdegoede@xxxxxxxxxx>> wrote:
> 
>     Hi all,
> 
>     On 8/16/23 19:02, Ira Weiny wrote:
>     > Hans de Goede wrote:
>     >> 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,
>     >>>>
>     >
>     > [snip]
>     >
>     >>>
>     >>> 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.
>     >
>     > Hans,
>     >
>     > Thanks for this clarification.  This is my fault for leading Sumitra to
>     > believe that the in tree modules could replace the guest additions for the
>     > VirtualBox hypervisor.
> 
>     Actually the in tree modules can replace the *guest* kernel modules which are shipped with the guest additions from virtualbox.
> 
>     >> 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.
>     >>
>     >
>     > I took your original email to mean that some in tree modules could be out
>     > of sync with the interfaces used by code coming from Oracle.
>     >
>     > I'm curious are there also out of tree modules for the guest support?
> 
>     Yes the guest-additions contain out of tree modules (1). Since Sumitra plans to work on the in tree modules, those should NOT be installed.
> 
>     The easiest way to avoid installing the out-of-tree guest modules is to just not install the official guest additions at all.
> 
>     Fedora comes with pre-packaged guest additions which only contain the (FOSS) userspace parts, relying on the in tree vbox guest kernel modules.
> 
> 
> Hi Hans,
> 
> I set up the Fedora-64bit machine to test the vboxsf changes. But I was also trying to create another 32-bit machine and enable the HIGHMEM 4G option to test the kmap changes in the vboxsf. I discovered that all Linux distros other than Fedora require installation of the Virtualbox guest additions to share a folder between the host and the guest [1]. It is because Fedora has open-vm-tools inside its repository and is part of the default installation, which other distros do not have. Is there any other way to create a successful 32-bit machine to test the vboxsf changes without installing the Virtualbox guest additions? I tried Ubuntu, Debian, and OpenSUSE.

You can install the vbox guest additions and then after installation remove the vboxguest and vboxsf modules which the virtubal-guest-additions installer will have installed under /lib/modules/<$kver>/updates I think.

After removing the modules from the updates dir run "depmod -a" and reboot and then check if they have not been re-added by some startup script ...

Regards,

Hans





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux