Skip to contentSkip to conversation

qemu segfault

Qemu-devel Alexander E. Patrakov 4 participants 5 messages May 20, 2004 – May 21, 2004

lore
Share & tools
lore
#0 lore raw

To reproduce the segfault:

Downolad the image of RedHat 7.0 boot floppy:

http://ftp.redhat.com/pub/redhat/linux/7.0/en/os/i386/images/boot.img

Execute qemu with the following command line:

/usr/local/bin/qemu -fda boot.img -m 32 -boot a

Then press Enter in the boot loader screen. qemu will segfault. The segfault does not happen with qemu-fast.

Any response will be appreciated, a fix will be appreciated even more. The best is if you fix it and create a small testcase for regression tests.

Signature · 1 line
Alexander E. Patrakov
#1 lore raw
Quoted 6 lines · Alexander E. Patrakov

To reproduce the segfault:

Downolad the image of RedHat 7.0 boot floppy:

http://ftp.redhat.com/pub/redhat/linux/7.0/en/os/i386/images/boot.img

Quoted 7 lines

Execute qemu with the following command line:

/usr/local/bin/qemu -fda boot.img -m 32 -boot a

Then press Enter in the boot loader screen. qemu will segfault. The segfault does not happen with qemu-fast.

Any response will be appreciated, a fix will be appreciated even more. The best is if you fix it and create a small testcase for regression tests.

It is fixed in the CVS version.

Fabrice.

#2 lore raw
In reply to Alexander E. Patrakov

Hello,
About the floppy, you said that it worked with qemu-fast.

Quoted 2 lines

Then press Enter in the boot loader screen. qemu will segfault. The segfault does not happen with qemu-fast.

I tried, and all I get from qemu-fast is a blank screen. I actually have never been able to run anything with qemu-fast. Is there anything special you did to have it run?

David

#3 lore raw
Quoted 9 lines · David Sibai

Hello,
About the floppy, you said that it worked with qemu-fast.

Quoted 2 lines

Then press Enter in the boot loader screen. qemu will segfault. The segfault does not happen with qemu-fast.

I tried, and all I get from qemu-fast is a blank screen. I actually have never been able to run anything with qemu-fast. Is there anything special you did to have it run?

If I understood well, qemu-fast should only work (from now) with modified OS => Linux only. See Fabrice Documentation.
the good news is that there is only 2 line to modify. So, maybe, Windows could be "patched" one day too.

#4 lore raw
In reply to David Sibai
Quoted 7 lines · David Sibai

Hello,
About the floppy, you said that it worked with qemu-fast.

Quoted 2 lines

Then press Enter in the boot loader screen. qemu will segfault. The segfault does not happen with qemu-fast.

I tried, and all I get from qemu-fast is a blank screen. I actually have never been able to run anything with qemu-fast. Is there anything special you did to have it run?

No, I have just downloaded a binary distribution.

The bad thing is that qemu-fast cannot be compiled at all on my distro (LFS CVS b6_0 branch) because of ld assertion failure. Binutils version is 2.15.90.0.3, gcc is 3.3.3, glibc is a "known good CVS snapshot" because there is no other way to get NPTL.

Just plain qemu works even if compiled from sources.

Signature · 1 line
Alexander E. Patrakov