xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [questions] Dom0/DomU on ARM under Xen
@ 2012-07-30 15:19 Alexey Klimov
  2012-07-31  7:43 ` Ian Campbell
  2012-07-31 11:59 ` Stefano Stabellini
  0 siblings, 2 replies; 7+ messages in thread
From: Alexey Klimov @ 2012-07-30 15:19 UTC (permalink / raw)
  To: Stefano Stabellini, Ian Campbell; +Cc: xen-devel

[-- Attachment #1: Type: text/plain, Size: 1959 bytes --]

Hello Stefano and Ian,

I'm trying to run DomU and Dom0 on ARM under Xen and have some
problems (may be question of configuration).

I'm using:
- unstable Xen mercurial repository with your "grant table" patches
and few patches from Ian Campbell (xcbuild,
xen_remap_domain_mfn_range, XENMAPSPACE_gmfn_foreign,  ARM support to
xc_dom).
- your (Stefano's) linux kernel git repository
git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git with head
3.5-rc7-arm-1. I hope all patches to Linux kernel from Stefano letters
are there.
- Fast Models with few models created as described in wiki page
http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions/FastModels
- device trees dts files (vexpress-v2p-ca15-tc1.dts and
vexpress-virt.dts) from Stefano letter on 26 July. v2p-ca15-tc1 is
attached to Xen using CONFIG_DTB_FILE and vexpress-virt.dtb is
attached to DomU zImage.

Well, kernel hangs after message (Calibrating delay loop...) when
running on models RTSM_VE/Build_Cortex-A15x4 and
RTSM_VE/Build_Cortex-A15x2. I attached logs (Dom0-A15x2 and A15x4).
Logs also shows problems with device trees (HBI and arch timer).

I can boot Dom0 on Cortex-A15x1 model (log file Dom0-A15x1 with
warning/problems about DT and HBI) and when i'm tryng to boot zImage
using xcbuild utility then it also hangs with message from Xen "Guest
data abort: Translation fault at level 3". Log file is also attached.

Could you please take a look and help?

May be i miss important config option in Linux kernel or in Xen.

Is it okay that vexpress-virt descibes V2P-AEMv7A platform and not
V2P-CA15? It looks that vexpress-v2p-ca15-tc1.dts includes
vexpress-v2m-rs1-rtsm.dtsi. Could you please also share this file if
it has specific options? And what can be reason of errors about
HBI/arch_timers when running Xen+Linux
kernel+vexpress-v2p-ca15-tc1.dts on Cortex-A15x2 model?

I can provide/send other info if you want. Thanks in advance.
Best regards,
Alexey Klimov.

[-- Attachment #2: Dom0-A15x2.log --]
[-- Type: application/octet-stream, Size: 5252 bytes --]

- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
RAM: 0000000080000000 - 00000000ffffffff
 __  __            _  _    ____                     _        _     _      
 \ \/ /___ _ __   | || |  |___ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \  | || |_   __) |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _| / __/|__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_)_____|   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                          
(XEN) Xen version 4.2-unstable (root@(none)) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Fri Jul 27 11:42:21 UTC 2012
(XEN) Latest ChangeSet: unavailable
(XEN) GIC: 64 lines, 2 cpus, secure (IID 0000043b).
(XEN) Waiting for 1 other CPUs to be ready
- CPU 00000001 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Using generic timer at 100000000 Hz
(XEN) Xen heap: 262144 pages  Dom heap: 253952 pages
(XEN) Domain heap initialised
(XEN) Set hyp vector base to 23ce40 (expected 0023ce40)
(XEN) Processor Features: 00001131 00001131
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 20000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) smpboot.c:149: CPU 1 booted.
(XEN) Brought up 2 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0x88000000
(XEN) Map CS2 MMIO regions 1:1 in the P2M 0x18000000->0x1bffffff
(XEN) Map CS3 MMIO regions 1:1 in the P2M 0x1c000000->0x1fffffff
(XEN) Map VGIC MMIO regions 1:1 in the P2M 0x2c008000->0x2dffffff
(XEN) Routing peripheral interrupts to guest
(XEN) Loading 00000000001f8cc8 byte zImage from flash 0000000000000000 to 0000000080008000-0000000080200cc8: [..]
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 204kB init memory.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #8 Fri Jul 27 17:00:37 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-CA15
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:613 v2m_dt_init_early+0xac/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000265 r5:803a6e9c r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6e9c>] (v2m_dt_init_early+0xac/0xec)
[<803a6df0>] (v2m_dt_init_early+0x0/0xec) from [<803a369c>] (setup_arch+0x710/0x7fc)
 r4:803ba9ac
