VirtualBox

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#18143 closed defect (invalid)

vboxsf install error on fedora 29 (kernel 4.19.2-300.fc29.x86_64) -> development issue, not a bug

Reported by: Vyacheslav Owned by:
Component: shared folders Version: VirtualBox 5.2.22
Keywords: Cc:
Guest type: Linux Host type: Mac OS X

Description

[  507.750113] vboxsf: loading out-of-tree module taints kernel.
[  507.750193] vboxsf: Unknown symbol VBoxGuest_RTMemTmpFree (err -2)
[  507.750200] vboxsf: Unknown symbol VBoxGuestIDC (err -2)
[  507.750210] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRequest (err -2)
[  507.750220] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRelease (err -2)
[  507.750228] vboxsf: Unknown symbol VBoxGuest_RTLogRelGetDefaultInstanceEx (err -2)
[  507.750236] vboxsf: Unknown symbol VBoxGuest_RTStrCopy (err -2)
[  507.750245] vboxsf: Unknown symbol VBoxGuest_RTErrConvertToErrno (err -2)
[  507.750256] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexCreate (err -2)
[  507.750264] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexDestroy (err -2)
[  507.750278] vboxsf: Unknown symbol VBoxGuest_RTAssertShouldPanic (err -2)
[  507.750287] vboxsf: Unknown symbol VBoxGuest_RTLogLoggerEx (err -2)
[  507.750297] vboxsf: Unknown symbol VBoxGuest_RTMemTmpAllocTag (err -2)
[  507.750306] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg1Weak (err -2)
[  507.750318] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg2Weak (err -2)

# rpm -qa | grep kernel | sort
kernel-4.19.2-300.fc29.x86_64
kernel-core-4.19.2-300.fc29.x86_64
kernel-devel-4.19.2-300.fc29.x86_64
kernel-headers-4.19.2-300.fc29.x86_64
kernel-modules-4.19.2-300.fc29.x86_64

# rpm -qa | grep gcc | sort
gcc-8.2.1-5.fc29.x86_64
gcc-c++-8.2.1-5.fc29.x86_64
libgcc-8.2.1-5.fc29.x86_64

Change History (10)

by Vyacheslav, 6 years ago

Attachment: build.log added

Build from source log

comment:1 by Michael Thayer, 6 years ago

Is this a normal Fedora 29 installation? When I update the one here I get kernel 4.18.18-300.fc29. Does the same thing happen if you create a Fedora 29 installation from scratch? Obviously this is something I can test too, but it might be a long time until I get to it due to other tasks.

comment:2 by Vyacheslav, 6 years ago

This build by packer (I use kickstart for install)
I update system to last kernel before install
You can remove vagrant-cloud from post-processor in packer.json
And create
folder http with ks.cfg file
folder scripts with bootstrap.sh file
And run packer build -debug -var "headless=false" packer.json

by Vyacheslav, 6 years ago

Attachment: packer.json added

Packer file

by Vyacheslav, 6 years ago

Attachment: ks.cfg added

Kickstart file

by Vyacheslav, 6 years ago

Attachment: bootstrap.sh added

Bootstrap script

comment:3 by Michael Thayer, 6 years ago

Resolution: invalid
Status: newclosed
Summary: vboxsf install error on fedora 29 (kernel 4.19.2-300.fc29.x86_64)vboxsf install error on fedora 29 (kernel 4.19.2-300.fc29.x86_64) -> development issue, not a bug

I'm afraid that we can't support non-default uses of our code on the bug tracker. (The vbox-dev mailing list might be a better place.) It is certainly great to see it happening, just that we don't have the resources for helping.

My quick guess is that you tried to use vboxsf without vboxguest, which it depends on, but I would rather not follow this up further on the bug tracker.

comment:4 by Vyacheslav, 6 years ago

Ok, I download fedora 29 netinstall from fedora site
https://download.fedoraproject.org/pub/fedora/linux/releases/29/Server/x86_64/iso/Fedora-Server-netinst-x86_64-29-1.2.iso
Install fedora with default options without any modifications
And I get kernel 4.19.5-300.fc29.x86_64
Then I login as root and mount VBoxGuestAdditions iso and install dev packages

dnf install kernel-devel gcc elfutils-libelf-devel
mount /dev/cdrom /mnt
cd /mnt
./VBoxLinuxAdditions.run

VirtualBox Guest Additions: modprobe vboxsf failed
lsmod | grep vbox
vboxguest 40960 2
vboxvideo 45056 1
drm_kms_helper 196608 1 vboxvideo
ttm 131072 1 vboxvideo
drm 487424 4 drm_kms_helper,vboxvideo,ttm

modprobe vboxsf
modprobe: ERROR: could not insert 'vboxsf': Unknown symbol in module, or unknown prameter (see dmsg)

comment:5 by Michael Thayer, 6 years ago

Try rebooting. Fedora 29 already has a copy of vboxguest which is not compatible with ours.

comment:6 by Vyacheslav, 6 years ago

Yes reboot help
So I need ignore this error in packer because after restart all work. Thanks

Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette