qemu 0.8.2 : abort: assertion failed

Here people can help each others with questions, tips, tricks, etc...

qemu 0.8.2 : abort: assertion failed

Postby mildred on Mon Nov 13, 2006 12:12 am

Hello,

I use fuse (and fuseiso) to mount an ISO image to some directory.
I also want to have more than one CD-Rom drive aviable in qemu, so I read the FAQ, and it says that i can use the virtual fat drives for that. So I mounted my iso image with fuseiso and tried something like :

Code: Select all
fuseiso cdrom2.iso cdrom2
qemu -hda drive.qcow -cdrom cdrom1.iso -hdd fat:cdrom2...


And I have :

Code: Select all
qemu: /build/buildd/qemu-0.8.2/block-vvfat.c:97: array_get: Assertion `index < array->next' failed.
zsh: abort


edit: maybe I'm wrong about fuse, it happens even in copies of the whole content of iso image.

So i think this must be a bug in qemu ... but maybe I'm wrong ...
What do you think about it ?

also, will the patch to have multiple cdrom drives be included in further releases of qemu ?

Thanks

mildred
xmpp:mildred@jabber.fr
mildred
 
Posts: 2
Joined: Mon Nov 13, 2006 12:04 am
Location: France

Re: qemu 0.8.2 : abort: assertion failed

Postby dignome on Mon Nov 13, 2006 1:44 am

mildred wrote:...
Code: Select all
qemu: /build/buildd/qemu-0.8.2/block-vvfat.c:97: array_get: Assertion `index < array->next' failed.
zsh: abort



So i think this must be a bug in qemu ... but maybe I'm wrong ...
What do you think about it ?
...


virtual vfat only allows ~472MiB of data - if you exceed that with the given directory you'll run into that assertion error. Most people don't need more than one cdrom since you can eject and change discs within qemu's monitor (ctrl-alt-2).
User avatar
dignome
helper
 
Posts: 786
Joined: Thu Jan 12, 2006 5:09 am

Postby mildred on Mon Nov 13, 2006 7:41 am

thanks for clarifications ...

Will that limitation be removed in the future ? Apparently, I really need to create large virtual fat disks ... trying to share some huge folder between the host and guest.
Since this folder takes so much place on my harddisk, I don't dant to duplicate datas creating a virtual disk :)
xmpp:mildred@jabber.fr
mildred
 
Posts: 2
Joined: Mon Nov 13, 2006 12:04 am
Location: France

why fat: doesn't replace -cdrom

Postby million on Mon Feb 05, 2007 5:11 am

If there is a limitation of ~472MiB of data, then fat: can't be used for every cdrom because cdroms can hold up to 999 MiB (although the most common are 746MiB or 807MiB).

Also, being able to change the media doesn't help if you are using it as a boot media which cannot be swapped out from underneath it. (While some environments can handle this, others cannot).

I've only been running qemu for less than a day and I've already found both of these limitations very frustrating. Most other parts seem ok, so far, although I am looking forward to better USB support (even than what's in 0.8.2).
million
 
Posts: 1
Joined: Mon Feb 05, 2007 5:01 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 0 guests