﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
11652	Guest additions 4.2.10 fail under Debian Wheezy guests due to vboxvideo_drm.c error	sphynx1		"#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."	defect	closed	guest additions	VirtualBox 4.2.10	duplicate	vboxvideo vboxvideo_drm.c		Linux	Linux
