Opened 10 years ago
Closed 10 years ago
#13265 closed defect (fixed)
vboxvideo does not behave well with drm_wait_vblank() -> fixed in 4.3 and later releases after 29 August 2014
Reported by: | k-s | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 4.3.14 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Mac OS X |
Description
Using vboxvideo and the attached test case (which calls drm_wait_vblank()) triggers a kernel oops.
This happens with VirtualBox 4.3.14 official binary and extension pack (virtualbox.org) for MacOS 10.9.4 as host and ArchLinux 32bits kernel 3.15.8-1-ARCH + virtualbox-guest-modules 4.3.14-3.
It was found running Enlightenment from GIT that uses similar code path, but the attached test case is the minimum version.
Attachments (3)
Change History (7)
by , 10 years ago
Attachment: | vbox-vblank-crash.c added |
---|
comment:1 by , 10 years ago
Also reproduces on Fedora 20, kernel 3.15.8-200.fc20.x86_64, SMP. Oops attached.
by , 10 years ago
Attachment: | oops-fedora-20-kernel-3.15.8-200.txt added |
---|
comment:2 by , 10 years ago
Could you see if applying the following patch to the vboxvideo source (on your guest) and rebuilding it helps?
Index: vboxvideo_drm.c =================================================================== --- vboxvideo_drm.c (revision 95379) +++ vboxvideo_drm.c (working copy) @@ -112,11 +112,7 @@ int vboxvideo_driver_load(struct drm_device * dev, unsigned long flags) { -# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28) - return drm_vblank_init(dev, 1); -#else return 0; -#endif } #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) || defined(DRM_FOPS_AS_POINTER) /* since linux-3.3.0-rc1 drm_driver::fops is pointer */
comment:3 by , 10 years ago
Summary: | vboxvideo does not behave well with drm_wait_vblank() → vboxvideo does not behave well with drm_wait_vblank() -> fixed in 4.3 and later releases after 29 August 2014 |
---|
No response, so I just committed the patch.
vbox-vblank-crash.c