VirtualBox

Opened 3 years ago

Closed 3 years ago

#20006 closed defect (fixed)

6.1.16 guest additions does not build on a linux 3.2.0 kernel => fixed in svn/6.1.x x>16

Reported by: ThatsEnough Owned by: paulson
Component: guest additions Version: VirtualBox 6.1.16
Keywords: vboxguest linux Cc:
Guest type: Linux Host type: Linux

Description

The vboxguest kernel module does not build on a 3.2.0 kernel because kmalloc_array did not appear until kernel 3.2.51 whereas the test in memobj-r0drv-linux.c tests for a 3.2.0 or higher kernel.

Thus the line (line no 60):

#if RTLNX_VER_MIN(3,2,0)
defined(DOXYGEN_RUNNING)

should be changed to

#if RTLNX_VER_MIN(3,2,51)
defined(DOXYGEN_RUNNING)

Change History (2)

comment:1 by paulson, 3 years ago

Owner: set to paulson
Status: newaccepted

Thanks for the report. We took a different approach to the fix but this has now been addressed in revision r142110 of the development branch of VirtualBox and will be available in any development snapshot Testbuilds of the Guest Additions which includes that revision. The fix has also been backported to the 6.1 branch of VirtualBox as of revision r142111 and will be available in any 6.1.x Testbuilds of the Guest Additions which include that revision. The fix will also be part of the next maintenance release of VirtualBox 6.1.x.

comment:2 by paulson, 3 years ago

Resolution: fixed
Status: acceptedclosed
Summary: 6.1.16 guest additions does not build on a linux 3.2.0 kernel6.1.16 guest additions does not build on a linux 3.2.0 kernel => fixed in svn/6.1.x x>16
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use