<div dir="ltr">Hi Gerd,<div>I have tried what you told me.</div><div>1. Turn off fbdev support:</div><div> static bool enable_fbdev = <b>false</b>;</div><div>2. configure a serial console:</div><div> - add something like "<b>console=ttyS0, 9600n8</b>" to the grub menuentry</div><div> - add a start parameter to qemu when start the virtual machine "<b>-serial pty</b>"</div><div> - got a redirected device like "<b>char device redirected to /dev/pts/2</b>" </div><div> - see the vritual machine's kernel messages in a host console by typing "<b>cat /dev/pts/2</b>"</div><div><br></div><div>And stuck in dark but got the messages bellow:</div><div><div><br></div><div>saned disabled; edit /etc/default/saned</div><div>[ ok ] Starting network connection manager: NetworkManager.</div><div>[ ok ] Starting Common Unix Printing System: cupsd.</div></div><div><br></div><div>The serial console messages also stop here, no other output.</div><div><br></div><div>I just don't know if I did the right thing, if I did something wrong, I would be appreaciate if</div><div>you show me.</div><div><br></div><div>Best Regards,</div><div>Zhao</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 10, 2015 at 4:15 PM, John Hunter <span dir="ltr"><<a href="mailto:zhjwpku@gmail.com" target="_blank">zhjwpku@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the information, I will try that : )</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Wed, Jun 10, 2015 at 4:04 PM, Gerd Hoffmann <span dir="ltr"><<a href="mailto:kraxel@redhat.com" target="_blank">kraxel@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,<br>
<br>
> As far as I know, the convertion got some problem, and after I<br>
> add the bochs driver when I boot the qemu VM, it just can not<br>
> start up, works fine if I delete bochs-drm.ko from it's directory.<br>
<br>
With fbdev enabled alot initialization happens with some important<br>
console lock taken, which has the effect that you don't see any kernel<br>
messages until it all succeeded. If it doesn't succeed you are stuck in<br>
the dark. Guess this is what happened ...<br>
<br>
So, configure a serial console for your virtual machine.<br>
Turn off fbdev support (bochs_drm has a module option for that).<br>
That most likely gives you a clue where things blow up.<br>
<br>
Then get X11 running.<br>
kmscon is a nice test too.<br>
When all this works try turning fbdev back on.<br>
<br>
HTH,<br>
Gerd<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div>Best regards<br></div><div>Junwang Zhao</div><div>Microprocessor Research and Develop Center</div><div>Department of Computer Science &Technology</div><div>Peking University</div><div>Beijing, 100871, PRC</div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards<br></div><div>Junwang Zhao</div><div>Microprocessor Research and Develop Center</div><div>Department of Computer Science &Technology</div><div>Peking University</div><div>Beijing, 100871, PRC</div></div></div>
</div>