[<803a2f8c>] (setup_arch+0x0/0x7fc) from [<803a159c>] (start_kernel+0x78/0x26c)
[<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cd284 r6:803bbd50 r5:803ca054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
vexpress: DT HBI (237) is not matching hardware (0)!
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 debug rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125764k/125764k available, 5308k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a1000   (3684 kB)
      .init : 0x803a1000 - 0x803c15e8   ( 130 kB)
      .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
       .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
arch_timer: can't find DT node
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 

Boot process stops here.

[-- Attachment #3: Dom0-A15x4.log --]
[-- Type: application/octet-stream, Size: 5688 bytes --]

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
- UART enabled -
- CPU 00000000 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
RAM: 0000000080000000 - 00000000ffffffff
 __  __            _  _    ____                     _        _     _      
 \ \/ /___ _ __   | || |  |___ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \  | || |_   __) |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _| / __/|__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_)_____|   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                          
(XEN) Xen version 4.2-unstable (root@(none)) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Fri Jul 27 11:42:21 UTC 2012
(XEN) Latest ChangeSet: unavailable
(XEN) GIC: 64 lines, 4 cpus, secure (IID 0000043b).
(XEN) Waiting for 3 other CPUs to be ready
- CPU 00000001 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
- CPU 00000002 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
- CPU 00000003 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Using generic timer at 100000000 Hz
(XEN) Xen heap: 262144 pages  Dom heap: 253952 pages
(XEN) Domain heap initialised
(XEN) Set hyp vector base to 23ce40 (expected 0023ce40)
(XEN) Processor Features: 00001131 00001131
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 20000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 32 KiB.
(XEN) smpboot.c:149: CPU 1 booted.
(XEN) smpboot.c:149: CPU 3 booted.
(XEN) smpboot.c:149: CPU 2 booted.
(XEN) Brought up 4 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0x88000000
(XEN) Map CS2 MMIO regions 1:1 in the P2M 0x18000000->0x1bffffff
(XEN) Map CS3 MMIO regions 1:1 in the P2M 0x1c000000->0x1fffffff
(XEN) Map VGIC MMIO regions 1:1 in the P2M 0x2c008000->0x2dffffff
(XEN) Routing peripheral interrupts to guest
(XEN) Loading 00000000001f8cc8 byte zImage from flash 0000000000000000 to 0000000080008000-0000000080200cc8: [..]
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 204kB init memory.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #8 Fri Jul 27 17:00:37 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-CA15
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:613 v2m_dt_init_early+0xac/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000265 r5:803a6e9c r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6e9c>] (v2m_dt_init_early+0xac/0xec)
[<803a6df0>] (v2m_dt_init_early+0x0/0xec) from [<803a369c>] (setup_arch+0x710/0x7fc)
 r4:803ba9ac
[<803a2f8c>] (setup_arch+0x0/0x7fc) from [<803a159c>] (start_kernel+0x78/0x26c)
[<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cd284 r6:803bbd50 r5:803ca054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
vexpress: DT HBI (237) is not matching hardware (0)!
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 debug rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125764k/125764k available, 5308k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a1000   (3684 kB)
      .init : 0x803a1000 - 0x803c15e8   ( 130 kB)
      .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
       .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
arch_timer: can't find DT node
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 

[-- Attachment #4: Dom0-A15x1.log --]
[-- Type: application/octet-stream, Size: 10053 bytes --]

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
- UART enabled -
- CPU 00000000 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
RAM: 0000000080000000 - 00000000ffffffff
 __  __            _  _    ____                     _        _     _      
 \ \/ /___ _ __   | || |  |___ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \  | || |_   __) |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _| / __/|__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_)_____|   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                          
(XEN) Xen version 4.2-unstable (root@(none)) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Fri Jul 27 11:42:21 UTC 2012
(XEN) Latest ChangeSet: unavailable
(XEN) GIC: 64 lines, 1 cpu, secure (IID 0000043b).
(XEN) Waiting for 0 other CPUs to be ready
(XEN) Using generic timer at 100000000 Hz
(XEN) Xen heap: 262144 pages  Dom heap: 253952 pages
(XEN) Domain heap initialised
(XEN) Set hyp vector base to 23ce40 (expected 0023ce40)
(XEN) Processor Features: 00001131 00001131
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 20000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) Brought up 1 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0x88000000
(XEN) Map CS2 MMIO regions 1:1 in the P2M 0x18000000->0x1bffffff
(XEN) Map CS3 MMIO regions 1:1 in the P2M 0x1c000000->0x1fffffff
(XEN) Map VGIC MMIO regions 1:1 in the P2M 0x2c008000->0x2dffffff
(XEN) Routing peripheral interrupts to guest
(XEN) Loading 00000000001f8cc8 byte zImage from flash 0000000000000000 to 0000000080008000-0000000080200cc8: [..]
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 204kB init memory.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #8 Fri Jul 27 17:00:37 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-CA15
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:613 v2m_dt_init_early+0xac/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000265 r5:803a6e9c r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6e9c>] (v2m_dt_init_early+
[<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cd284 r6:803bbd50 r5:803ca054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
vexpress: DT HBI (237) is not matching hardware (0)!
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 debug rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125764k/125764k available, 5308k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a1000   (3684 kB)
      .init : 0x803a1000 - 0x803c15e8   ( 130 kB)
      .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
       .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
arch_timer: can't find DT node
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802dc110 - 0x802dc144
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
NET: Registered protocol family 16
------------[ cut here ]------------
WARNING: at kernel/irq/irqdomain.c:135 irq_domain_legacy_revmap+0x28/0x50()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000087 r5:80051320 r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:8784e100 r7:00000003 r6:00000064 r5:87800440 r4:803d8950
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<80051320>] (irq_domain_legacy_revmap+0x28/0x50)
[<800512f8>] (irq_domain_legacy_revmap+0x0/0x50) from [<800513e8>] (irq_find_mapping+0xa0/0xd0)
[<80051348>] (irq_find_mapping+0x0/0xd0) from [<80051824>] (irq_create_mapping+0x28/0x128)
 r8:8784e100 r7:00000003 r6:00000064 r5:87831dd0 r4:87800440
r3:87831da4
[<800517fc>] (irq_create_mapping+0x0/0x128) from [<800519a8>] (irq_create_of_mapping+0x84/0xf8)
 r7:00000003 r6:805088a8 r5:87831dd0 r4:87800440
[<80051924>] (irq_create_of_mapping+0x0/0xf8) from [<8023cd80>] (irq_of_parse_and_map+0x34/0x3c)
 r7:00000000 r6:805089dc r5:00000000 r4:00000000
[<8023cd4c>] (irq_of_parse_and_map+0x0/0x3c) from [<8023cda8>] (of_irq_to_resource+0x20/0x7c)
[<8023cd88>] (of_irq_to_resource+0x0/0x7c) from [<8023ce30>] (of_irq_count+0x2c/0x3c)
 r7:00000000 r6:805089dc r5:805089dc r4:00000000
[<8023ce04>] (of_irq_count+0x0/0x3c) from [<8023d3f4>] (of_device_alloc+0x5c/0x15c)
 r5:00000000 r4:00000000
[<8023d398>] (of_device_alloc+0x0/0x15c) from [<8023d530>] (of_platform_device_create_pdata+0x3c/0x88)
[<8023d4f4>] (of_platform_device_create_pdata+0x0/0x88) from [<8023d650>] (of_platform_bus_create+0xd4/0x278)
 r7:00000001 r6:00000000 r5:803bc260 r4:805089dc
[<8023d57c>] (of_platform_bus_create+0x0/0x278) from [<8023d85c>] (of_platform_populate+0x68/0xa0)
[<8023d7f4>] (of_platform_populate+0x0/0xa0) from [<803a6c34>] (v2m_dt_init+0x2c/0x4c)
[<803a6c08>] (v2m_dt_init+0x0/0x4c) from [<803a2c0c>] (customize_machine+0x24/0x30)
[<803a2be8>] (customize_machine+0x0/0x30) from [<8000863c>] (do_one_initcall+0x40/0x184)
[<800085fc>] (do_one_initcall+0x0/0x184) from [<803a1880>] (kernel_init+0xf0/0x1ac)
[<803a1790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc)
---[ end trace 1b75b31a2719ed1d ]---
------------[ cut here ]------------
WARNING: at kernel/irq/irqdomain.c:135 irq_domain_legacy_revmap+0x28/0x50()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000087 r5:80051320 r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:8784e100 r7:00000003 r6:00000064 r5:00000000 r4:87800440
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<80051320>] (irq_domain_legacy_revmap+0x28/0x50)
[<800512f8>] (irq_domain_legacy_revmap+0x0/0x50) from [<800518ac>] (irq_create_mapping+0xb0/0x128)
[<800517fc>] (irq_create_mapping+0x0/0x128) from [<800519a8>] (irq_create_of_mapping+0x84/0xf8)
 r7:00000003 r6:805088a8 r5:87831dd0 r4:87800440
[<80051924>] (irq_create_of_mapping+0x0/0xf8) from [<8023cd80>] (irq_of_parse_and_map+0x34/0x3c)
 r7:00000000 r6:805089dc r5:00000000 r4:00000000
[<8023cd4c>] (irq_of_parse_and_map+0x0/0x3c) from [<8023cda8>] (of_irq_to_resource+0x20/0x7c)
[<8023cd88>] (of_irq_to_resource+0x0/0x7c) from [<8023ce30>] (of_irq_count+0x2c/0x3c)
 r7:00000000 r6:805089dc r5:805089dc r4:00000000
[<8023ce04>] (of_irq_count+0x0/0x3c) from [<8023d3f4>] (of_device_alloc+0x5c/0x15c)
 r5:00000000 r4:00000000
[<8023d398>] (of_device_alloc+0x0/0x15c) from [<8023d530>] (of_platform_device_create_pdata+0x3c/0x88)
[<8023d4f4>] (of_platform_device_create_pdata+0x0/0x88) from [<8023d650>] (of_platform_bus_create+0xd4/0x278)
 r7:00000001 r6:00000000 r5:803bc260 r4:805089dc
[<8023d57c>] (of_platform_bus_create+0x0/0x278) from [<8023d85c>] (of_platform_populate+0x68/0xa0)
[<8023d7f4>] (of_platform_populate+0x0/0xa0) from [<803a6c34>] (v2m_dt_init+0x2c/0x4c)
[<803a6c08>] (v2m_dt_init+0x0/0x4c) from [<803a2c0c>] (customize_machine+0x24/0x30)
[<803a2be8>] (customize_machine+0x0/0x30) from [<8000863c>] (do_one_initcall+0x40/0x184)
[<800085fc>] (do_one_initcall+0x0/0x184) from [<803a1880>] (kernel_init+0xf0/0x1ac)
[<803a1790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc)
---[ end trace 1b75b31a2719ed1e ]---
Serial: AMBA PL011 UART driver
1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 37) is a PL011 rev1
1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 38) is a PL011 rev1
console [ttyAMA1] enabled, bootconsole disabled

... and it booted to login prompt with no errors in another window.



[-- Attachment #5: DomU-A15x1-vexpress-virt-dtb.log --]
[-- Type: application/octet-stream, Size: 6921 bytes --]

(XEN) DOM113: Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #6 Fri Jul 27 16:03:09 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-AEMv7A
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803ece94, node_mem_map 8040a000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:603 v2m_dt_init_early+0x44/0xec()
Modules linked in:
Backtrace:
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:0000025b r5:803a7e34 r4:00000000 r3:803d193c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cf338 r7:8050a440 r6:80000200 r5:803f5b88 r4:803ee038
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a7e34>] (v2m_dt_init_early+0x44/0xec)
[<803a7df0>] (v2m_dt_init_early+0x0/0xec) from [<803a469c>] (setup_arch+0x710/0x7fc)
 r4:803bbf90
[<803a3f8c>] (setup_arch+0x0/0x7fc) from [<803a259c>] (start_kernel+0x78/0x26c)
[<803a2524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cf284 r6:803bd334 r5:803cc054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xen debug loglevel=9 console=hvc0 root=/dev/xvda
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125760k/125760k available, 5312k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a2000   (3688 kB)
      .init : 0x803a2000 - 0x803c2bcc   ( 131 kB)
      .data : 0x803c4000 - 0x803ed5c0   ( 166 kB)
       .bss : 0x803ed5e4 - 0x80409164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:62 v2m_sysctl_init+0x20/0x58()
Modules linked in:
Backtrace:
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:0000003e r5:803a7a24 r4:00000000 r3:803d193c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:80004059 r7:8050ab80 r6:803bd338 r5:803ed600 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a7a24>] (v2m_sysctl_init+0x20/0x58)
[<803a7a04>] (v2m_sysctl_init+0x0/0x58) from [<803a7b24>] (v2m_dt_timer_init+0x2c/0xcc)
 r5:803ed600 r4:ffffffff
[<803a7af8>] (v2m_dt_timer_init+0x0/0xcc) from [<803a4830>] (time_init+0x28/0x38)
 r6:803bd338 r5:803ed600 r4:ffffffff
[<803a4808>] (time_init+0x0/0x38) from [<803a26ac>] (start_kernel+0x188/0x26c)
[<803a2524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cf284 r6:803bd334 r5:803cc054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1d ]---
arch_timer: found timer irqs 29 30
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:647 v2m_dt_timer_init+0x7c/0xcc()
Modules linked in:
Backtrace:
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000287 r5:803a7b74 r4:00000000 r3:803d193c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:80004059 r7:8050ab80 r6:803bd338 r5:803ed600 r4:ffffffea
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a7b74>] (v2m_dt_timer_init+0x7c/0xcc)
[<803a7af8>] (v2m_dt_timer_init+0x0/0xcc) from [<803a4830>] (time_init+0x28/0x38)
 r6:803bd338 r5:803ed600 r4:ffffffff
[<803a4808>] (time_init+0x0/0x38) from [<803a26ac>] (start_kernel+0x188/0x26c)
[<803a2524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cf284 r6:803bd334 r5:803cc054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1e ]---
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 98.20 BogoMIPS (lpj=491008)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802dc110 - 0x802dc144
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
NET: Registered protocol family 16
(XEN) Guest data abort: Translation fault at level 3
(XEN)     gva=88808804
(XEN)     gpa=0000000000000804
(XEN)     size=2 sign=0 write=0 reg=2
(XEN)     eat=0 cm=0 s1ptw=0 dfsc=7
(XEN) dom113 IPA 0x0000000000000804
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x0] = 0x00000000f3f6b6ff
(XEN) 2ND[0x0] = 0x00000000e3f176ff
(XEN) 3RD[0x0] = 0x0000000000000000
(XEN) ----[ Xen-4.2-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) PC:     801755f4
(XEN) CPSR:   20000013 MODE:SVC
(XEN)      R0: 80401aa4 R1: 80368180 R2: 80401abc R3: 80401ac4
(XEN)      R4: 88808000 R5: 80401abc R6: 00007ff0 R7: 00000001
(XEN)      R8: 803a225c R9: 803c288c R10:803ed600 R11:8782ff0c R12:8782ff10
(XEN) USR: SP: 00000000 LR: 00000000 CPSR:20000013
(XEN) SVC: SP: 8782fee8 LR: 80176960 SPSR:00000093
(XEN) ABT: SP: 803edd8c LR: 803edd8c SPSR:00000000
(XEN) UND: SP: 803edd98 LR: 803edd98 SPSR:00000000
(XEN) IRQ: SP: 803edd80 LR: 8000dfc0 SPSR:20000193
(XEN) FIQ: SP: 00000000 LR: 00000000 SPSR:00000000
(XEN) FIQ: R8: 00000000 R9: 00000000 R10:00000000 R11:00000000 R12:00000000
(XEN)
(XEN) TTBR0 80004059 TTBR1 80004059 TTBCR 00000000
(XEN) SCTLR 10c53c7d
(XEN) VTTBR 720000ffe56000
(XEN)
(XEN) HTTBR ffec2000
(XEN) HDFAR 88808804
(XEN) HIFAR 0
(XEN) HPFAR 0
(XEN) HCR 00000835
(XEN) HSR   93820007
(XEN)
(XEN) DFSR 0 DFAR 0
(XEN) IFSR 0 IFAR 0
(XEN)
(XEN) GUEST STACK GOES HERE
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Unhandled guest data abort
(XEN) ****************************************
(XEN)
(XEN) Reboot in five seconds... 

[-- Attachment #6: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-08 13:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-30 15:19 [questions] Dom0/DomU on ARM under Xen Alexey Klimov
2012-07-31  7:43 ` Ian Campbell
2012-07-31 11:59 ` Stefano Stabellini
2012-07-31 13:19   ` Ian Campbell
2012-08-01 16:32   ` Alexey Klimov
2012-08-08 10:36     ` Alexey Klimov
2012-08-08 13:47       ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).