VirtualBox

Ticket #11996 (closed defect: fixed)

Opened 9 months ago

Last modified 5 months ago

vboxvideo error -> fixed in 4.2.x and later releases as of Nov 11 2013

Reported by: Ashuras Owned by:
Priority: major 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

comment:1 Changed 6 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Please reopen if still relevant with VBox 4.3.2.

comment:2 Changed 6 months ago by DavidK

I still see this problem with VBox 4.3.2. Host OS is CentOS 5.10 64-bit, target OS is CentOS 6.1 64-bit.

Last edited 6 months ago by DavidK (previous) (diff)

comment:3 Changed 6 months ago by DavidK

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 5 months ago by michael

  • Summary changed from vboxvideo error to 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 Changed 5 months ago by alexar

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.

comment:6 Changed 5 months ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

Fixed in 4.3.4.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use