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

Re: [Xen-devel] FastModels Xen Crash - Guest data abort: Translation fault at level 2



On Mon, 25 Mar 2013, Sander Bogaert wrote:
> On 21 March 2013 21:01, Sander Bogaert <sander.bogaert@xxxxxxxxxxxxx> wrote:
>       On 18 March 2013 15:04, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
>             On Mon, 2013-03-18 at 12:26 +0000, Sander Bogaert wrote:
>             > Hi,
>             >
>             >
>             > Using the latest Xen staging ( git://xenbits.xen.org/xen.git - 
> staging
>             > ) and the lastest kernel for dom0
>             > ( git://github.com/torvalds/linux.git - master ) Xen crashes 
> starting
>             > dom0. I tried 3 approaches:
>             >
>             >
>             > 1. mmc filesystem
>             > Â Â Â Â Â xen,dom0-bootargs = "earlyprintk=xenboot 
> console=ttyAMA0
>             > mem=2048M root=/dev/mmcblk0 rw ip=dhcp"
>             > Â Â Â Â Â crashlog attached "xen_crash_1_mmc"
>             > 2. nfs filesystem
>             > Â Â Â Â Â xen,dom0-bootargs = "earlyprintk=xenboot 
> console=ttyAMA1 rw
>             > root=/dev/nfs nfsroot=157.193.205.141:/srv/nfsrootmin ip=dhcp";
>             > Â Â Â Â Â crashlog attached "xen_crash_2_nfs"
>             > 3. ramdisk - this works!
> 
> Interesting. I'll concentrate on the first one since I know it works.
> What version of the models are you running? What is your model command
> line?
> 
> 
> I'm running FastModels 8.0 that I downloaded last week. This is how I execute:
> 
> Â./model_shell ../resources/Cortex-A15x1/cadi_system_Linux-Release-GCC-4.4.so 
> ../resources/xen_mmc -C
> motherboard.flashloader0.fname=../resources/kernel -C mothe 
> rboard.mmc.p_mmc_file="../resources/disk.img" -C
> motherboard.smsc_91c111.enabled=1 -C motherboard.hostbridge.userNetworking=1
> 
> 
>       Where does your DTB come from? What hypervisor command line did it
>       include (it seems your logs only start after the early hypervisor bits,
>       please include everything if possible).
> 
> 
> My dtb is compiled from this repository:
> git://xenbits.xen.org/people/sstabellini/device-trees.git
> 
> I attached the whole log this time.
> 
> 
>       Â Â Â Â (XEN) Guest data abort: Translation fault at level 2
>       Â Â Â Â (XEN) Â Â gva=ef7ff000
>       Â Â Â Â (XEN) Â Â gpa=00000000af7ff000
>       Â Â Â Â (XEN) Â Â instruction syndrome invalid
>       Â Â Â Â (XEN) Â Â eat=0 cm=0 s1ptw=0 dfsc=6
>       Â Â Â Â (XEN) dom0 IPA 0x00000000af7ff000
> 
>       0xaf7ff000 is a DRAM address. I noticed that the guest just logged
>       "Truncating memory at 0x80000000 to fit in 32-bit physical address
>       space". Might relate to how much memory the host and/or dom0 have been
>       given?
> 
> 
> Where would I configure this?
> Â
> 
>       Â Â Â Â (XEN) P2M @ 02ffbfc0 mfn:0xffdfe
>       Â Â Â Â (XEN) 1ST[0x2] = 0x00000000ffdfb6ff
>       Â Â Â Â (XEN) 2ND[0x17b] = 0x0000000000000000
>       Â Â Â Â (XEN) ----[ Xen-4.3-unstable Âarm32 Âdebug=y ÂNot tainted ]----
>       Â Â Â Â (XEN) CPU: Â Â0
>       Â Â Â Â (XEN) PC: Â Â c014c024
> 
> 
>       Can you translate 0xc014c024 into a line of the kernel? (e.g. with 
> addr2line).
> 
> 
> addr2line -f -e vmlinux 0xc014c024
> __memzero
> /home/dzan/thesis/source/kernels/linus-linux/arch/arm/lib/memzero.S:54
> 
> I'm not really sure this is correct since I did it on the vmlinux binary and 
> I pass the zImage to FastModels.
> 
> Â
> 
> 
>       Â Â Â Â (XEN) CPSR: Â 200001d3 MODE:32-bit Guest SVC
> 
>       Ian.
>


Can you please avoid using HTML in your emails? I use a text based email
client, I can barely make out the content.
 

> Hi,
> 
> I just wanted to report this seems to be fixed with the latest commits ( 
> Right at the end of the kernel booting my system still
> hangs but I don't know if this is related ( see log ) ).

Thanks, for testing!
Have you tried appending init=/bin/bash or init=/bin/sh to the kernel command 
line?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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