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

Re: [Xen-devel] Query for running Xen on ARM



Thanks you so much for the pointers.

On Tue, May 29, 2018 at 7:35 AM, Julien Grall <julien.grall@xxxxxxx> wrote:
(+Stefano)

On 27/05/18 18:48, Chaitanya Deshpande wrote:
Hi,

Hello Chaitanya,

I am Chaitanya, pursuing my master’s degree from Portland State University in Embedded Systems.

I have started working on Xen Project and I am beginner in this field.

I have followed all the steps which are given in this link –

https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/qemu-system-aarch64

https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions#Building_Xen_on_ARM


1) I have used buildroot(rootfs.cpio) for building Linux.

2) I have succeeded in booting Linux on Qemu (qemu-system-.aarch64)

3) Used make dist-xen XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-  for cross compiling and getting Xen binary.

4) My root is root - root=/dev/sda1

May I ask why the root is different from the example in the wiki page? Are you using a different setup for the disk (e.g no virtio)?

    Chaitanya - For building linux I am using buildroot toolchain (my root is /path/to/rootfs.cpio) and I able to run the linux on ARM64 (Qemu). 




After running the  last step UEFI Prompt opens and it gives me this error.

What do you mean? Which last step?


error: no such device: root.

This is coming from UEFI, right?
  
   Chaitanya - Yes it was. But I changed the root and it worked for me. 



Press any key to continue...
EFI stub: Booting Linux Kernel...

This is booting Linux and not Xen. It is also trying to using ACPI rather than DT. Would it be possible for you to drop to the UEFI shell and try to boot by hand?
   
   Chaitanya -  Yes. I am trying that but I am unable to find fs0: in the mapping table of qemu. (It is showing only BLK0: and BLK1:)
   I have xen.cfg and xen.efi in the root@127.0.0.1:/boot/efi folder but I am unable to reach to that folder from qemu UEFI.
     


EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[   11.231789] acpi PNP0A08:00: Bus 0000:00 not present in PCI namespace
[   41.972816] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [swapper/0:1]
[  229.940369] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swapper/0:1]
[  257.939966] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swapper/0:1]
[  290.035395] NMI watchdog: BUG: soft lockup - CPU#3 stuck for 23s! [swapper/0:1]
[  303.595373] kvm [1]: error: no compatible GIC node found
[  303.619405] kvm [1]: error initializing Hyp mode: -19

I am unable to find the root cause of this issue. Please can anyone help me with this.

Cheers,

--
Julien Grall

Thanks,
Chaitanya 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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