qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 1011142] [NEW] Arm emulation do a crash


From: Andreas Färber
Subject: Re: [Qemu-devel] [Bug 1011142] [NEW] Arm emulation do a crash
Date: Sun, 10 Jun 2012 18:50:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0

Am 10.06.2012 14:19, schrieb BRULE Herman:
> Hello, I have try multiple image for the raspberry pi, with this cli:
> /usr/bin/qemu-system-arm -kernel kernel-rasptoo -M versatilepb -cpu arm1176 
> -hda hdd.img -m 256 -append "root=/dev/sda2 loglevel=7 debug" -serial stdio 
> -no-kvm

Does the qemu-system-arm process crash or does something in the guest
crash? After all you're trying to run a Raspberry Pi kernel on some
other board.

> I don't know why, with kvm it say:
> KVM not supported for this target
> No accelerator found!

Unless you're running on ARM with a patched kernel you can't get KVM for
ARM guests. That's no error.

> I can't debug it with gdb, it crash after the kernel boot (the qemu 
> application crash).

Why can't you debug qemu-system-arm with gdb? A backtrace would be very
helpful to see where things are going wrong. After all with the little
information you gave we can't reproduce (kernel-raspi, hdd.img) and
would have to guess...

> I'm under gentoo:
> [ebuild   R   ~] app-emulation/qemu-kvm-1.0.1-r1  USE="aio alsa curl ncurses 
> opengl sdl threads vhost-net -bluetooth -brltty -debug -fdt -pulseaudio 
> -qemu-ifup (-rbd) -sasl -smartcard -spice -static -test -tls -usbredir -vde 
> -xattr -xen" QEMU_SOFTMMU_TARGETS="arm x86_64 -cris -i386 -m68k -microblaze 
> -mips -mips64 -mips64el -mipsel -ppc -ppc64 -ppcemb -sh4 -sh4eb -sparc 
> -sparc64" QEMU_USER_TARGETS="arm -alpha -armeb -cris -i386 -m68k -microblaze 
> -mips -mipsel -ppc -ppc64 -ppc64abi32 -sh4 -sh4eb -sparc -sparc32plus 
> -sparc64 -x86_64" 0 kB

Try v1.1.0 or master.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]