qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Lukáš Doktor" <ldoktor@redhat.com>
To: Anton Nefedov <anton.nefedov@virtuozzo.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	"qemu-block@nongnu.org" <qemu-block@nongnu.org>,
	Max Reitz <mreitz@redhat.com>, Andrew Jones <drjones@redhat.com>
Subject: Re: [Qemu-devel] Broken aarch64 by qcow2: skip writing zero buffers to empty COW areas [v2]
Date: Wed, 21 Aug 2019 18:23:47 +0200	[thread overview]
Message-ID: <db5bc7fa-a943-24fa-700b-9a675bdda79a@redhat.com> (raw)
In-Reply-To: <b9129921-91cb-4339-0a3e-eb73ae5f6390@virtuozzo.com>


[-- Attachment #1.1: Type: text/plain, Size: 1950 bytes --]

Dne 21. 08. 19 v 17:49 Anton Nefedov napsal(a):
> On 21/8/2019 5:14 PM, Lukáš Doktor wrote:
>> Hello guys,
>>
>> First attempt was rejected due to zip attachment, let's try it again with just Avocado-vt debug.log and serial console log files attached.
>>
>> I bisected a regression on aarch64 all the way to this commit: "qcow2: skip writing zero buffers to empty COW areas" c8bb23cbdbe32f5c326365e0a82e1b0e68cdcd8a. Would you please have a look at it?
>>
>> My reproducer is running kickstart installation of RHEL-8 from DVD on aarch64 gicv3 machine, which never finishes since this commit, where anaconda complains about package installation, occasionally there are also XFS metadata corruption messages on serial console:
>>
> 
> hi,
> 
> this looks scary :( I doubt that it can have anything to do with aarch64
> but rather a really tricky timing (or, possibly, a broken environment
> like broken fallocate() on a host? who knows..)
> 
> Is it always the same machine you observe this issue on? Did you try
> others?
> 
> I just wonder if it's worth to try to reproduce it on my machine
> (and I don't have aarch64 on hand now). I can probably come up with
> some torture test that will continuously write to qcow2 with random
> offsets/sizes and verify the result.
> 
> If you could kindly reproduce it again then we can probably start with
> enabling qemu traces by appending
>   " -trace bdrv* -trace qcow2* -trace file=/some_huge_partition/qemu.log"
> to the command line.
> 
> Beware that it's going to produce a huge amount of logs.
> 
> Also, the corrupted image and the serial log will be required for
> investigation.
> 
> thanks,
> 
> /Anton
> 

Hello Anton,

I have only tried that on a single machine, but colleague of mine reported similar issues even on TCG installing Fedora using x86_64 host. I'll try to reproduce it on my x86_64 box which should simplify the debugging.

Lukáš


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-08-21 16:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-21 14:14 [Qemu-devel] Broken aarch64 by qcow2: skip writing zero buffers to empty COW areas [v2] Lukáš Doktor
2019-08-21 15:49 ` Anton Nefedov
2019-08-21 16:23   ` Lukáš Doktor [this message]
2019-08-21 17:51 ` Max Reitz
2019-08-22 11:27   ` Lukáš Doktor
2019-08-22 12:09     ` Max Reitz
2019-08-22 15:25       ` Max Reitz
2019-08-22 15:40         ` Max Reitz
2019-08-22 16:32           ` Max Reitz

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=db5bc7fa-a943-24fa-700b-9a675bdda79a@redhat.com \
    --to=ldoktor@redhat.com \
    --cc=anton.nefedov@virtuozzo.com \
    --cc=drjones@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).