Re: Questions about ACRN's dependency and Other Linux Distro Supports
Hi Geoffroy.
I'm little bit confused now. Two things need to be clear. 1. SOS kernel image file - What kernel image should I use? with ACRN Hypervisor v0.3 - org.clearlinux.pk414-sos.4.14.57-69 or org.clearlinux.iot-lts2018-sos.4.19.0-19 ? 2. SOS kernel image location - According to the guide page(https://projectacrn.github.io/latest/tutorials/using_ubuntu_as_sos.html) The SOS kernel copies to '/boot/acrn/', sudo cp ~/kernel-build/usr/lib/kernel/org.clearlinux.pk414-sos.4.14.57-69 /boot/acrn/ but in the '/etc/grub.d/40_cutom file says 'linux /EFI/org.clearlinux/kernel-org.clearlinux.pk414-sos.4.14.57-69' - Is this ok? For me, it looks like two different partitions, '/boot/acrn/' is /dev/sda3, and '/EFI/org.clearlinux/' is /dev/sda1. Thanks Taekyoung Kim
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Questions about ACRN's dependency and Other Linux Distro Supports
Are you sure you have the kernel in the right place, your grub entry indicated: /boot/acrn/org.clearlinux.pk414-sos.4.14.74-115 but the kernel is usually placed in a different folder (and under a slightly different name), e.g. /EFI/org.clearlinux/kernel-org.clearlinux.pk414-sos.4.14.57-69
From: acrn-users@... [mailto:acrn-users@...]
On Behalf Of tk.kim@...
Hi.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Questions about ACRN's dependency and Other Linux Distro Supports
tk.kim@...
Hi.
I had changed SOS kernel image to org.clearlinux.iot-lts2018-sos.4.19.0-19. and checked ACRN hypervisor is first boot option with command 'sudo efibootmgr –v'. Also, I did select “ACRN Hypervisor” using F10 key. Then select 'ACRN ubuntu SOS' in the grub menu. However, the same issue happens. (black screen and reboot) Is there anything I'm missing something or doing wrong, please let me know. Thanks Taekyoung Kim
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ACRN Project Technical Community Meeting Minutes - 11/21/2018
ACRN Project TCM - 21st November 2018
Location
Agenda
Q: What about virtualization of timers like HPET? which VM will use TSC and which will use HPET?
A: We don't support HPET by now, even under current sharing mode. RT vm can access lapic timer directly since lapic is pass-thru.
Q: Does the Apolllake support CAT?
A: Yes, L2 cache CAT is supported.
Marketing/Events
Resources
=================================
Best regards.
Hongbo
Tel: +86-21-6116 7445
MP: +86-1364 1793 689
Mail: hongbo.wang@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Questions about ACRN's dependency and Other Linux Distro Supports
Yang, Ailin
The normal boot flow is: EFI BIOS-> acrn.efi->grub->SOS kernel -> user land “ACRN ubuntu SOS appeared in boot list” doesn’t mean the grub must be loaded by acrn.efi. This is why I asked you to check #1 point to make sure you first boot stage is correct.
By the way, you need to change org.clearlinux.pk414-sos.4.14.74-115 to org.clearlinux.iot-lts2018-sos.4.19.0-19 We have update kernel to 4.19 already if you are using ACRN v0.3 or latest.
Thanks Ailin From: acrn-users@... [mailto:acrn-users@...]
On Behalf Of tk.kim@...
Hello, Yang. 1, is your acrn.efi loaded by EFI firmware correctly? You can run “ sudo efibootmgr –v” to check if the “ACRN Hypervisor” is first boot option, Also you can enter the EFI firmware at boot (using F10) to select “ACRN Hypervisor” -> [TK] ACRN ubuntu SOS appeared in boot list, but after selecting it, my hardware didn't show anything and rebooted in few seconds. because of that I couldn't go further step 2 or 3 as you mentioned. I think knowing which component or options are dependent on device would be helpful to porting ACRN hypervisor and Service OS
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Questions about ACRN's dependency and Other Linux Distro Supports
tk.kim@...
Hello, Yang. 1, is your acrn.efi loaded by EFI firmware correctly? You can run “ sudo efibootmgr –v” to check if the “ACRN Hypervisor” is first boot option, Also you can enter the EFI firmware at boot (using F10) to select “ACRN Hypervisor” -> [TK] ACRN ubuntu SOS appeared in boot list, but after selecting it, my hardware didn't show anything and rebooted in few seconds. because of that I couldn't go further step 2 or 3 as you mentioned. I think knowing which component or options are dependent on device would be helpful to porting ACRN hypervisor and Service OS
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Questions about ACRN's dependency and Other Linux Distro Supports
Yang, Ailin
Showing “Black screen” only is hard to know your issue exactly. Also NUC6i5SYH is not official supported hardware, we didn’t run test with it.
But can you check below 3 points to narrow down your issue first: 1, is your acrn.efi loaded by EFI firmware correctly? You can run “ sudo efibootmgr –v” to check if the “ACRN Hypervisor” is first boot option, Also you can enter the EFI firmware at boot (using F10) to select “ACRN Hypervisor” 2, check you SOS booted up successfully with right kernel and kernel command line? You should able to login from remote ssh Client if the OS boot up successfully 3, check if ACRN hypervisor is running properly with “$ dmesg | grep ACRN” The right output is: $ dmesg | grep ACRN [ 0.000000] Hypervisor detected: ACRN [ 1.687128] ACRNTrace: acrn_trace_init, cpu_num 4 [ 1.693129] ACRN HVLog: acrn_hvlog_init
Thanks ailin From: acrn-users@... [mailto:acrn-users@...]
On Behalf Of tk.kim@...
Hello. This is Taekyoung Kim. /etc/grub.d/40_custom menuentry 'ACRN ubuntu SOS' { recordfail insmod gzio insmod part_gpt insmod ext2 linux /boot/acrn/org.clearlinux.pk414-sos.4.14.74-115 pci_devices_ignore=(0:18:1) console=tty0 console=ttyS0 i915.nuclear_pageflip=1 root=PARTUUID=b668057b-46ff-44fb-8ba0-624550abad2b rw rootwait ignore_loglevel no_timer_check consoleblank=0 i915.tsd_init=7 i915.tsd_delay=2000 i915.domain_plane_owners=0x011111110000 i915.enable_guc_loading=0 i915.enable_guc_submission=0 i915.enable_preemption=1 i915.context_priority_mode=2 i915.enable_gvt=1 hvlog=2M@0x1FE00000 }
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Questions about ACRN's dependency and Other Linux Distro Supports
tk.kim@...
Hello. This is Taekyoung Kim.
I have same problem with booting both Clear Linux SOS and Ubuntu SOS. My machine shows black screen and reboots automatically. I have a question regarding this issue. - Is there H/W dependency in the grub command? What are they? How can I get rid of dependency to boot SOS? The environment I am using is below (Ubuntu as SOS) H/W : NUC6i5SYH Hypervisor : ACRN Hypervisor v0.3 SOS Kernel : org.clearlinux.pk414-sos.4.14.74-115 /etc/grub.d/40_custom
menuentry 'ACRN ubuntu SOS' {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
linux /boot/acrn/org.clearlinux.pk414-sos.4.14.74-115 pci_devices_ignore=(0:18:1) console=tty0 console=ttyS0 i915.nuclear_pageflip=1 root=PARTUUID=b668057b-46ff-44fb-8ba0-624550abad2b rw rootwait ignore_loglevel no_timer_check consoleblank=0 i915.tsd_init=7 i915.tsd_delay=2000 i915.domain_plane_owners=0x011111110000 i915.enable_guc_loading=0 i915.enable_guc_submission=0 i915.enable_preemption=1 i915.context_priority_mode=2 i915.enable_gvt=1 hvlog=2M@0x1FE00000
}
Any comments and thoughts would be helpful. Thanks Taekyoung Kim
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to run Celadon as a Guest OS on ACRN on NUC ?
Ming Liu
HI, Eden: Please take a look at https://github.com/liuming50/meta-acrn-manifest if you have interest, I have ported ACRN+Celadon to Yocto, so you can build and deploy a Celadon Android image within a yocto based SOS image. At runtime, you can load a Celandon guest with:
but it probably has runtime issues to load it, but I think it could be a good practice for build/deployment. //Ming Liu Chai Eden <hntcy@...> 於 2018年11月19日 週一 上午2:31寫道:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: 答复: [acrn-users] How to run Celadon as a Guest OS on ACRN on NUC ?
Chai Eden <hntcy@...>
Thanks Hongbo. Any update, pls let me known.
Best Regards,
Eden Chai
发件人: acrn-users@... <acrn-users@...> 代表 Wang, Hongbo <hongbo.wang@...>
发送时间: 2018年11月19日 9:19 收件人: acrn-users@... 主题: Re: [acrn-users] How to run Celadon as a Guest OS on ACRN on NUC ? We’re still working on a setup guide now because Celadon and ACRN has kernel update to 4.19.
From:
acrn-users@... [mailto:acrn-users@...] On Behalf Of
Chai Eden
Hi , Anyone could help tell me how to run Celadon as a Guest OS on ACRN on NUC ?
Best Regards, Eden
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to run Celadon as a Guest OS on ACRN on NUC ?
We’re still working on a setup guide now because Celadon and ACRN has kernel update to 4.19.
From: acrn-users@...
[mailto:acrn-users@...] On Behalf Of Chai Eden
Hi , Anyone could help tell me how to run Celadon as a Guest OS on ACRN on NUC ?
Best Regards, Eden
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
How to run Celadon as a Guest OS on ACRN on NUC ?
hntcy@...
Hi , Anyone could help tell me how to run Celadon as a Guest OS on ACRN on NUC ?
Best Regards,
Eden
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ACRN Project Technical Community Meeting Minutes - 11/14/2108
Meeting Minutes Archive: https://drive.google.com/drive/u/2/folders/1_XTGu6re3BOQAjtPx636Mz1T5lOy2UWC
ACRN Project TCM - 14th November 2018
Location
Agenda
1. ACRN project update
ACRN v0.3 released!
2. Wang, Yu: ACRN Vhost Implementation
Download foil from ACRN Presentation->ACRN_TCM->WW46’18
Marketing/Events
Resources
===========================
Best regards.
Hongbo
Tel: +86-21-6116 7445
MP: +86-1364 1793 689
Mail: hongbo.wang@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[Announce] ACRN ver0.3 Release Notes
Hi all,
We are pleased to announce version 0.3 release of ACRN. You can see the Release Notes in the website https://projectacrn.github.io/latest/release_notes.html.
To learn more about ACRN: ACRN is a flexible, lightweight reference hypervisor, built with real-time and safety-criticality in mind, optimized to streamline embedded development through an open source platform. Check out the ACRN project portal (https://projectacrn.org/) for more information.
Best regards. Hongbo Tel: +86-21-6116 7445 MP: +86-1364 1793 689 Mail: hongbo.wang@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ACRN Project Technical Community Meeting Minutes - 11/07/2018
ACRN Project TCM - 7th November 2018
Location
Agenda
TCM meeting new time for winter time: 11AM (China), 7PM (Santa Clara), 3AM (London)
Download foil from ACRN
Presentation->ACRN_TCM->WW45’18.
3. All: Community open discussion.
4. Next meeting agenda proposal:
Marketing/Events
1. 2019 Embedded World Exhibition & Conference
a) Feb. 26-28, 2019
b) CFP deadline: Aug. 31, 2018
c) Nuremberg, Germany
Resources
a) Portal: https://projectacrn.org
b) Source code: https://github.com/projectacrn
c) email: info@...g
d) Technical Mailing list: acrn-dev@...g
a) Apollo Lake (SoC) UP2 (with serial port): AAEON
UPS-APLC2-A10-0232
b) Apollo Lake (SoC) NUC (without serial port): NUC6CAYHL
(at least 8G memory)
c) Kabylake (Core) NUC (with serial port): NUC7i5BNH
Best regards.
Hongbo
Tel: +86-21-6116 7445
MP: +86-1364 1793 689
Mail: hongbo.wang@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ACRN Project Technical Community Meeting Minutes - 10/31/2018
Location
If Dial in: +1 877 369 0926 (Toll Free)
Agenda
11AM (China), 9PM (Santa Clara), 6AM (London)
Download foil from ACRN
Presentation->ACRN_TCM->WW44’18.
Q: What’s the difference b/w DMA address and HPA address? A: In Guest, guest driver use GPA as DMA target address. DMA Remapping unit will translate the GPA to HPA, so that the device can
access the memory directly.
Q: Why x86 devices can't access any memory address rather than only DMA addresses? A: Not sure if understand the question correctly. DMA is the feature of computer systems that allows devices
to access main system memory independent of the CPU.
Q: Will all the devices under one host bridge will be collectively assigned to a single VM? A: No. The case when a group of devices needs to be collectively assigned to a single domain, is
that when these devices may have the same source-id (BDF) in the DMA requests.
If they share the same source id, DMA remapping hardware can’t uniquely identify the source of the requests. So they need to be assigned collectively.
Q: What is iommu group? devices of same group can only be passthrough to one domain. A: The same answer as the previous question.
Q: what should I do when I want pass though an device using DMA to VM. need modify bios? guest OS driver?
A: First, need to make sure that VT-d feature has been enabled in BIOS.
No need to modify guest OS driver. On ACRN, you can follow the steps to pass-through a PCI device (USB host controller) to a VM.
Q: When Guest OS issues an DMA request, How ACRN processes it, what is the detail sequence?
A: The DMA requests are initiated in guest OS by device driver.
If the device has been passed-through to a VM. The DMA operations can be completed without the intervention of hypervisor. The DMA Remapping Unit will do the DMA address translation from GPA to HPA automatically. Hypervisor is invoked only when guest software accesses protected resources that will impact system functionality and isolation (such as PCI configuration space accesses, interrupt management, etc.). Q: IS VT-d enabled for graphics in ACRN? A: When GVT-g (, which enables graphics sharing b/t multiple VM) is used as the graphics solution, the IOMMU for graphics device is not enabled in ACRN.
By default, GVT-g is enabled, so by default, IOMMU for graphics device is not enabled by default.
3. All: Community open discussion.
4. Next meeting agenda proposal:
Marketing/Events
Resources
Kabylake (Core) NUC (with serial port): NUC7i5BNH
Best regards.
Hongbo
Tel: +86-21-6116 7445
MP: +86-1364 1793 689
Mail: hongbo.wang@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: ACRN hypervisor message: VMX ctrl 0x48b not fully enabled: request 0x18b but get 0x8b
Chen, Jason CJ
Hi, Joe,
Thanks for the update, we will also check from our end.
Thanks & Best Regards,
Jason Chen
SSG -> OTC -> Intel Auto Hypervisor Team
From: acrn-users@... [mailto:acrn-users@...]
On Behalf Of joebovin@...
Hi Jason,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: ACRN hypervisor message: VMX ctrl 0x48b not fully enabled: request 0x18b but get 0x8b
joebovin@...
Hi Jason,
Eventually I found out the culprit: After removing CONFIG_SERIAL_8250_PNP=y from kernel_config_uefi_sos I have the expected behavior. Thanks, Joe
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: ACRN hypervisor message: VMX ctrl 0x48b not fully enabled: request 0x18b but get 0x8b
joebovin@...
On Mon, Oct 29, 2018 at 08:26 PM, Chen, Jason CJ wrote:
Your information make me a little confuse, if we enabled irq auto detection, either the port could detect the real irq as 6, or the port could not detect the irq, then irq will be set to 0.Hi Jason, Ok... then something doesn't work here and I'm also confused :) I will dig into it. Thanks, Joe
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: ACRN hypervisor message: VMX ctrl 0x48b not fully enabled: request 0x18b but get 0x8b
Chen, Jason CJ
From: acrn-users@... [mailto:acrn-users@...]
On Behalf Of joebovin@...
On Mon, Oct 29, 2018 at 06:46 PM, Chen, Jason CJ wrote:
Hi Jason, Hi, Joe,
Your information make me a little confuse, if we enabled irq auto detection, either the port could detect the real irq as 6, or the port could not detect the irq, then irq will be set to 0.
Thanks,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|