arm realview pbx hung
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 -kernel ~/emb_linux/trunk/bsp/versatile_qemu/kernel/linux-2.6.34.10/arch/arm/boot/zImage -initrd rootfs.ext2 -nographic -append "console=ttyAMA0 earlyprintk" 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=10c53c7f 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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
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 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__);
}
}
-----------------------------------------
** Affects: qemu
Importance: Undecided
Status: New
Signature · 31 lines
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 -kernel ~/emb_linux/trunk/bsp/versatile_qemu/kernel/linux-2.6.34.10/arch/arm/boot/zImage -initrd rootfs.ext2 -nographic -append "console=ttyAMA0 earlyprintk" 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=10c53c7f 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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
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 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
I'm afraid you'll need to at least provide a copy of your kernel and initrd if you want anybody to try to debug this.
** Changed in: qemu
Status: New => Incomplete
Signature · 31 lines
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: Incomplete 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 -kernel ~/emb_linux/trunk/bsp/versatile_qemu/kernel/linux-2.6.34.10/arch/arm/boot/zImage -initrd rootfs.ext2 -nographic -append "console=ttyAMA0 earlyprintk" 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=10c53c7f 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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
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 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