Page 1 of 1

GNU Linux Debian 10 - unable to modprobe vboxsf

Posted: 13. Oct 2020, 17:23
by canoodler
Host is Debian 10, Guest is Debian 10 and vboxsf used to work.
since

VirtualBox Version 6.1.2 r135662 (Qt5.11.3)

Code: Select all


hostnamectl; # guest
   Static hostname: debian10template
         Icon name: computer-vm
           Chassis: vm
    Virtualization: oracle
  Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.0-11-amd64
      Architecture: x86-64

# there is no qemu kvm installed on host
dpkg -l|grep qemu-kvm

apt update;
apt upgrade;
apt install build-essential module-assistant linux-headers-$(uname -r) vim

# recompile guest additions works
/virtualbox/VBoxLinuxAdditions.run

# loading the module ain't workin (never change a running system ay?)
modprobe vboxsf
modprobe: ERROR: could not insert 'vboxsf': Unknown symbol in module, or unknown parameter (see dmesg
no vboxsf no more (can not mount host shared folder)

something is seriously wrong with VBoxGuestAdditions.iso under Debian 10

Code: Select all

dmesg; # says
[  146.839836] 15:14:57.740338 main     VBoxService 6.1.2 r135662 (verbosity: 0) linux.amd64 (Jan 13 2020 12:06:55) release log
               15:14:57.74034
[  146.840109] 15:14:57.741154 main     OS Product: Linux
[  146.840365] 15:14:57.741371 main     OS Release: 4.19.0-11-amd64
[  146.840711] 15:14:57.741622 main     OS Version: #1 SMP Debian 4.19.146-1 (2020-09-17)
[  146.841328] 15:14:57.741968 main     Executable: /opt/VBoxGuestAdditions-6.1.2/sbin/VBoxService
               15:14:57.741969 main     Process ID: 10584
[  146.842885] 15:14:57.743782 main     6.1.2 r135662 started. Verbose level = 0
[  146.846211] 15:14:57.746944 main     vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1)
[  146.850221] 15:14:57.750977 main     Error: Failed to become guest control master: VERR_VERSION_MISMATCH
[  146.851184] 15:14:57.751802 main     Error: Service 'control' failed to initialize: VERR_VERSION_MISMATCH
[  146.851688] 15:14:57.752552 main     Session 0 is about to close ...
[  146.852792] 15:14:57.753628 main     Stopping all guest processes ...
[  146.853141] 15:14:57.754059 main     Closing all guest files ...
[  146.853658] 15:14:57.754698 main     Ended.
[  334.497075] vboxsf: loading out-of-tree module taints kernel.
[  334.497141] vboxsf: module verification failed: signature and/or required key missing - tainting kernel
[  334.497179] vboxsf: Unknown symbol VBoxGuest_RTLogBackdoorPrintf (err -2)
[  334.497199] vboxsf: Unknown symbol VBoxGuestIDC (err -2)
[  334.497218] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRequest (err -2)
[  334.497231] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRelease (err -2)
[  334.497239] vboxsf: Unknown symbol VBoxGuest_RTStrNLen (err -2)
[  334.497251] vboxsf: Unknown symbol VBoxGuest_RTLogRelGetDefaultInstanceEx (err -2)
[  334.497262] vboxsf: Unknown symbol VBoxGuest_RTStrCopy (err -2)
[  334.497273] vboxsf: Unknown symbol VBoxGuest_RTErrConvertToErrno (err -2)
[  334.497293] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexCreate (err -2)
[  334.497300] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexDestroy (err -2)
[  334.497311] vboxsf: Unknown symbol VBoxGuest_RTMemContFree (err -2)
[  334.497319] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRelease (err -2)
[  334.497330] vboxsf: Unknown symbol VBoxGuest_rtR0MemObjLinuxVirtToPage (err -2)
[  334.497343] vboxsf: Unknown symbol VBoxGuest_RTAssertShouldPanic (err -2)
[  334.497355] vboxsf: Unknown symbol VBoxGuest_RTLogLoggerEx (err -2)
[  334.497366] vboxsf: Unknown symbol VBoxGuest_RTMemContAlloc (err -2)
[  334.497376] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRequest (err -2)
[  334.497384] vboxsf: Unknown symbol VBoxGuest_RTSemMutexCreate (err -2)
[  334.497392] vboxsf: Unknown symbol VBoxGuest_RTSemMutexDestroy (err -2)
[  334.497405] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg1Weak (err -2)
[  334.497427] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg2Weak (err -2)
PS: maybe sshfs is better altogether X-D

