Opened 11 years ago
Closed 11 years ago
#11996 closed defect (fixed)
vboxvideo error -> fixed in 4.2.x and later releases as of Nov 11 2013
| Reported by: | Ashuras | Owned by: | |
|---|---|---|---|
| Component: | guest additions | Version: | VirtualBox 4.2.16 |
| Keywords: | Cc: | ||
| Guest type: | Linux | Host type: | Windows |
Description
I am running VirtualBox v4.2.16 on Windows 8, trying to install RHEL 6.1 Enterprise Linux as a guest, with GUI. When I try to install Guest Additions in RHEL 6.1, the OpenGL support module failed.
In the /var/log/vboxadd-install.log, it says, /tmp/vbox.0/vboxvideo_drm.c: In function 'vboxvideo_init': /tmp/vbox.0/vboxvideo_drm.c:176: error: too many arguments to function 'drm_pci_init' /tmp/vbox.0/vboxvideo_drm.c: In function 'vboxvideo_exit': /tmp/vbox.0/vboxvideo_drm.c:185: error: implicit declaration of function 'drm_pci_exit'
Change History (6)
comment:1 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 11 years ago
I still see this problem with VBox 4.3.2. Host OS is CentOS 5.10 64-bite, target OS is CentOS 6.1 64-bit.
comment:3 by , 11 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:4 by , 11 years ago
| Summary: | vboxvideo error → vboxvideo error -> fixed in 4.2.x and later releases as of Nov 11 2013 |
|---|
Confirmed. Please see below for the fix which you can apply locally if you would like to test. Alternatively you can try the Additions build at
http://www.virtualbox.org/download/testcase/VBoxGuestAdditions_4.3.3-90519.iso
Index: /trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
===================================================================
--- /trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c (revision 88865)
+++ /trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c (revision 90512)
@@ -156,5 +156,5 @@
.fops = &driver_fops,
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && !defined(DRM_RHEL61)
+#ifndef DRIVER_BUS_PCI
.pci_driver =
{
@@ -171,5 +171,5 @@
};
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39) || defined(DRM_RHEL61)
+#ifdef DRIVER_BUS_PCI
static struct pci_driver pci_driver =
{
@@ -181,5 +181,5 @@
static int __init vboxvideo_init(void)
{
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && !defined(DRM_RHEL61)
+#ifndef DRIVER_BUS_PCI
return drm_init(&driver);
#else
@@ -190,5 +190,5 @@
static void __exit vboxvideo_exit(void)
{
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && !defined(DRM_RHEL61)
+#ifndef DRIVER_BUS_PCI
drm_exit(&driver);
#else
comment:5 by , 11 years ago
Thanks! Provided image solves the problem. kernel: 2.6.32-131.0.15.el6.x86_64 VB: 4.3.2 r90405
OpenGL build went fine this time.


Please reopen if still relevant with VBox 4.3.2.