VirtualBox

Opened 4 years ago

Closed 4 years ago

#20166 closed defect (duplicate)

VBox 6.1.6 GAs don't build on Linux 5.10 kernels because alloc_vm_area removed => fixed in 6.1.18

Reported by: IlyaK Owned by:
Component: guest additions Version: VirtualBox 6.1.16
Keywords: linux kernel Cc:
Guest type: Linux Host type: all

Description

$ uname -r
5.10.0-2-amd64

(Debian bullseye)

Trying to compile extension:

/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjLinuxVMap’:
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:560:34: error: implicit declaration of function ‘alloc_vm_area’ [-Werror=implicit-function-declaration]

Here is why: https://patchwork.kernel.org/project/linux-mm/patch/20201017231539.rqXa9tuF3%[email protected]/

[37/40] mm: remove alloc_vm_area

Change History (1)

comment:1 by paulson, 4 years ago

Resolution: duplicate
Status: newclosed
Summary: VBox extensions don't work for the latest Linux kernel because alloc_vm_area removedVBox 6.1.6 GAs don't build on Linux 5.10 kernels because alloc_vm_area removed => fixed in 6.1.18

This is a duplicate of ticket #20055. The fix for this issue was delivered in VirtualBox 6.1.18 (in particular the 6.1.18 Guest Additions). I've confirmed this on Debian Bullseye myself.

Note: See TracTickets for help on using tickets.

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