plz help X-D

always those damn upgrades

Re: GNU Linux Debian 10 - unable to modprobe vboxsf

Posted: 24. Oct 2020, 09:12
by dbergst
If it helps anyone here, I have observed the same errors when vboxsf is modprobed on a Gentoo Linux guest.

Code: Select all

[   14.241573] vboxsf: loading out-of-tree module taints kernel.
[   14.241639] vboxsf: module verification failed: signature and/or required key missing - tainting kernel
[   14.241692] vboxsf: Unknown symbol VBoxGuest_RTLogBackdoorPrintf (err -2)
[   14.241724] vboxsf: Unknown symbol VBoxGuestIDC (err -2)
[   14.241759] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRequest (err -2)
[   14.241783] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRelease (err -2)
[   14.241799] vboxsf: Unknown symbol VBoxGuest_RTStrNLen (err -2)
[   14.241820] vboxsf: Unknown symbol VBoxGuest_RTLogRelGetDefaultInstanceEx (err -2)
[   14.241842] vboxsf: Unknown symbol VBoxGuest_RTStrCopy (err -2)
[   14.241862] vboxsf: Unknown symbol VBoxGuest_RTErrConvertToErrno (err -2)
[   14.241895] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexCreate (err -2)
[   14.241911] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexDestroy (err -2)
[   14.241932] vboxsf: Unknown symbol VBoxGuest_RTMemContFree (err -2)
[   14.241947] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRelease (err -2)
[   14.241969] vboxsf: Unknown symbol VBoxGuest_rtR0MemObjLinuxVirtToPage (err -2)
[   14.241992] vboxsf: Unknown symbol VBoxGuest_RTAssertShouldPanic (err -2)
[   14.242017] vboxsf: Unknown symbol VBoxGuest_RTLogLoggerEx (err -2)
[   14.242037] vboxsf: Unknown symbol VBoxGuest_RTMemContAlloc (err -2)
[   14.242057] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRequest (err -2)
[   14.242075] vboxsf: Unknown symbol VBoxGuest_RTSemMutexCreate (err -2)
[   14.242092] vboxsf: Unknown symbol VBoxGuest_RTSemMutexDestroy (err -2)
[   14.242116] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg1Weak (err -2)
[   14.242156] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg2Weak (err -2)

Re: GNU Linux Debian 10 - unable to modprobe vboxsf

Posted: 25. Oct 2020, 16:16
by scottgus1
Start the guest from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the guest from within the guest OS if possible. If not possible, close the Virtualbox window for the guest with the Power Off option set.

Right-click the guest in the main Virtualbox window's guest list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.

Also, right-click the guest in the main Virtualbox window's guest list, choose Show in File Manager. Zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.

Re: GNU Linux Debian 10 - unable to modprobe vboxsf

Posted: 19. Jan 2021, 01:55
by dbergst
Sorry for the long time responding. This issue in my Gentoo guest still persists. Attached is my log file per the request above.

Re: GNU Linux Debian 10 - unable to modprobe vboxsf

Posted: 19. Jan 2021, 16:14
by fth0
gentoo linux-2021-01-18-18-39-03.log wrote:
00:00:01.422815 VirtualBox VM 6.1.16 r140961 linux.amd64 (Oct 15 2020 16:00:50) release log
00:00:01.426481 Installed Extension Packs:
00:00:01.426494   Oracle VM VirtualBox Extension Pack (Version: 6.1.16 r140961; VRDE Module: VBoxVRDP)

00:00:28.925671 VMMDev: Guest Log: vboxguest: host-version: 6.1.16r140961 0x8000000f
00:00:28.925724 VMMDev: Guest Additions information report: Version 6.0.0 r127566 '6.0.0'

00:00:51.014414 VMMDev: Guest Log: 6.1.16_Gentoor140961
On the host, you're running the VirtualBox version 6.1.16 from Oracle, so far, so good. In the guest, you're running the VirtualBox Guest Additions (GA) 6.1.16 from Gentoo (not from Oracle), and the vboxguest.ko kernel module is version 6.0.0. I'd suggest to uninstall the GA, and install the official GA from Oracle.

Re: GNU Linux Debian 10 - unable to modprobe vboxsf

Posted: 19. Jan 2021, 19:48
by dbergst
Thanks, I switched to the Oracle GA and the errors are gone. Now to learn about shared folders! :D