public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Harald Dunkel <harald.dunkel@aixigo.de>
To: KVM list <kvm@vger.kernel.org>
Subject: no screen output for '-vga vmware' at boot time
Date: Thu, 06 Jan 2011 15:51:34 +0100	[thread overview]
Message-ID: <4D25D6F6.8030705@aixigo.de> (raw)

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

                 reply	other threads:[~2011-01-06 15:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D25D6F6.8030705@aixigo.de \
    --to=harald.dunkel@aixigo.de \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox