From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZoW6-0005mt-Vt for qemu-devel@nongnu.org; Thu, 23 Jun 2011 14:20:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZoW4-0007O6-0X for qemu-devel@nongnu.org; Thu, 23 Jun 2011 14:20:38 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:37901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZoW3-0007NN-Ln for qemu-devel@nongnu.org; Thu, 23 Jun 2011 14:20:35 -0400 Received: by pzk30 with SMTP id 30so1450227pzk.4 for ; Thu, 23 Jun 2011 11:20:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1308452228-11055-1-git-send-email-agraf@suse.de> <1308454790-13750-6-git-send-email-agraf@suse.de> Date: Thu, 23 Jun 2011 19:20:33 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 06/11] exec.c: refactor cpu_physical_memory_map List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com Devel" , Alexander Graf , "qemu-devel@nongnu.org Developers" On 23 June 2011 18:56, Stefano Stabellini wrote: > Thanks for the detailed explanation of the problem, I think I understand > what I have to do to fix. > However I would like to have a repro of the bug before sending any > patches, so that I am sure that the solution works correctly. > However I am not very familiar with ARM emulation in Qemu: could you > please let me know which target I have to compile, which machine I have > to emulate and what other steps do I have to take in order to see this > issue? You'll need this not-yet-applied patch which adds cp15 perf reg support: http://patchwork.ozlabs.org/patch/92423/ I've temporarily put a test kernel and initrd here: http://people.linaro.org/~pmaydell/linaro-20110228.tar.gz configure qemu with --target-list=arm-softmmu and then you can run: ./arm-softmmu/qemu-system-arm -kernel linaro-20110228/vmlinuz-2.6.37-1003-linaro-vexpress -initrd linaro-20110228/initrd.img-2.6.37-1003-linaro-vexpress -M vexpress-a9 -cpu cortex-a9 -serial stdio -m 1024 -append 'root=/dev/mmcblk0p2 rw mem=1024M raid=noautodetect console=ttyAMA0,38400n8 rootwait vmalloc=256MB devtmpfs.mount=0' At the moment this aborts when the kernel tries to initialise the display; if you fix the problem it ought to display a penguin on the graphics window (although it will drop you into an initramfs prompt because you don't have a root filesystem sd card image). -- PMM