unable to install virtual box dkms

– Please Write here your help request, –
how i can install virtualbox in my parrot os

  • Parrot version in use (if you are not aware of it, open terminal and type cat /etc/os-release | grep VERSION):


  • Kernel version (if you are not aware of it, open terminal and type uname -r):


  • Logs/Terminal output (use pastebin or similar services):

  • Screenshots:

1 Like

Hi Sonu_Kumar,
could you please pastebin the output of the mentioned error log:



i am noob so please clearify what i have to do

i have the same problem

DKMS make.log for virtualbox-guest-6.1.22 for kernel 5.14.0-2parrot1-amd64 (x86_64)
dom 24 oct 2021 11:54:58 -05
make: se entra en el directorio ‘/usr/src/linux-headers-5.14.0-2parrot1-amd64’
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxguest/VBoxGuest-linux.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxguest/VBoxGuest.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxguest/common/string/strformatrt.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxguest/combined-agnostic.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxguest/combined-os-specific.o
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxguest/combined-os-specific.o: warning: objtool: VBoxGuest_RTR0MemKernelCopyFrom()+0x11: redundant CLD
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxguest/combined-os-specific.o: warning: objtool: VBoxGuest_RTR0MemKernelCopyTo()+0x11: redundant CLD
LD [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxguest/vboxguest.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/vfsmod.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/dirops.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/lnkops.o
CC [M] /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.o
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.c: In function ‘vbsf_iter_lock_pages’:
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.c:2129:15: error: ‘struct iov_iter’ has no member named ‘type’
2129 | if (!(iter->type & ITER_KVEC)) {
| ^~
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.c: In function ‘vbsf_iter_max_span_of_pages’:
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.c:2376:37: error: ‘struct iov_iter’ has no member named ‘type’
2376 | if (iter_is_iovec(iter) || (iter->type & ITER_KVEC)) {
| ^~
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.c:2439:28: error: ‘struct iov_iter’ has no member named ‘type’
2439 | size_t cSegs = iter->type & ITER_BVEC ? RT_MAX(1, iter->nr_segs) : 1;
| ^~
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.c: At top level:
/var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.c:3796:23: error: ‘simple_write_end’ undeclared here (not in a function); did you mean ‘simple_write_begin’?
3796 | .write_end = simple_write_end,
| ^~~~~~~~~~~~~~~~
| simple_write_begin
make[3]: *** [/usr/src/linux-headers-5.14.0-2parrot1-common/scripts/Makefile.build:276: /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf/regops.o] Error 1
make[3]: *** Se espera a que terminen otras tareas…
make[2]: *** [/usr/src/linux-headers-5.14.0-2parrot1-common/scripts/Makefile.build:519: /var/lib/dkms/virtualbox-guest/6.1.22/build/vboxsf] Error 2
make[1]: *** [/usr/src/linux-headers-5.14.0-2parrot1-common/Makefile:1882: /var/lib/dkms/virtualbox-guest/6.1.22/build] Error 2
make: *** [/usr/src/linux-headers-5.14.0-2parrot1-common/Makefile:232: __sub-make] Error 2

I also currently have this problem.

The problem happened because old version of vbox-dkms is not compatible with new kernel 5.14
This problem should be fixed because vbox-dkms has new update on Parrot. I’ve just installed it just fine.

1 Like


I tried to purge the packages and apparently it no longer generates error

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.