From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdlLP-0008IN-7U for qemu-devel@nongnu.org; Sun, 10 Jun 2012 12:50:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdlLN-0000id-8a for qemu-devel@nongnu.org; Sun, 10 Jun 2012 12:50:26 -0400 Received: from cantor2.suse.de ([195.135.220.15]:55514 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdlLM-0000iF-VY for qemu-devel@nongnu.org; Sun, 10 Jun 2012 12:50:25 -0400 Message-ID: <4FD4D04A.30604@suse.de> Date: Sun, 10 Jun 2012 18:50:18 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <20120610121956.17923.70746.malonedeb@soybean.canonical.com> <20120610121956.17923.70746.malonedeb@soybean.canonical.com> In-Reply-To: <20120610121956.17923.70746.malonedeb@soybean.canonical.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Bug 1011142] [NEW] Arm emulation do a crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1011142 <1011142@bugs.launchpad.net> Cc: Peter Maydell , qemu-devel@nongnu.org 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 arm= 1176 -hda hdd.img -m 256 -append "root=3D/dev/sda2 loglevel=3D7 debug" -s= erial 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 app= lication 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=3D"aio alsa curl = ncurses opengl sdl threads vhost-net -bluetooth -brltty -debug -fdt -puls= eaudio -qemu-ifup (-rbd) -sasl -smartcard -spice -static -test -tls -usbr= edir -vde -xattr -xen" QEMU_SOFTMMU_TARGETS=3D"arm x86_64 -cris -i386 -m6= 8k -microblaze -mips -mips64 -mips64el -mipsel -ppc -ppc64 -ppcemb -sh4 -= sh4eb -sparc -sparc64" QEMU_USER_TARGETS=3D"arm -alpha -armeb -cris -i386= -m68k -microblaze -mips -mipsel -ppc -ppc64 -ppc64abi32 -sh4 -sh4eb -spa= rc -sparc32plus -sparc64 -x86_64" 0 kB Try v1.1.0 or master. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg