VirtualBox

Opened 12 years ago

Closed 12 years ago

#11652 closed defect (duplicate)

Guest additions 4.2.10 fail under Debian Wheezy guests due to vboxvideo_drm.c error

Reported by: sphynx1 Owned by:
Component: guest additions Version: VirtualBox 4.2.10
Keywords: vboxvideo vboxvideo_drm.c Cc:
Guest type: Linux Host type: Linux

Description

#10756 has resurfaced. Guest additions 4.2.10 can't be installed as-is under Debian Wheezy guests. Compilation of the vboxvideo module fails at /tmp/vbox.0/vboxvideo_drm.c:119 (see attachment) due to what appears to be a kernel backport. As explained at vboxvideo_drm.c:92: "since linux-3.3.0-rc1 drm_driver::fops is pointer". This is true, however the 'fops' member of struct drm_driver is also a pointer in Debian Wheezy (kernel version 3.2.0-4-amd64). This can be seen at /usr/src/linux-headers-3.2.0-4-common/include/drm/drmP.h:921.

It is possible to work around this bug as follows:

  1. Attempt to install guest additions as normal. This will fail.
  2. Open /usr/src/vboxguest-4.2.10/vboxvideo/vboxvideo_drm.c in a text editor (as root).
  3. At lines 91 and 117, change KERNEL_VERSION(3, 3, 0) to KERNEL_VERSION(3, 2, 0).
  4. sudo /etc/init.d/vboxadd setup

Guest additions should now be installed.

Attachments (1)

vboxadd-install.log (153.4 KB ) - added by sphynx1 12 years ago.

Download all attachments as: .zip

Change History (2)

by sphynx1, 12 years ago

Attachment: vboxadd-install.log added

comment:1 by Frank Mehnert, 12 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #11634.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette