[Disco][PATCH v2] Re-enable DRM Support for bochs (qemu stdvga)

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Apr 1 10:11:17 UTC 2019

changes v2 -> v3:
* rebase on current master-next

changes v1 -> v2:
* actually include the kconfig CONFIG_DRM_BOCHS=m change in the patch

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1795857

Booting a Ubuntu with Cosmic kernel inside a QEMU VM with 'stdvga' as display
hangs on gdm unit, display stays black with a single shell cursor blinking in
the upper edge. If switching same VM to another display tipe (e.g., qxl) allows
it to boot just fine.

Re-enable the DRM_BOCHS driver to be build as module.

[Test Case]
Start an installed Ubuntu 19.04 (e.g., from Beta or weekly built ISOs) inside a
VM with display 'stdvga'. The installer itself will work, but once you reboot
you get a broken system. With this patch _and_ the 'blacklist bochs-drm' entry
from 'kmod' package shipped '/etc/modprobe.d/blacklist-framebuffer.conf' removed
the system boots as expected, gdm can startup and one can login through a
graphical session

[Regression Potential]
Low. Even the original bug report pondered if it would be better to fix
bochs-drm instead of plain disabling it. I could not relate to it, but I do not
have PowerPC hardware to test it. I still mark regression potential low as the
driver can get simply blacklisted for cases it isn't wanted or makes problems.

Thomas Lamprecht (1):
  UBUNTU: [Config] Reenable DRM_BOCHS as module

 debian.master/config/annotations          | 3 +--
 debian.master/config/config.common.ubuntu | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)


More information about the kernel-team mailing list