Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103434 - qemu does not work with any floppy image or .iso
Summary: qemu does not work with any floppy image or .iso
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 03:51 UTC by Pedro J. Ruiz Lopez
Modified: 2005-08-23 04:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro J. Ruiz Lopez 2005-08-23 03:51:45 UTC
When I run 'qemu' without args, it works fine, gives help message.
However, when I run 'qemu hda', 'qemu -fda floppy.img -boot a' or any other
args, it seems to get into an infinite loop without showing any error message.
There is no segmentation fault.
Ctrl+C terminates execution of qemu.

Reproducible: Always
Steps to Reproduce:
1. USE="softmmu" emerge qemu
   (qemu-0.6.1 or qemu-0.7.0)
2. dd if=/dev/zero of=$HOME/hda bs=1024 count=8192
3. qemu -fda freedos.img -boot a hda


Actual Results:  
qemu gives no response, and CPU usage is at 100%

Expected Results:  
new window with a virtual computer running guest os installed on the image disk

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="YES"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
LINGUAS="es"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa avi bash-completion bitmap-fonts bzlib cdr crypt dv
encode f77 fortran gif gtk gtk2 icq imlib jpeg libg++ mikmod mmx motif mp3 mpeg
msn ncurses nls nptl ogg oggvorbis opengl pam pdflib png posix python qt
quicktime readline sse ssl tcpd theora tiff truetype truetype-fonts usb vorbis
xmms xv xvid zlib linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Luca Barbato gentoo-dev 2005-08-23 04:03:08 UTC
there is qemu-0.7.1 available.

looks like a wrong usage of qemu you are missing something.
maybe the image file should be created with qemu-image

I usually test it using qemu -cdrom image.iso or qemu -hda image.iso

Comment 2 Pedro J. Ruiz Lopez 2005-08-23 04:06:50 UTC
USE="sdl" emerge qemu <-- solves the problem. Thanks for your help