Received: from eggs.gnu.org ([208.118.235.92]:41140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh2xj-0008W5-OR for qemu-devel@nongnu.org; Tue, 19 Jun 2012 14:15:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sh2xg-0003eJ-Qm for qemu-devel@nongnu.org; Tue, 19 Jun 2012 14:15:35 -0400 Received: from indium.canonical.com ([91.189.90.7]:45642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh2xg-0003e4-Ir for qemu-devel@nongnu.org; Tue, 19 Jun 2012 14:15:32 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Sh2xf-0000B2-Ac for ; Tue, 19 Jun 2012 18:15:31 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 4B18E2E8079 for ; Tue, 19 Jun 2012 18:15:31 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jun 2012 18:08:47 -0000 From: ken_ma Sender: bounces@canonical.com References: <20120619180847.26609.28580.malonedeb@soybean.canonical.com> Message-Id: <20120619180847.26609.28580.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1015226] [NEW] arm realview pbx hung Reply-To: Bug 1015226 <1015226@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: host(pc):ubuntu 10.1 qemu:qemu-1.1.0-1 target:realview-pbx-a9 kernel:2.6.34.10 gcc:4.4.6 command line, and output as follow: ----------------------------------------- majun@majun-Lenovo-Product:~/qemu$ qemu-system-arm -M realview-pbx-a9 -kern= el ~/emb_linux/trunk/bsp/versatile_qemu/kernel/linux-2.6.34.10/arch/arm/boo= t/zImage -initrd rootfs.ext2 -nographic -append "console=3DttyAMA0 earlypri= ntk" Uncompressing Linux... done, booting the kernel. Linux version 2.6.34.10 (majun@majun-Lenovo-Product) (gcc version 4.4.6 (cr= osstool-NG 1.13.2 - hsan-5115) ) #40 SMP Tue Jun 19 18:53:13 BST 2012 CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=3D10c53c7f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: ARM-RealView PBX Ignoring unrecognised tag 0x00000000 bootconsole [earlycon0] enabled Memory policy: ECC disabled, Data cache writealloc Ignoring RAM at 80000000-8fffffff (vmalloc region overlap). realview_pbx_map_io:117 realview_pbx_map_io:119 >>>>>>>>>hung here QEMU: Terminated ----------------------------------------- modify code to add some debug info ----------------------------------------- arch/arm/mach-realview/realview_pbx.c line 115: static void __init realview_pbx_map_io(void) { printk("%s:%d\r\n", __FUNCTION__, __LINE__); iotable_init(realview_pbx_io_desc, ARRAY_SIZE(realview_pbx_io_desc)= ); printk("%s:%d\r\n", __FUNCTION__, __LINE__); //!!!!!!! the last = printk output if (core_tile_pbx11mp() || core_tile_pbxa9mp()) //!!!!!!! hung he= re (here is a read to system control register 0x100000XX) !!!!!! { printk("%s:%d\r\n", __FUNCTION__, __LINE__); iotable_init(realview_local_io_desc, ARRAY_SIZE(realview_lo= cal_io_desc)); printk("%s:%d\r\n", __FUNCTION__, __LINE__); } } ----------------------------------------- ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1015226 Title: arm realview pbx hung Status in QEMU: New Bug description: host(pc):ubuntu 10.1 qemu:qemu-1.1.0-1 target:realview-pbx-a9 kernel:2.6.34.10 gcc:4.4.6 command line, and output as follow: ----------------------------------------- majun@majun-Lenovo-Product:~/qemu$ qemu-system-arm -M realview-pbx-a9 -ke= rnel ~/emb_linux/trunk/bsp/versatile_qemu/kernel/linux-2.6.34.10/arch/arm/b= oot/zImage -initrd rootfs.ext2 -nographic -append "console=3DttyAMA0 earlyp= rintk" Uncompressing Linux... done, booting the kernel. Linux version 2.6.34.10 (majun@majun-Lenovo-Product) (gcc version 4.4.6 (= crosstool-NG 1.13.2 - hsan-5115) ) #40 SMP Tue Jun 19 18:53:13 BST 2012 CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=3D10c53c7f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: ARM-RealView PBX Ignoring unrecognised tag 0x00000000 bootconsole [earlycon0] enabled Memory policy: ECC disabled, Data cache writealloc Ignoring RAM at 80000000-8fffffff (vmalloc region overlap). realview_pbx_map_io:117 realview_pbx_map_io:119 >>>>>>>>>hung here QEMU: Terminated ----------------------------------------- modify code to add some debug info ----------------------------------------- arch/arm/mach-realview/realview_pbx.c line 115: static void __init realview_pbx_map_io(void) { printk("%s:%d\r\n", __FUNCTION__, __LINE__); iotable_init(realview_pbx_io_desc, ARRAY_SIZE(realview_pbx_io_des= c)); printk("%s:%d\r\n", __FUNCTION__, __LINE__); //!!!!!!! the las= t printk output if (core_tile_pbx11mp() || core_tile_pbxa9mp()) //!!!!!!! hung = here (here is a read to system control register 0x100000XX) !!!!!! { printk("%s:%d\r\n", __FUNCTION__, __LINE__); iotable_init(realview_local_io_desc, ARRAY_SIZE(realview_= local_io_desc)); printk("%s:%d\r\n", __FUNCTION__, __LINE__); } } ----------------------------------------- To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1015226/+subscriptions