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

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



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®.