[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

Gerd Hoffmann kraxel at redhat.com
Wed Jun 10 05:20:53 PDT 2015


On Mi, 2015-06-10 at 19:39 +0800, John Hunter wrote:
> Hi Gerd,
> I have tried what you told me.
> 1. Turn off fbdev support:
>     static bool enable_fbdev = false;

Good.

> 2. configure a serial console:
>     - add something like "console=ttyS0, 9600n8" to the grub menuentry

Good.

You can use 115200 as line speed to speedup the console a bit.

>     - add a start parameter to qemu when start the virtual machine
> "-serial pty"

'-serial stdio' might be more convenient.

> saned disabled; edit /etc/default/saned
> [ ok ] Starting network connection manager: NetworkManager.
> [ ok ] Starting Common Unix Printing System: cupsd.
> 
> 
> The serial console messages also stop here, no other output.

Which guest is this?  On modern linux distros (anything systemd-based)
you should automatically get a login prompt on the serial line in case
it is configured as console.  Older systems need manual configuration
for that.  Could also be the system simply hangs here.

Try adding "ignore_loglevel" and "drm.debug=0x07" to the kernel command
line.

HTH,
  Gerd





More information about the dri-devel mailing list