Opened 6 years ago
Last modified 6 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 )
/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)
Change History (8)
comment:1 by , 6 years ago
comment:2 by , 6 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
follow-up: 4 comment:3 by , 6 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).
comment:4 by , 6 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).
comment:5 by , 6 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 , 6 years ago
Description: | modified (diff) |
---|
comment:7 by , 6 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?
That should be Centos 7