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:
- Attempt to install guest additions as normal. This will fail.
- Open /usr/src/vboxguest-4.2.10/vboxvideo/vboxvideo_drm.c in a text editor (as root).
- At lines 91 and 117, change KERNEL_VERSION(3, 3, 0) to KERNEL_VERSION(3, 2, 0).
- sudo /etc/init.d/vboxadd setup
Guest additions should now be installed.
Attachments (1)
Change History (2)
by , 12 years ago
Attachment: | vboxadd-install.log added |
---|
comment:1 by , 12 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #11634.