qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: J M Cerqueira Esteves <jmce@artenumerica.com>
To: qemu-devel@nongnu.org
Cc: AN support <support@artenumerica.com>
Subject: [Qemu-devel] QCOW image corruption under QEMU 0.9.0
Date: Fri, 23 Feb 2007 13:18:50 +0000	[thread overview]
Message-ID: <45DEE9BA.7040202@artenumerica.com> (raw)

Greetings

I got some error messages shortly after booting a Debian guest under
QEMU 0.9.0.  I did not annotate those, but they made me believe there
could be disk access problems, and if fact something weird happened to
one of the disk images (this was using two images, for hda and hdb):

After shutting down the guest, I inspected its image files with
qemu-info, which reported for hda

image: nisaba.hda.qcow
file format: raw
virtual size: 4.3G (4596273152 bytes)
disk size: 4.3G

but hda was supposed to have a virtual size of approximately 20 GB,
QCOW2 format and a saved snapshot...

The hdb image still seems OK:

image: nisaba.hdb.qcow
file format: qcow2
virtual size: 2.0G (2147483648 bytes)
disk size: 216M
cluster_size: 4096
Snapshot list:
ID        TAG                 VM SIZE                DATE       VM CLOCK
1         20070217                66M 2007-02-17 05:58:40   46:06:17.193

I'll keep a copy of the damaged image in case someone competent on qemu
and qcow wishes to inspect it, but in case this may be suggestive:
I noticed that the only non-zero bytes until byte 12288 (where a first
'more random' sequence starts) are:
  byte 4102: 0x20
       4110: 0x30
       4118: 0x40
       ... and so on, until
       4206: 0xf0
       4221-4222: 0x0110
       4229-4230: 0x0120
       4237-4238: 0x0130
       4245-4246: 0x0140
       4252-4254: 0xd547b0
       4260-4262: 0xd547c0
        ...
       8180-8182: 0xd56660
       8188-8190: 0xd56670
       11776-11791: 0x6c6f3d 6c6f0a 6574 68303d 6574 68300a

Unvortunately I don't have an older copy of the hda image
with which to compare this broken one.  In any case
I have been running, in the same host, several 32-bit guests with Debian
and one with Windows XP, almost without any problems, first under QEMU
0.8.2 and since February 11 under QEMU 0.9.0 (with some images then
migrated from QCOW to QCOW2).

Details on the configuration:

Host: AMD Athlon 64 3500+ (HP dx5150 MT)
      with Ubuntu 6.06 LTS, kernel 2.6.15-28-amd64-k8.
VDE: 'backported' (just rebuilding the package)
     from Debian testing's vde 1.5.11-1.
QEMU: 0.9.0, configured with --cc=gcc-3.4 --enable-alsa
kqemu: 1.3.0pre11

Guest: Debian Etch (32-bit), with kernel 2.6.18-k7 (if I remember
       correctly);
       / was on hda, the failed image file;
       /tmp and swap on hdb, the surviving image.

QEMU was invoked with
vdeq qemu-system-x86_64 \
        -kernel-kqemu \
        -pidfile nisaba.pid \
        -m 192 \
        -std-vga \
        -net nic,vlan=0,model=rtl8139,macaddr=4A:4D:23:00:00:01 \
        -net vde,vlan=0,sock=/var/run/vde/tap-vde-1.ctl \
        -hda nisaba.hda.qcow -hdb nisaba.hdb.qcow

Best regards
                                  J Esteves

             reply	other threads:[~2007-02-23 13:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-23 13:18 J M Cerqueira Esteves [this message]
2007-02-23 18:42 ` [Qemu-devel] Re: QCOW image corruption under QEMU 0.9.0 J M Cerqueira Esteves
2007-02-25  2:02 ` [Qemu-devel] MORE " AN support
2007-02-25  2:55 ` [Qemu-devel] " J M Cerqueira Esteves
2007-02-25  3:38   ` J M Cerqueira Esteves
2007-02-25  6:01   ` J M Cerqueira Esteves
2007-02-25  8:07     ` [Qemu-devel] QEMU with smp Danny Chieh-Yao, Cheng

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=45DEE9BA.7040202@artenumerica.com \
    --to=jmce@artenumerica.com \
    --cc=qemu-devel@nongnu.org \
    --cc=support@artenumerica.com \
    /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).