Friday, March 22, 2013

Virtual Box Guest Additions 4.2.10 in Latest Scientific Linux 6.3

This bug report helped me track down how to compile the OpenGL module. While the compiler error and fix for Scientific Linux (RHEL / CentOS) was different, than the one listed, the process was the same.
https://www.virtualbox.org/ticket/10756


Additionally, this bug was not encountered with the initial 6.3, but only when I updated. My system information is as follows:

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-358.2.1.el6.x86_64 #1 SMP Tue Mar 12 14:18:09 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# lsb_release -a
LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:    Scientific
Description:    Scientific Linux release 6.3 (Carbon)
Release:    6.3
Codename:    Carbon

3 comments:

  1. Not clear how the link you cite helps fix the issue. In my case the problem seems to be a missing include/linux/autoconf.h and that is not addressed by ticket #10756.

    ReplyDelete
    Replies
    1. Hello,

      After installing VirtualBox 4.2.10 Guest Additions and getting the OpenGL module failure, I did the following as root:

      1. cd /usr/src/vboxguest-4.2.10/vboxvideo
      2. edit vboxvideo_drm.c and change line 109 to:
      #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0) && !defined(DRM_RHEL63)
      3. /etc/init.d/vboxadd setup

      Delete
    2. That worked for me. Thanks!

      Delete