All of lore.kernel.org
 help / color / mirror / Atom feed
* Query for running Xen on ARM
@ 2018-05-27 17:48 Chaitanya Deshpande
  2018-05-29 14:35 ` Julien Grall
  0 siblings, 1 reply; 10+ messages in thread
From: Chaitanya Deshpande @ 2018-05-27 17:48 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1717 bytes --]

Hi,



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


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



error: no such device: root.

Press any key to continue...
EFI stub: Booting Linux Kernel...
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.



Thanks,

Chaitanya

[-- Attachment #1.2: Type: text/html, Size: 6201 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-27 17:48 Query for running Xen on ARM Chaitanya Deshpande
@ 2018-05-29 14:35 ` Julien Grall
  2018-05-29 14:44   ` Chaitanya Deshpande
  2018-05-29 15:54   ` Chaitanya Deshpande
  0 siblings, 2 replies; 10+ messages in thread
From: Julien Grall @ 2018-05-29 14:35 UTC (permalink / raw)
  To: Chaitanya Deshpande, xen-devel, Stefano Stabellini

(+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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-29 14:35 ` Julien Grall
@ 2018-05-29 14:44   ` Chaitanya Deshpande
  2018-05-29 20:06     ` Stefano Stabellini
  2018-05-29 15:54   ` Chaitanya Deshpande
  1 sibling, 1 reply; 10+ messages in thread
From: Chaitanya Deshpande @ 2018-05-29 14:44 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-devel, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 2687 bytes --]

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@arm.com> 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
>

[-- Attachment #1.2: Type: text/html, Size: 4731 bytes --]

[-- Attachment #2: Screenshot from 2018-05-29 00-58-45 (2).png --]
[-- Type: image/png, Size: 110297 bytes --]

[-- Attachment #3: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-29 14:35 ` Julien Grall
  2018-05-29 14:44   ` Chaitanya Deshpande
@ 2018-05-29 15:54   ` Chaitanya Deshpande
  1 sibling, 0 replies; 10+ messages in thread
From: Chaitanya Deshpande @ 2018-05-29 15:54 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-devel, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 3002 bytes --]

Thanks you so much for the pointers.

On Tue, May 29, 2018 at 7:35 AM, Julien Grall <julien.grall@arm.com> 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

[-- Attachment #1.2: Type: text/html, Size: 5024 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-29 14:44   ` Chaitanya Deshpande
@ 2018-05-29 20:06     ` Stefano Stabellini
  2018-05-30  4:50       ` Chaitanya Deshpande
  0 siblings, 1 reply; 10+ messages in thread
From: Stefano Stabellini @ 2018-05-29 20:06 UTC (permalink / raw)
  To: Chaitanya Deshpande; +Cc: xen-devel, Julien Grall, Stefano Stabellini

[-- Attachment #1: Type: TEXT/PLAIN, Size: 3164 bytes --]

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@arm.com> 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
> 
> 
> 
> 

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-29 20:06     ` Stefano Stabellini
@ 2018-05-30  4:50       ` Chaitanya Deshpande
  2018-05-30 16:18         ` Stefano Stabellini
  0 siblings, 1 reply; 10+ messages in thread
From: Chaitanya Deshpande @ 2018-05-30  4:50 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, Julien Grall


[-- Attachment #1.1: Type: text/plain, Size: 3773 bytes --]

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@kernel.org>
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@arm.com>
> 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
> >
> >
> >
> >
>

[-- Attachment #1.2: Type: text/html, Size: 5208 bytes --]

[-- Attachment #2: Qemu_UEFI.png --]
[-- Type: image/png, Size: 187933 bytes --]

[-- Attachment #3: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-30  4:50       ` Chaitanya Deshpande
@ 2018-05-30 16:18         ` Stefano Stabellini
  2018-05-30 16:44           ` Julien Grall
  2018-05-30 17:22           ` Chaitanya Deshpande
  0 siblings, 2 replies; 10+ messages in thread
From: Stefano Stabellini @ 2018-05-30 16:18 UTC (permalink / raw)
  To: Chaitanya Deshpande; +Cc: xen-devel, Julien Grall, Stefano Stabellini

[-- Attachment #1: Type: TEXT/PLAIN, Size: 4950 bytes --]

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@kernel.org> 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@arm.com> 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
>       >
>       >
>       >
>       >
> 
> 
> 
> 

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-30 16:18         ` Stefano Stabellini
@ 2018-05-30 16:44           ` Julien Grall
  2018-05-30 17:21             ` Chaitanya Deshpande
  2018-05-30 17:22           ` Chaitanya Deshpande
  1 sibling, 1 reply; 10+ messages in thread
From: Julien Grall @ 2018-05-30 16:44 UTC (permalink / raw)
  To: Stefano Stabellini, Chaitanya Deshpande; +Cc: xen-devel

Hi,

On 05/30/2018 05:18 PM, Stefano Stabellini wrote:
> 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.

I may have an idea of what's going on. Looking at the picture sent, The 
disk you show seems to be the one used by your Ubuntu running in 
VirtualBox. This seems to be confirmed by your previous e-mail where you 
mention sda1. Am I right?

You need to create that partition in the image used by QEMU. But likely 
this will already be there if you use a pre-built image (e.g ubuntu or 
else). I am assuming you were booting Linux using UEFI.

Cheers,

-- 
Julien Grall

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-30 16:44           ` Julien Grall
@ 2018-05-30 17:21             ` Chaitanya Deshpande
  0 siblings, 0 replies; 10+ messages in thread
From: Chaitanya Deshpande @ 2018-05-30 17:21 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-devel, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 1386 bytes --]

On Wed, May 30, 2018 at 9:44 AM, Julien Grall <julien.grall@arm.com> wrote:

> Hi,
>
> On 05/30/2018 05:18 PM, Stefano Stabellini wrote:
>
>> 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.
>>
>
> I may have an idea of what's going on. Looking at the picture sent, The
> disk you show seems to be the one used by your Ubuntu running in
> VirtualBox. This seems to be confirmed by your previous e-mail where you
> mention sda1. Am I right?
>
>    Chaitanya - Yes you are absolutely right. I have Virtualbox on which I
am running Ubuntu.  And I have sda1 disk (bootable) which is FAT32
   (1st partition for mapping fs0:).



> You need to create that partition in the image used by QEMU. But likely
> this will already be there if you use a pre-built image (e.g ubuntu or
> else). I am assuming you were booting Linux using UEFI.
>

  Chaitanya: I able to boot Linux through UEFI because I have root =
rootfs.cpio which I created from buildroot. And in config file of Linux I
have put INITRAMFS =        "rootfs.cpio" . So do you want me to give
root=/dev/sda1 while booting Linux on qemu?

>
> Cheers,
>
> --
> Julien Grall
>

Thanks,
Chaitanya

[-- Attachment #1.2: Type: text/html, Size: 2353 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Query for running Xen on ARM
  2018-05-30 16:18         ` Stefano Stabellini
  2018-05-30 16:44           ` Julien Grall
@ 2018-05-30 17:22           ` Chaitanya Deshpande
  1 sibling, 0 replies; 10+ messages in thread
From: Chaitanya Deshpande @ 2018-05-30 17:22 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, Julien Grall


[-- Attachment #1.1: Type: text/plain, Size: 5321 bytes --]

Hi Stefano,

Sure. I will look into those documents. Thanks a lot.

Chaitanya

On Wed, May 30, 2018 at 9:18 AM, Stefano Stabellini <sstabellini@kernel.org>
wrote:

> 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@kernel.org> 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@arm.com> 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
> >       >
> >       >
> >       >
> >       >
> >
> >
> >
> >
>

[-- Attachment #1.2: Type: text/html, Size: 7752 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-05-30 17:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-27 17:48 Query for running Xen on ARM Chaitanya Deshpande
2018-05-29 14:35 ` Julien Grall
2018-05-29 14:44   ` Chaitanya Deshpande
2018-05-29 20:06     ` Stefano Stabellini
2018-05-30  4:50       ` Chaitanya Deshpande
2018-05-30 16:18         ` Stefano Stabellini
2018-05-30 16:44           ` Julien Grall
2018-05-30 17:21             ` Chaitanya Deshpande
2018-05-30 17:22           ` Chaitanya Deshpande
2018-05-29 15:54   ` Chaitanya Deshpande

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.