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

Re: [Xen-devel] XEN[ARM] Master not working on Allwinner A20



Hi Peter,

If you still can't boot with any memory bigger than 128M, as a fast workaround you can apply this patch.

diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index faff88e..849df3f 100644
--- a/xen/arch/arm/domain_build.c
+++ b/xen/arch/arm/domain_build.c
@@ -22,7 +22,7 @@
 static unsigned int __initdata opt_dom0_max_vcpus;
 integer_param("dom0_max_vcpus", opt_dom0_max_vcpus);
 
-static int dom0_11_mapping = 1;
+static int dom0_11_mapping = 0;
 
 #define DOM0_MEM_DEFAULT 0x8000000 /* 128 MiB */
 static u64 __initdata dom0_mem = DOM0_MEM_DEFAULT;


It's failing because none of the zones has a contiguous memory block with an order bigger than 15 ( 128M ). I think this is due to the alignment of the phys_start with buddy system in cubieboard, I'll look further and let you know if there's a cleaner approach to fix that.

It used to work before because the 11_mapping wasn't forced to "true" for all platforms and there was a quirk exposed by the platform that used to express that. I think Julien removed that quirk and defaulted to 11_mapping in commit "71952bfcbe9187765cf4010b1479af86def4fb1f"



Regards.




On Tue, Dec 17, 2013 at 2:00 PM, Julien Grall <julien.grall@xxxxxxxxxx> wrote:
On 12/17/2013 09:25 AM, peter wrote:
> Well I managed to boot the current master
> Version: d96392361cd05a66b385f0153e398128b196e480 (xen: arm: correct
> return value of raw_copy_{to/from}_guest_*, raw_clear_guest).

This commit introduced a bug which doesn't permit to boot a guest (-14
in your log). You should at least have the commit 3a5767a " xen/arm: Fix
regression after commit d963923".

--
Julien Grall

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



--
Karim Allah Ahmed.
_______________________________________________
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®.