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

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



I am not sure what the problem is. I would compared your partition table
with a standard Linux distro UEFI image [1] to see if there are any
important differences. Checkout the UEFI spec [2] section 13.3.1 onward
to read the details of the partitions and filesystem requirements.

[1] 
https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
[2] 
http://www.uefi.org/sites/default/files/resources/UEFI%20Spec%202_7_A%20Sept%206.pdf#G17.1019485

On Tue, 29 May 2018, Chaitanya Deshpande wrote:
> Hi Stefano,
> 
> I have created W95 FAT32 partition as my first partition (Bootable) but still 
> I unable to see fs0: in the list.
> 
> Please find attached copy of the screen shot with this Email.
> 
> Please can you help me.
> 
> Thanks,
> Chaitanya
> 
> On Tue, May 29, 2018 at 1:06 PM, Stefano Stabellini <sstabellini@xxxxxxxxxx> 
> wrote:
>       FS0: is mapped to the first partition on your disk, that needs to be
>       formatted with the FAT filesystem. Do you have a FAT partition on your
>       disk?
> 
>       On Tue, 29 May 2018, Chaitanya Deshpande wrote:
>       > Hi Stefano, Julien,
>       > I am able to solve that problem. Now the problem I am facing is my 
> qemu is unable to find file system from EFI.
>       >
>       > Please find attached copy with this Email.
>       >
>       > No fs0: in mapping table. (Only BLK0: and BLK1:)
>       >
>       > Thanks,
>       > Chaitanya
>       >
>       > 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)?
>       >
>       >
>       >
>       >             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?
>       >
>       >
>       >             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?
>       >
>       >             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
>       >
>       >
>       >
>       >
> 
> 
> 
> 
_______________________________________________
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®.