Re: [Qemu-devel] QCOW(2) image corruption under QEMU 0.9.0 reproducible

2007-03-16 Thread J M Cerqueira Esteves
herbie hancock wrote:
 Hello, i had also a reproducible disk crash:
 info of the last good image, size is about 3,5GB
 
 I never experienced such a bad problem with qemu before, maybe it is a 
 problem with qcow2 format ?

After the problems with qcow2 images which I reported here a few weeks
ago, I've only been using qcow images (under QEMU 0.9.0), without such
surprises.  So it seems qemu has some bug related to qcow2 images,
maybe manifesting itself only after they get larger than 4GB...


Best regards
  J Esteves


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] QCOW(2) image corruption under QEMU 0.9.0 reproducible

2007-03-16 Thread Ben Taylor

 J M Cerqueira Esteves [EMAIL PROTECTED] wrote: 
 herbie hancock wrote:
  Hello, i had also a reproducible disk crash:
  info of the last good image, size is about 3,5GB
  
  I never experienced such a bad problem with qemu before, maybe it is a 
  problem with qcow2 format ?
 
 After the problems with qcow2 images which I reported here a few weeks
 ago, I've only been using qcow images (under QEMU 0.9.0), without such
 surprises.  So it seems qemu has some bug related to qcow2 images,
 maybe manifesting itself only after they get larger than 4GB...

I suspect I saw problems with qcow2 images as well.  I was able to suspend
a Solaris Nevada B58 install and use savevm about 30% into the install and
restart it later.  As the image completd, the file system went all to hell
with corruption that was impossible to fix.  At the time, I attributed it to
the Solaris install (thinking it might have something to do with the
cmpxchg8b bug that was later fixed), but I suspect with the multiple
reports I've seen, I'm now thinking I saw the same thing.

I'm testing conversion of a qcow image to a qcow2 image.  We'll see how
that goes

Ben


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] QCOW(2) image corruption under QEMU 0.9.0 reproducible

2007-03-16 Thread Julian Seward

I ran QEMU on Valgrind for several hours last night, including a couple
of boot-shutdown cycles of RedHat8, and lots of file copying/deletion 
in the guest to get the qcow2 image up to 8GB and generally cause a lot
of disk IO.  I got no memory errors whatsoever from Valgrind and got no
filesystem corruption, so I guess I didn't trigger the bug.

Really the first thing to do is establish a reliable way to reproduce it.

J


On Friday 16 March 2007 17:00, Ben Taylor wrote:
  J M Cerqueira Esteves [EMAIL PROTECTED] wrote:
  herbie hancock wrote:
   Hello, i had also a reproducible disk crash:
   info of the last good image, size is about 3,5GB
  
   I never experienced such a bad problem with qemu before, maybe it is a
   problem with qcow2 format ?
 
  After the problems with qcow2 images which I reported here a few weeks
  ago, I've only been using qcow images (under QEMU 0.9.0), without such
  surprises.  So it seems qemu has some bug related to qcow2 images,
  maybe manifesting itself only after they get larger than 4GB...

 I suspect I saw problems with qcow2 images as well.  I was able to suspend
 a Solaris Nevada B58 install and use savevm about 30% into the install and
 restart it later.  As the image completd, the file system went all to hell
 with corruption that was impossible to fix.  At the time, I attributed it
 to the Solaris install (thinking it might have something to do with the
 cmpxchg8b bug that was later fixed), but I suspect with the multiple
 reports I've seen, I'm now thinking I saw the same thing.

 I'm testing conversion of a qcow image to a qcow2 image.  We'll see how
 that goes

 Ben


 ___
 Qemu-devel mailing list
 Qemu-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/qemu-devel


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] QCOW(2) image corruption under QEMU 0.9.0 reproducible

2007-03-15 Thread Julian Seward

Something similar happened to me.  At first I thought it was a hardware
(host) problem and so do not have good details - this is from memory.

- 0.9.0, binary build from qemu.org
- i386 openSUSE 10.2 host
- RedHat 8 guest
- .qcow2 image, max size 8GB
- using the Accelerator but not -kernel-kqemu

- first sign of trouble was the ext3 driver in RedHat8 complaining of
  something about disk geometry (something % 4 was not zero when it
  should have been)

- this is when the disk image was about 3G in size

- shortly thereafter the disk image was so corrupted that e2fsck
  could not fix it

- IIRC, ls -l on the corrupted image showed some implausibly huge size
  ( 100GB ?) leading me to believe the file had some huge block of
  zeroes in the middle

J


On Wednesday 14 March 2007 23:20, herbie hancock wrote:
 Hello, i had also a reproducible disk crash:
 info of the last good image, size is about 3,5GB

 image: debian4_0.dsk file format: qcow2 virtual size: 16G (16777216000
 bytes) disk size: 3.3G cluster_size: 4096

 as soon as the image increase to a size of about 7,9 GB the emulator locks
 up, and after a restart the the image is not readable any more. the start
 of the image is filled with zeros, the signature of the file  at the start
 (QFI )  is overwritten.

 I tried it two times, started with a intact image with the size above and
 in both times the image was corrupted.

 Host: WIN2K
 Guest: Debian 4.0 Etch.
 qemu: 0.90 (build date 2007-02-19, the version that comes with
 http://www.davereyn.co.uk/qem/setupqemuk40.exe)

 I tested the image above with virtualbox (installed backup of the qemu disk
 with acronis trueimage and bart pe boot cd) , started with the above image,
 and the problems are gone, image is now filled with more than 9GB, no
 problem so far.

 I never experienced such a bad problem with qemu before, maybe it is a
 problem with qcow2 format ?

 Bye
 HR
 _
 Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
 http://smartsurfer.web.de/?mc=100071distributionid=0066



 ___
 Qemu-devel mailing list
 Qemu-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/qemu-devel


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] QCOW(2) image corruption under QEMU 0.9.0 reproducible

2007-03-15 Thread Thiemo Seufer
Julian Seward wrote:
 
 Something similar happened to me.  At first I thought it was a hardware
 (host) problem and so do not have good details - this is from memory.

I had trouble (disk access errors when installing Debian/mipsel) with a
5 GB qcow2 image with only some hundred MB of payload. I switched to qcow
for the time being.


Thiemo


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel