[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XenARM] Xen with Cortex-A15 - Guest data abort: Translation fault



My last git log shows this as the latest commit for my Dom0 tree:

commit 10252adc6138ae5d72bb189d80d0f9bd23127181
Author: David Vrabel <david.vrabel@xxxxxxxxxx>
Date:   Wed Feb 8 15:58:29 2012 +0000

    arm: vexpress: increase RAM in AEM device tree

    The versatile express model has 4 GiB of RAM of which 2 GiB is
    accessible to non-LPAE kernels.

    Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>

I looked for the DEBUG_LL fix and my tree has that in it.
I compiled Dom0 with both DEBUG_LL enabled and disabled, it doesn't
make a difference, so the problem must be something else.

I also tried both device trees, e.g. vexpress-v2p-aem-v7a.dts and
vexpress-v2p-ca15-tc1.dts - they also both give the same error.

Cheers
Jenny


On Mon, Feb 13, 2012 at 11:55 AM, David Vrabel <david.vrabel@xxxxxxxxxx> wrote:
> On 13/02/12 11:29, Ian Campbell wrote:
>> On Fri, 2012-02-10 at 17:06 +0000, Jenny Smith wrote:
>>> Hi,
>>>
>>> I'm running the latest code from
>>> http://xenbits.xen.org/gitweb/?p=people/sstabellini/xen-unstable.git/.git;a=shortlog;h=refs/heads/arm-tools-1.
>>> I compiled both Dom0 and Xen. I use a Versatile Express board model
>>> with a single CPU Cortex-A15.
>>>
>>> For Dom0 I used the vexpress-dt branch of
>>> git://xenbits.xen.org/people/dvrabel/linux.git and built it as
>>> described here:
>>> http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions
>>>
>>> However, when Dom0 boots, I get a guest data abort translation fault
>>> error. See the message below.
>>>
>>> Has anyone else seen this?
>>> [...]
>>> Uncompressing Linux... done, booting the kernel.
>>> [    0.000000] Linux version 3.2.0-rc5+ (gcc version 4.6.1 (Sourcery
>>> CodeBench Lite 2011.09-70) ) #3 Fri Feb 10 16:21:09 GMT 2012
>>> [    0.000000] CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), 
>>> cr=10c53c7d
>>> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction 
>>> cache
>>> [    0.000000] Machine: ARM-Versatile Express
>>> [    0.000000] bootconsole [earlycon0] enabled
>>> [    0.000000] Memory policy: ECC disabled, Data cache writeback
>>> (XEN) Guest data abort: Translation fault at level 2
>>> (XEN)     gva=f8000084 gpa=0000000010000084
>>
>> This looks like an address you might get from
>> arch/arm/mach-vexpress/include/mach/debug-macro.S
>
> I don't think it's this as there is some early console output.
>
> Which device tree is being used?  Keep in mind that a) the model doesn't
> implement all peripherals; and b) Xen only maps a subset of them into
> dom0 (see xen/arch/arm/domain_build.c).
>
> I would suggest using the AEMv7a device tree (vexpress-v2p-aem-v7a.dtb)
> even if your model is for the Cortex A15.
>
> David

_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.