VirtualBox

Opened 5 years ago

Last modified 5 years ago

#18169 new defect

Guest Additions will not install properly in Centos

Reported by: bc Owned by:
Component: guest additions Version: VirtualBox 5.2.22
Keywords: Cc:
Guest type: Linux Host type: Linux

Description (last modified by Michael Thayer)

/tmp/vbox.0/vbox_ttm.c: In function ‘vbox_bo_unpin’:
/tmp/vbox.0/vbox_ttm.c:486:2: error: too many arguments to function ‘ttm_bo_validate’
  ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
  ^
In file included from /tmp/vbox.0/vbox_drv.h:92:0,
                 from /tmp/vbox.0/vbox_ttm.c:31:
include/drm/ttm/ttm_bo_api.h:344:5: note: declared here
 int ttm_bo_validate(struct ttm_buffer_object *bo,
     ^
/tmp/vbox.0/vbox_ttm.c: In function ‘vbox_bo_push_sysram’:
/tmp/vbox.0/vbox_ttm.c:525:2: error: too many arguments to function ‘ttm_bo_validate’
  ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
  ^
In file included from /tmp/vbox.0/vbox_drv.h:92:0,
                 from /tmp/vbox.0/vbox_ttm.c:31:
include/drm/ttm/ttm_bo_api.h:344:5: note: declared here
 int ttm_bo_validate(struct ttm_buffer_object *bo,
     ^
make[2]: *** [/tmp/vbox.0/vbox_ttm.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2

Attachments (1)

CentOS7.6_errors.txt (14.5 KB ) - added by Christopher Juckins 5 years ago.
CentOS7.6 Guest Additions errors

Download all attachments as: .zip

Change History (8)

comment:1 by bc, 5 years ago

That should be Centos 7

comment:2 by Scott Rochford, 5 years ago

Confirming a similar experience here.

Seems to relate to changes in drm_encoder.h installed with kernel 3.10.0-957.1.3.el7.x86_64:

-rw-r--r--. 4 root root 8084 Aug 11 02:17 /usr/src/kernels/3.10.0-862.11.6.el7.x86_64/include/drm/drm_encoder.h
-rw-r--r--. 4 root root 8084 Aug 11 02:17 /usr/src/kernels/3.10.0-862.14.4.el7.x86_64/include/drm/drm_encoder.h
-rw-r--r--. 4 root root 8084 Aug 11 02:17 /usr/src/kernels/3.10.0-862.3.2.el7.x86_64/include/drm/drm_encoder.h
-rw-r--r--. 4 root root 8084 Aug 11 02:17 /usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/drm/drm_encoder.h
-rw-r--r--. 1 root root 8315 Nov 16 04:07 /usr/src/kernels/3.10.0-957.1.3.el7.x86_64/include/drm/drm_encoder.h

I downgraded to the following packages and vboxvideo compiles and works well again:

kmod-kvdo-6.1.0.181-17.el7_5.x86_64           Thu 06 Dec 2018 13:35:16 AEDT
kernel-devel-3.10.0-862.14.4.el7.x86_64       Thu 06 Dec 2018 13:33:29 AEDT
python-perf-3.10.0-862.14.4.el7.x86_64        Thu 06 Dec 2018 13:33:18 AEDT
kernel-tools-3.10.0-862.14.4.el7.x86_64       Thu 06 Dec 2018 13:33:17 AEDT
kernel-tools-libs-3.10.0-862.14.4.el7.x86_64  Thu 06 Dec 2018 13:33:16 AEDT
kernel-headers-3.10.0-862.14.4.el7.x86_64     Thu 06 Dec 2018 13:28:52 AEDT

by Christopher Juckins, 5 years ago

Attachment: CentOS7.6_errors.txt added

CentOS7.6 Guest Additions errors

comment:3 by Christopher Juckins, 5 years ago

Also confirming that upgrading my guest VM to CentOS's latest release (7.6 with kernel 3.10.0-957.1.3.el7.x86_64) does not compile/install Guest Additions correctly.

I am using VirtualBox 5.2.22 r126460 (Qt 5.6.1).

in reply to:  3 comment:4 by nsuper, 5 years ago

I'm having the same problem. --Edit: Installing the latest test build of guest additions fixed this. Replying to chrisj404:

Also confirming that upgrading my guest VM to CentOS's latest release (7.6 with kernel 3.10.0-957.1.3.el7.x86_64) does not compile/install Guest Additions correctly.

I am using VirtualBox 5.2.22 r126460 (Qt 5.6.1).

Last edited 5 years ago by nsuper (previous) (diff)

comment:5 by Christopher Juckins, 5 years ago

According to https://www.virtualbox.org/ticket/18093 it looks like this issue is solved in the latest test builds, or is being worked there. I am sure the next full release of Guest Additions (5.2.24) will have a fix for this problem.

The forums at https://forums.virtualbox.org/viewtopic.php?f=3&t=90103&start=15 have a good conversation about this issue.

comment:6 by Michael Thayer, 5 years ago

Description: modified (diff)

comment:7 by Michael Thayer, 5 years ago

Summary: Guest Additions will not install properly in Centos&Guest Additions will not install properly in Centos

Have you tried an Additions test build?

wiki:Testbuilds

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use