From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Dunkel Subject: no screen output for '-vga vmware' at boot time Date: Thu, 06 Jan 2011 15:51:34 +0100 Message-ID: <4D25D6F6.8030705@aixigo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: KVM list Return-path: Received: from mail.aixigo.de ([80.149.209.52]:48878 "EHLO mail.aixigo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753088Ab1AFPQN (ORCPT ); Thu, 6 Jan 2011 10:16:13 -0500 Received: from srvvm01.ac.aixigo.de. (srvvm01.ac.aixigo.de [172.19.96.11]) by mail.aixigo.com (8.14.1/8.14.1) with ESMTP id p06EpYDI015202 for ; Thu, 6 Jan 2011 15:51:37 +0100 (CET) Received: from dpcl064.ac.aixigo.de (hdunkel@dpcl064.ac.aixigo.de [172.19.97.183]) by srvvm01.ac.aixigo.de. (8.14.3/8.14.3/Debian-9.4) with ESMTP id p06EpYAI025236 for ; Thu, 6 Jan 2011 15:51:34 +0100 Sender: kvm-owner@vger.kernel.org List-ID: Hi folks, Booting Debian Squeeze on the guest I get a line Loading initrd... the rest of the boot procedure is omitted. The initrd message is not scrolled off the screen. The guest seems to boot, though. Kdm is shown as usual. If I switch back to /dev/tty1, then I finally see the last few lines of the lost screen output. kvm command line: kvm -m 512 -drive file=/dev/storage/vdpcl006.vda.lv -vnc :0 -usbdevice tablet -vga vmware Using "-vga cirrus" there is no such problem. The problem seems to be related to grub2 and changing the screen size at boot time. I have added these lines to the grub configuration on the guest: GRUB_GFXMODE=1024x768 GRUB_GFXPAYLOAD_LINUX="keep" If I omit these lines, then the guest boots as usual. There is also no problem with 1024x768 if I wait 10 seconds for grub and the screen size change before connecting the vncviewer. Timing seems an issue here. Changing the vnc viewer did not help. I tried xvnc4viewer and the vnc client in virt-manager. xtightvncviewer was no option, cause it dies on each change of the screen size. qemu-kvm is version 0.12.5+dfsg-5, as found in Debian. Kernel is 2.6.37 (host and guest). I could also reproduce the problem using Debian's distro kernel for Testing. Any helpful comment would be highly appreciated. Regards Harri