qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Size of virtual FAT disk limit?
@ 2007-07-05 21:42 consul
  2007-07-10 23:00 ` [Qemu-devel] " consul
  0 siblings, 1 reply; 2+ messages in thread
From: consul @ 2007-07-05 21:42 UTC (permalink / raw)
  To: qemu-devel

Hi,

I'm running into a problem with virtual FAT disks. If the source directory 
contents size
significantly exceeds 494673920 (0x1D7C2000) bytes, I get an error:
Assertion failed: index < array->next, file c:/qemu/block-vvfat.c, line 97

If the sise only slightly exceeds (even by one byte) this limit, I get the 
different error:
Directory does not fit in FAT16

This seems strange, as this limit is not even close to 2GB limit imposed by 
FAT16.

I tried quite recent qemu CVS version from 6/28/07 on Windows XP host.
qemu -L . -hda c:\qemu-img\test.q2 -hdb fat:\test2 -fda 
c:\qemu-img\boot.ima -boot a
Will try it on Linux later.

Any comments on the error?

Alex. 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] Re: Size of virtual FAT disk limit?
  2007-07-05 21:42 [Qemu-devel] Size of virtual FAT disk limit? consul
@ 2007-07-10 23:00 ` consul
  0 siblings, 0 replies; 2+ messages in thread
From: consul @ 2007-07-10 23:00 UTC (permalink / raw)
  To: qemu-devel

I just ran the same test on the linux box with the similar result.
How to reproduce the problem:

mkdir xxx
dd if=/dev/zero of=xxx/dummy count=966160
qemu -hda fat:xxx -cdrom cd.iso -boot d
(boots ok)

dd if=/dev/zero of=xxx/dummy count=966161
qemu -hda fat:xxx -cdrom cd.iso -boot d
(qemu could not open hard disk image 'fat:xxx')

Any clues how to fix the problem?


"consul" <consul@collegeclub.com> wrote in message 
news:f6jojm$g8l$1@sea.gmane.org...
> Hi,
>
> I'm running into a problem with virtual FAT disks. If the source directory 
> contents size
> significantly exceeds 494673920 (0x1D7C2000) bytes, I get an error:
> Assertion failed: index < array->next, file c:/qemu/block-vvfat.c, line 97
>
> If the sise only slightly exceeds (even by one byte) this limit, I get the 
> different error:
> Directory does not fit in FAT16
>
> This seems strange, as this limit is not even close to 2GB limit imposed 
> by FAT16.
>
> I tried quite recent qemu CVS version from 6/28/07 on Windows XP host.
> qemu -L . -hda c:\qemu-img\test.q2 -hdb fat:\test2 -fda 
> c:\qemu-img\boot.ima -boot a
> Will try it on Linux later.
>
> Any comments on the error?
>
> Alex.
>
>
>
>
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-10 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 21:42 [Qemu-devel] Size of virtual FAT disk limit? consul
2007-07-10 23:00 ` [Qemu-devel] " consul

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).