virtualbox-guest-6.1.16 DKMS compilation failed
TuxNuX
Status: New User - Welcome
Joined: 11 Jan 2021
Posts: 4
Reply Quote
compilation failed with kernel 5.10.0-6.1-liquorix-amd64
:: Quote ::
DKMS make.log for virtualbox-guest-6.1.16 for kernel 5.10.0-6.1-liquorix-amd64 (x86_64)
lundi 11 janvier 2021, 23:27:10 (UTC+0100)
make : on entre dans le répertoire « /usr/src/linux-headers-5.10.0-6.1-liquorix-amd64 »
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxguest/VBoxGuest-linux.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxguest/VBoxGuest.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxguest/common/string/strformatrt.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxguest/combined-agnostic.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxguest/combined-os-specific.o
/var/lib/dkms/virtualbox-guest/6.1.16/build/vboxguest/combined-os-specific.o: warning: objtool: VBoxGuest_RTR0MemKernelCopyTo()+0xd: redundant CLD
/var/lib/dkms/virtualbox-guest/6.1.16/build/vboxguest/combined-os-specific.o: warning: objtool: VBoxGuest_RTR0MemKernelCopyFrom()+0xd: redundant CLD
LD [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxguest/vboxguest.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/vfsmod.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/dirops.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/lnkops.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/regops.o
/var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/regops.c: In function ‘vbsf_lock_user_pages_failed_check_kernel’:
/var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/regops.c:1406:24: error: ‘USER_DS’ undeclared (first use in this function); did you mean ‘USER_HZ’?
&& uPtrFrom >= USER_DS.seg)
^~~~~~~
USER_HZ
/var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/regops.c:1406:24: note: each undeclared identifier is reported only once for each function it appears in
CC [M] /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/utils.o
make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf/regops.o] Error 1
make[2]: *** Attente des tâches non terminées....
make[1]: *** [scripts/Makefile.build:496: /var/lib/dkms/virtualbox-guest/6.1.16/build/vboxsf] Error 2
make: *** [Makefile:1814: /var/lib/dkms/virtualbox-guest/6.1.16/build] Error 2
make : on quitte le répertoire « /usr/src/linux-headers-5.10.0-6.1-liquorix-amd64 »


good work with kernel 5.9.0-5mx-amd64 (from mx-linux 19.3)
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
Yep, all the major frozen distros haven't bothered to patch VirtualBox, and neither has Oracle themselves. It's been fixed in Arch for almost 30 days now: github.com/archlinux/svntogit-community/commit/7dd7b4d6f2ee7a64dbba5d1a96a08160cf5b0305#diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a

Really no advice here, switch to Arch Linux if you want to use an up-to-date kernel and working DKMS packages, or give patching VirtualBox yourself a try.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
VirtualBox 6.1.18 is out with official support for Linux 5.10: www.virtualbox.org/wiki/Changelog-6.1#v18
Back to top
Display posts from previous:   

All times are GMT - 8 Hours