public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm <kvm@vger.kernel.org>,
	Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Subject: Re: Frame buffer corruptions with KVM >= 2.6.36
Date: Thu, 14 Oct 2010 14:36:02 +0200	[thread overview]
Message-ID: <4CB6F932.8030605@siemens.com> (raw)
In-Reply-To: <4CB6F3F1.9060409@redhat.com>

Am 14.10.2010 14:13, Avi Kivity wrote:
>   On 10/14/2010 02:10 PM, Jan Kiszka wrote:
>> Am 14.10.2010 09:27, Jan Kiszka wrote:
>>>  Hi,
>>>
>>>  I'm seeing quite frequent corruptions of the VESA frame buffer with
>>>  Linux guests (vga=0x317) that are starting with KVM kernel modules of
>>>  upcoming 2.6.36 (I'm currently running -rc7). Effects disappears when
>>>  downgrading to kvm-kmod-2.6.35.6. Will see if I can bisect later, but
>>>  maybe someone already has an idea or wants to reproduce (just run
>>>  something like "find /" on one text console and witch to another one -
>>>  text fragments will remain on the screen on every few switches).
>>
>> Commit d25f31f488e5f7597c17a3ac7d82074de8138e3b in kvm.git ("KVM: x86:
>> avoid unnecessary bitmap allocation when memslot is clean") is at least
>> magnifying the issue. With this patch applied, I can easily trigger
>> display corruptions when switching between VGA consoles while one of
>> them is undergoing heavy updates.
>>
>> However, I once saw a much smaller inconsistency during my tests even
>> with a previous revision. Maybe there is a fundamental issue in when and
>> how the coalesced backlog is replayed,
> 
> I didn't see any mmio writes to the framebuffer, so I don't think 
> coalescing plays a part here.
> 
>> and this commit just makes the
>> corruptions more likely. This may even be a QEMU issue in the cirrus/vga
>> model (both qemu-kvm and upstream show the effect).
>>
> 
> What about -no-kvm?

Just booted it (took ages), and the result was actually a completely
black screen. Kind of persistent corruption. This really looks like a
qemu issue now, maybe even a regression as I don't remember running into
such effects a while back.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

  parent reply	other threads:[~2010-10-14 12:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  7:27 Frame buffer corruptions with KVM >= 2.6.36 Jan Kiszka
2010-10-14 12:04 ` Avi Kivity
2010-10-14 12:11   ` Avi Kivity
2010-10-14 12:13     ` Jan Kiszka
2010-10-14 12:10 ` Jan Kiszka
2010-10-14 12:13   ` Avi Kivity
2010-10-14 12:31     ` Avi Kivity
2010-10-14 12:36     ` Jan Kiszka [this message]
2010-10-14 12:38       ` Avi Kivity
2010-10-15  6:41         ` Takuya Yoshikawa
2010-10-18 12:14           ` Takuya Yoshikawa
2010-10-18 12:17             ` Jan Kiszka

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=4CB6F932.8030605@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=yoshikawa.takuya@oss.ntt.co.jp \
    /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