Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2020 13:38:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 244962] emulators/virtualbox-ose-additions mount -t vboxsf Operation not supported by device
Message-ID:  <bug-244962-26505-uKzdOPhurV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244962-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244962-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244962

--- Comment #3 from groenveld@acm.org ---
The kernel does not offer bcmp:
$ nm /boot/kernel/kernel|grep -i bcmp
ffffffff80cb4610 T timingsafe_bcmp

The port links vboxvfs.ko with a library that references bcmp
$ cat
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs.dep
define vboxvfs_CMDS_PREV_

@kmk_builtin_rm -f --
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs.dep
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs.ko

/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs.map
ld               -d --warn-common   -m elf_x86_64_fbsd   -r -o=20
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs.ko
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs_vfsops.o
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs_vnops.o
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs_prov.o
=20=20
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/lib/additions/VBoxGuestR0Lib.a
=20
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/lib/additions/RuntimeGuestR0.a
awk -f /usr/src/sys/conf/kmod_syms.awk=20
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs.ko
/dev/null | xargs -J% objcopy %
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/obj/vboxvfs/vboxvfs.ko
endef
$ nm
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.34/out/fr=
eebsd.amd64/release/lib/additions/RuntimeGuestR0.a
| grep -B13 bcmp
strformatrt.o:
                 U VBoxGuest_RTStrFormat
                 U VBoxGuest_RTStrFormatNumber
0000000000000000 r _ZL13g_szHexDigits
0000000000002060 t _ZL15rtstrFormatIPv6PFmPvPKcmES_PK10RTUINT128U
0000000000000000 r _ZZ13rtstrFormatRtE12s_wszBigNull
0000000000000280 r _ZZ13rtstrFormatRtE8s_aTypes
0000000000000870 r _ZZ13rtstrFormatRtE8s_aTypes_0
0000000000000850 r _ZZ13rtstrFormatRtE8s_szNull
0000000000000857 r _ZZ13rtstrFormatRtE8s_szTrue
000000000000085d r _ZZ13rtstrFormatRtE9s_szFalse
                 U __start_set_pcpu
                 U __stop_set_pcpu
                 U bcmp

Someone with an understanding of FreeBSD kernel modules will have to explain
where things went sideways.
John
groenveld@acm.org

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244962-26505-uKzdOPhurV>